MetaMCP Admin MCP
Enables AI agents to administer MetaMCP instances by managing servers, namespaces, endpoints, and API keys across multiple deployments. Supports full CRUD operations, bulk server imports, cross-instance cloning, and granular tool management through MetaMCP's tRPC API.
README
MetaMCP Admin MCP
An MCP server for administering MetaMCP instances — manage servers, namespaces, endpoints, and API keys across multiple MetaMCP deployments from any MCP client.
This is not the MetaMCP proxy (which aggregates tools). This is an admin tool that lets AI agents manage MetaMCP itself: add/remove servers, create namespaces, toggle tools, compare instances, and more.
Features
- Multi-instance: Manage multiple MetaMCP deployments from a single MCP server
- Full CRUD: Create, read, update, delete servers, namespaces, endpoints, and API keys
- Bulk import: Import servers in Claude Desktop JSON format
- Cross-instance ops: Compare servers across instances, clone server configs between instances
- Health checks: Verify connectivity to all instances
- Tool management: Inspect tools per server, toggle tools/servers within namespaces
Available Tools (22)
| Tool | Description |
|---|---|
list_instances |
List all configured MetaMCP instances |
health_check |
Check connectivity to all instances |
compare_instances |
Compare servers/namespaces/endpoints across instances |
list_servers |
List all MCP servers on an instance |
get_server |
Get server details by UUID |
create_server |
Create a new MCP server |
update_server |
Update an existing server |
delete_server |
Delete a server |
bulk_import_servers |
Import servers from Claude Desktop JSON format |
clone_server |
Copy a server config from one instance to another |
list_namespaces |
List all namespaces |
get_namespace |
Get namespace details with servers |
create_namespace |
Create a new namespace |
update_namespace |
Update a namespace |
delete_namespace |
Delete a namespace |
get_namespace_tools |
List tools in a namespace |
toggle_server_in_namespace |
Enable/disable a server in a namespace |
toggle_tool_in_namespace |
Enable/disable a specific tool in a namespace |
list_endpoints |
List all endpoints |
get_endpoint |
Get endpoint details |
create_endpoint |
Create a new endpoint |
delete_endpoint |
Delete an endpoint |
list_api_keys |
List all API keys |
create_api_key |
Create a new API key |
delete_api_key |
Delete an API key |
get_server_tools |
List tools for a specific server |
Installation
npm install -g metamcp-admin-mcp
Or clone and build:
git clone https://github.com/danielrosehill/metamcp-admin-mcp.git
cd metamcp-admin-mcp
npm install
npm run build
Configuration
Single instance
export METAMCP_BASE_URL="http://localhost:12008"
export METAMCP_INSTANCE_NAME="desktop" # optional
export METAMCP_SESSION_COOKIE="better-auth.session_token=..." # from browser
Multiple instances
export METAMCP_INSTANCES='[
{
"name": "desktop",
"baseUrl": "http://localhost:12008",
"sessionCookie": "better-auth.session_token=..."
},
{
"name": "vm",
"baseUrl": "https://mcp.example.com",
"sessionCookie": "better-auth.session_token=..."
}
]'
Getting the session cookie
MetaMCP uses Better Auth for session management. To get your session cookie:
- Open MetaMCP in your browser
- Open DevTools (F12) → Application → Cookies
- Copy the
better-auth.session_tokenvalue - Use it as
sessionCookiein config (prefix withbetter-auth.session_token=)
Claude Desktop / Claude Code config
{
"mcpServers": {
"metamcp-admin": {
"command": "node",
"args": ["/path/to/metamcp-admin-mcp/dist/index.js"],
"env": {
"METAMCP_INSTANCES": "[{\"name\":\"desktop\",\"baseUrl\":\"http://localhost:12008\",\"sessionCookie\":\"better-auth.session_token=...\"}]"
}
}
}
}
How it works
MetaMCP exposes a tRPC API for its admin frontend. This MCP server acts as a tRPC client, calling those same endpoints with session cookie authentication. This means you get the same capabilities as the MetaMCP web UI, but accessible from any MCP client.
API Coverage
Built against the MetaMCP tRPC API:
frontend.mcpServers.*— Full CRUD + bulk importfrontend.namespaces.*— Full CRUD + tool/server status managementfrontend.endpoints.*— Full CRUDfrontend.apiKeys.*— Create, list, deletefrontend.tools.*— Query by server
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.