MCP Server Not Loading from Project .mcp.json
Resolved 💬 2 comments Opened Oct 19, 2025 by gbarrett28 Closed Oct 19, 2025
Bug Report: MCP Server Not Loading from Project .mcp.json
Description
Claude Code is not loading an MCP server that is properly configured in the project's .mcp.json file. The command claude mcp list reports "No MCP servers configured" despite a valid configuration file existing.
Environment
- Platform: Windows (win32)
- Working Directory:
C:\Users\geoff\PycharmProjects\photo_dedup - Project: Git repository
Configuration
The .mcp.json file in the project root contains:
{
"mcpServers": {
"serena": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/oraios/serena",
"serena",
"start-mcp-server",
"--context",
"ide-assistant",
"--project",
"."
],
"env": {}
}
}
}
Steps to Reproduce
- Create a project-scoped
.mcp.jsonfile with the above configuration usingclaude mcp add --scope project serena -- uvx - Run
claude mcp list - Observe: "No MCP servers configured. Use
claude mcp addto add a server." - Start Claude Code session
- Observe: MCP server tools are not available in the session
Expected Behavior
claude mcp listshould show the configured serena server- Claude Code should load the serena MCP server on startup
- Serena tools (e.g.,
serena::get_symbol_body,serena::find_referencing_symbols) should be available
Actual Behavior
claude mcp listreports no servers configured- MCP server does not load
- No serena tools are available in Claude Code session
Verification
The MCP server command works correctly when run manually:
uvx --from git+https://github.com/oraios/serena serena start-mcp-server --context ide-assistant --project .
Additional Notes
- This configuration was working correctly a couple of hours ago
- Claude Code has been restarted multiple times
- The
.mcp.jsonfile has been recreated from scratch with identical results - The JSON configuration is valid and properly formatted
- No error messages are displayed during Claude Code startup
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗