mcp-server-example

mcp-server-example

0

The project facilitates the setup of an MCP server that works with Claude and potentially other language models. It provides instructions and configuration details to run and integrate the server effectively.

Run with inspector:

npx @modelcontextprotocol/inspector node index.js

Start the server to integrate with Claude / other supporting LLMs:

node src/index.js

Setup Claude Desktop to support the server:

JSON Path:

nano ~/Library/Application\ Support/Claude/claude_desktop_config.json

JSON Config:
{
  "mcpServers": {
    "my-mcp-server": {
      "command": "node",
      "args": [
        <path to src/index.js>
      ],
      "env": {
        "NODE_OPTIONS": "--no-deprecation"
      }
    }
  }
}