Xcode 27 disabling MCP server after startup

Hello,

I’m trying to use a third-party MCP server (ICM) in Xcode 27’s new Coding Assistant.

The server appears to start correctly and shows up when I run /mcp, but as soon as an agent tries to use it, Xcode appears to rewrite my config and changes "enabled = true" to "enabled = false".

My configuration looks like this:

[mcp_servers.icm] command = "/opt/homebrew/bin/icm" args = [ "serve", "--no-embeddings", "--db", "/Users/Sam/emdash/worktrees/Castle/emdash/custom-widget-system-5dubi/.icm-xcode/memories.db" ] enabled = true

I’ve spent quite a while debugging this and found some interesting behaviour:

  • The MCP server appears when I type /mcp.
  • SQLite databases can be created and written inside the current workspace.
  • SQLite databases can also be created and written in /tmp.
  • SQLite databases outside the workspace (for example in ~/Library/Application Support) fail with readonly/open errors.
  • Ordinary file operations outside the workspace still work fine.

What I’m trying to understand is:

  1. Why is Xcode disabling the MCP server?
  2. What filesystem access should MCP servers have? Are they intentionally restricted to the workspace and /tmp?
  3. Is there a supported way to allow an MCP server to access data stored elsewhere on disk?

Has anyone else run into this?

Thanks!

Thanks for posting!

Before we continue, can you help me out with a couple quick questions:

  1. Which coding agent are you using?
  2. How did you configure this MCP server? Did you use configuration files on disk, the new plug-in UI, or something else?
Xcode 27 disabling MCP server after startup
 
 
Q