MCP Hub
Back to servers

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.

glama
Stars
1
Updated
Apr 5, 2026
Validated
Apr 21, 2026

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)

ToolDescription
list_instancesList all configured MetaMCP instances
health_checkCheck connectivity to all instances
compare_instancesCompare servers/namespaces/endpoints across instances
list_serversList all MCP servers on an instance
get_serverGet server details by UUID
create_serverCreate a new MCP server
update_serverUpdate an existing server
delete_serverDelete a server
bulk_import_serversImport servers from Claude Desktop JSON format
clone_serverCopy a server config from one instance to another
list_namespacesList all namespaces
get_namespaceGet namespace details with servers
create_namespaceCreate a new namespace
update_namespaceUpdate a namespace
delete_namespaceDelete a namespace
get_namespace_toolsList tools in a namespace
toggle_server_in_namespaceEnable/disable a server in a namespace
toggle_tool_in_namespaceEnable/disable a specific tool in a namespace
list_endpointsList all endpoints
get_endpointGet endpoint details
create_endpointCreate a new endpoint
delete_endpointDelete an endpoint
list_api_keysList all API keys
create_api_keyCreate a new API key
delete_api_keyDelete an API key
get_server_toolsList 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:

  1. Open MetaMCP in your browser
  2. Open DevTools (F12) → Application → Cookies
  3. Copy the better-auth.session_token value
  4. Use it as sessionCookie in config (prefix with better-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 import
  • frontend.namespaces.* — Full CRUD + tool/server status management
  • frontend.endpoints.* — Full CRUD
  • frontend.apiKeys.* — Create, list, delete
  • frontend.tools.* — Query by server

License

MIT

Reviews

No reviews yet

Sign in to write a review