1.6 KiB
1.6 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| d746c584-c625-4710-b2a7-bba205e2e92d | configuration | MCP servers go in ~/.claude.json, NOT ~/.claude/.mcp.json |
|
0.9 | 0.8 | 2026-03-02T02:14:27.994062+00:00 | 2026-03-02T02:14:29.458261+00:00 |
|
Claude Code MCP Server Configuration Location
Global MCP servers must be defined in ~/.claude.json under the top-level mcpServers key.
~/.claude/.mcp.json is NOT read by Claude Code for global servers. Servers placed there will silently fail to register.
Correct locations:
- Global (always-on):
~/.claude.json→mcpServerskey (cognitive-memory, gitea-mcp, n8n-mcp, tui-driver) - Project (on-demand):
<project-root>/.mcp.json→mcpServerskey
How to add a global MCP server:
- Edit
~/.claude.jsonand add to themcpServersobject, OR - Use
claude mcp add <name> -- <command> [args]
Discovered 2026-03-01
tui-driver was configured in ~/.claude/.mcp.json and silently failed to load. Moving it to ~/.claude.json fixed registration.