
Model Context Protocol MCP manager
Model Context Protocol MCP manager
Or: How I Learned to Stop Worrying and Love the JSON-RPC
"The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it." - Terry Pratchett
In the grand tradition of the Unseen University's library system (though with considerably fewer orangutans), MCPM brings order to the chaos of MCP servers. Think of it as your very own Hex, but instead of ants and magical thinking engines, it uses TypeScript and good old-fashioned process management.
MCPM acts as a highly trained Igor between your AI assistant (be it Claude, Cursor, or some other thaumaturgical entity) and the various MCP servers lurking in the depths of your system. It:
mcpm.log, because as any good wizard knows, you always write it downFirst, you'll need to acquire the necessary components. No dried frog pills required, just:
git clone https://github.com/jsnanigans/mcpm.git
cd mcpm
npm install # Gathering the ingredients
npm run build # The actual transmutation
npm link # Binding the spell to your systemNow, create your grimoire (configuration file):
cp mcpm.config.example.json mcpm.config.jsonEdit this file with the care you'd give to inscribing protective runes. One misplaced comma and BAM! - you're debugging instead of doing useful work.
Your mcpm.config.json should look something like this:
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your-token-here"
},
"tools": {
"allow": ["create_issue", "search_issues", "create_comment"]
}
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/rincewind/spells"],
"logging": true
}
}
}Each server entry is like a page in the Octavo - handle with care:
command: The incantation to summon the serverargs: Additional mystical parametersenv: Environmental conditions (like phase of the moon, but for computers)tools.allow: Which tools the server is permitted to wield (very important - you wouldn't give a student wizard access to the really dangerous spells)logging: Whether to record this server's utterances for posteritymcpm --server github --agent cursor --enable-loggingThis summons the GitHub server, tells it that Cursor is the one asking, and records everything that happens (because you're prudent like that).
mcpm server listShows all configured servers, like reviewing your spell collection.
mcpm edit githubLaunches an interactive tool selector. It's like having a conversation with a particularly helpful gargoyle about which tools you trust this server to use.
mcpm configReveals the location of your configuration file, in case you've forgotten where you put it (happens to the best of us).
mcpm log tail # Watch all logs
mcpm log tail -s github # Watch logs for a specific serverAdd this to your Cursor settings.json, and it'll know how to summon MCPM:
{
"mcpServers": {
"github": {
"command": "mcpm",
"args": ["--server=github", "--agent=cursor"]
},
"filesystem": {
"command": "mcpm",
"args": ["--server=filesystem", "--agent=cursor"]
}
}
}┌─────────┐ ┌──────┐ ┌─────────────┐
│ Cursor │ <-----> │ MCPM │ <-----> │ MCP Server │
└─────────┘ └──────┘ └─────────────┘
^ | ^
| v |
| Tool Filter |
| | |
| v |
+------------- Logging -----------------+MCPM sits in the middle like a particularly clever golem, intercepting messages, filtering tools based on your configuration, and keeping detailed records of who said what to whom.
MCPM_ENABLE_LOGGING=true - Enable logging globally (for when you really need to know what's happening)The tool filtering system works like the Assassins' Guild pricing structure - very selective:
"tools": {
"allow": ["tool1", "tool2", "tool3"]
}Or if you prefer the old ways:
"tools": {
"allow": "tool1 tool2 tool3"
}Your server key doesn't exist. Run mcpm server list to see what you've actually got.
which <command>mcpm log tail -s <server-name>The tool filter might be too restrictive. Use mcpm edit <server> to adjust.
In the words of the great philosopher Ly Tin Wheedle, "Complexity is just simplicity waiting to be discovered." MCPM takes the complexity of managing multiple MCP servers and makes it as simple as a conversation with Death (straightforward, no nonsense, gets the job done).
Found a bug? Want to add a feature? The guild doors are open. Just remember:
MIT - which means you can do almost anything with it, except claim you wrote it when you didn't. That would be like claiming you invented the sandwich. Someone always did it first.
"Real stupidity beats artificial intelligence every time." - Terry Pratchett
But with MCPM, at least your MCP servers will be managed intelligently.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add github -- npx -y @modelcontextprotocol/server-github{
"mcpServers": {
"github": {
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
},
"args": [
"-y",
"@modelcontextprotocol/server-github"
],
"command": "npx"
}
}
}code --add-mcp '{"name":"github","env":{"GITHUB_PERSONAL_ACCESS_TOKEN":""},"args":["-y","@modelcontextprotocol/server-github"],"command":"npx"}'[mcp_servers.github]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-github"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/mcpm to learn what the "Mcpm" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server runs locally, so we can't read its tool list over the web yet.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/mcpm)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "mcpm" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.