Add an MCP Server to Claude Desktop

To register a MCP Server in Claude Desktop, click on Settings, click the Developer, and click Edit Config

Enter your MCP Server in the claude_desktop_config.json configuration file. The following example shows an MCP Server packaged as a FAT jar which uses STDIO transport.

{
  "mcpServers": {
    "diskspace": {
      "command": "java",
      "args": ["-jar", "/Users/sdelamo/bin/diskspace-0.1-all.jar"]
    }
  }
}

Tags: #mcp #idea #copilot