-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Problem
There is an attempt to read the missing package.json in the published version :
npx -y @ignfab/geocontext=> unnamed-mcp-server@0.0.0
[2025-10-31T21:37:13.301Z] [WARN] Could not read package.json from project root: Error: ENOENT: no such file or directory, open '/mnt/data/workspaces/workspace_geocontext/demo-geocontext/package.json'
[2025-10-31T21:37:13.301Z] [ERROR] Couldn't find project name in package json
[2025-10-31T21:37:13.301Z] [WARN] Could not read package.json from project root: Error: ENOENT: no such file or directory, open '/mnt/data/workspaces/workspace_geocontext/demo-geocontext/package.json'
[2025-10-31T21:37:13.301Z] [INFO] Initializing MCP Server: unnamed-mcp-server@0.0.0
Resource
See https://mcp-framework.com/docs/server-configuration/#server-name-and-version :
const server = new MCPServer({
name: "my-mcp-server", // Default: package.json name or "unnamed-mcp-server"
version: "1.0.0" // Default: package.json version or "0.0.0"
});