@n0zer0d4y/vulcan-file-ops 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/index.js +4 -2
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
3
3
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
|
-
import { CallToolRequestSchema, ListToolsRequestSchema, InitializeRequestSchema, PingRequestSchema, RootsListChangedNotificationSchema,
|
|
4
|
+
import { CallToolRequestSchema, ListToolsRequestSchema, InitializeRequestSchema, PingRequestSchema, RootsListChangedNotificationSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
5
5
|
import fs from "fs/promises";
|
|
6
6
|
import path from "path";
|
|
7
7
|
import dotenv from "dotenv";
|
|
@@ -390,7 +390,9 @@ const server = new Server({
|
|
|
390
390
|
server.setRequestHandler(InitializeRequestSchema, async (request) => {
|
|
391
391
|
const clientCapabilities = request.params.capabilities;
|
|
392
392
|
return {
|
|
393
|
-
|
|
393
|
+
// CRITICAL: Return the protocol version the CLIENT requested, not LATEST
|
|
394
|
+
// Claude Desktop only supports 2025-06-18 and will disconnect if we return 2025-11-25
|
|
395
|
+
protocolVersion: request.params.protocolVersion,
|
|
394
396
|
capabilities: {
|
|
395
397
|
tools: {
|
|
396
398
|
listChanged: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n0zer0d4y/vulcan-file-ops",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"mcpName": "io.github.n0zer0d4y/vulcan-file-ops",
|
|
5
5
|
"description": "MCP server for AI assistants: read, write, edit, and manage files securely on local filesystem.",
|
|
6
6
|
"license": "MIT",
|