MCP servers from config file do not show up in settings
"Global config" contains:
{
// ...
"mcpServers": {
"clojure": {
"args": [
"-Tmcp",
"start",
":config-profile",
":cli-assist"
],
"command": "/nix/store/z69d2ilxlbh4cvgwdkx7hyhwxgmkb95f-clojure-1.12.4.1629/bin/clojure",
"env": {}
}
},
// ...
}
But "MCPs" claims that "No MCP servers configured yet":
I believe that my config matches the documented example in structure:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"],
// optional
"env": {"FOO": "bar"}
}
}
}
If the clojure MCP server not being shown stems from some problem with my configuration, it would be nice to still see the MCP server listed, but with a hint that there is a problem with it. Or if MCP servers from the "global config" are not configurable in settings, it would be nice to still see the MCP server listed, but the edit options greyed out.
yeah, if there is UI improvements, we can do them, but let's first understand what's happening, can you check the stderr logs first? I don't see why the MCP server would not be listed there
I found a corner case where the server could start and UI looks outdated only in intellij, I fixed on latest release, LMK if that still happens to you!
yeah, if there is UI improvements, we can do them, but let's first understand what's happening, can you check the stderr logs first? I don't see why the MCP server would not be listed there
Logs:
[server] Starting server...
[DB] No existing DB cache found for REDACTED/.cache/eca/db.transit.json
:db/read-cache 0ms
:db/read-cache 0ms
[DB] Loading from workspace-cache caches...
:eca/initialize 2ms
:eca/initialized 0ms
👤📤 -->MCP:Request [8693ae9a-7b71-4dd0-bdfd-d68ad78bf2ae] initialize
[MODELS] Provider 'google': /models endpoint returned status 400
[MODELS] Provider 'google': Using models.dev provider-id fallback (url 'https://generativelanguage.googleapis.com/v1beta/openai' not matched)
[MODELS] Provider 'google': Loaded 38 models from models.dev
[MODELS] Provider 'mistral': /models endpoint returned status 401
[MODELS] Provider 'mistral': Using models.dev provider-id fallback (url 'https://api.mistral.ai/v1' not matched)
[MODELS] Provider 'mistral': Loaded 28 models from models.dev
[MODELS] Provider 'openai': /models endpoint returned status 401
[MODELS] Provider 'openai': Using models.dev provider-id fallback (url 'https://api.openai.com' not matched)
[MODELS] Provider 'openai': Loaded 52 models from models.dev
[MODELS] Provider 'anthropic': /models endpoint returned status 401
[MODELS] Provider 'anthropic': Using models.dev provider-id fallback (url 'https://api.anthropic.com' not matched)
[MODELS] Provider 'anthropic': Loaded 23 models from models.dev
[MODELS] Provider 'github-copilot': /models endpoint returned status 400
[MODELS] Provider 'github-copilot': Loaded 19 models from models.dev
[MODELS] Fetched model catalogs from 5 providers in 345.6ms
[LLM-API] Default LLM model 'mistral/codestral-latest' decision ':first-available-model'
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/tools/list_changed"}
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/tools/list_changed"}
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/tools/list_changed"}
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/tools/list_changed"}
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/tools/list_changed"}
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/tools/list_changed"}
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/tools/list_changed"}
👤📩 MCP Notification {:jsonrpc "2.0", :method "notifications/resources/list_changed"}
👤📤 MCP Notification {:method "notifications/initialized", :params {}, :jsonrpc "2.0"}
👤📤 -->MCP:Request [b8c611a5-0f49-4587-88a0-84fed7f67b55] tools/list
👤📤 -->MCP:Request [696e4b0f-8dba-4896-917d-033884a10b90] prompts/list
👤📤 -->MCP:Request [167caa26-5274-45cc-87f3-5df3be713b96] resources/list
[MCP] Started MCP server clojure
:eca/chat-query-context 104ms
The issue is fixed, MCPs from the global config now also show up:
Thanks!