Plexus Guide

How to share MCP servers across Claude Code, Cursor, and Codex safely

Sharing MCP servers across AI coding tools sounds simple until each tool stores config in a different native file and some of those files contain state you should not overwrite.

Claude Code, Cursor, and Codex can all use the same MCP servers, but they do not store those server definitions in the same place. Claude Code uses a shared native config file. Cursor keeps a dedicated mcp.json. Codex keeps MCP inside config.toml. Once one tool gets the better MCP setup, manual copy-paste becomes the fragile part of the workflow.

Why manual MCP sharing breaks down

The real risk is not the server list.

The risky part is how you write the server list back. A safe setup keeps one canonical MCP source of truth, then projects it into each tool's native config without clobbering the rest of that file.

What a safer MCP sharing model looks like

That is the model Plexus uses. It imports MCP definitions from the tools already on your machine, keeps the shared copy under ~/.config/plexus/, then writes back to each agent in its own expected format. Shared configs get partial writes. Exclusive MCP files can be rendered into a dedicated file and linked back into the agent path.

Plexus architecture for sharing MCP config across AI coding tools

What to avoid

Quick start

npx -y plexus-agent-config@latest start

Open the local dashboard, let Plexus detect Claude Code, Cursor, and Codex, choose the primary source when multiple MCP lists disagree, preview the result, then sync the canonical server list back into the native files.

Related guides