|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > Internet and Network > MCP. - MCP (Model-Context Protocol) server operations > MCP Server Integration in RooCode |
Why your current file is rejected
Your screenshot shows two server entries under "mcpServers": "memory" and "SPR-Server". The "SPR-Server" block is syntactically and structurally fine for a remote server using the Streamable HTTP transport ("type": "streamable-http" + "url"). The problem is the "memory" server: it defines only "alwaysAllow" but **no** process to launch (missing the required "command" for STDIO transport). RooCode expects at least "command" for local (STDIO) servers; with that missing, the configuration is considered invalid and the UI shows “Invalid MCP settings JSON format.” :contentReference[oaicite:0]{index=0}
Fix it by either (A) removing the incomplete "memory" block, (B) adding a proper STDIO definition with "command" (and optional "args", "cwd", "env"), or (C) temporarily set "disabled": true on that server **and** still provide a valid structure if you keep it. :contentReference[oaicite:1]{index=1}