MCP Commands
Manage MCP server configurations within your 1MCP instance.
These commands allow you to discover, install, configure, and manage the lifecycle of MCP servers through both manual configuration and the 1MCP registry.
For a detailed guide on server management, including registry-based installation and best practices, please see the Server Management Guide.
Configure installed backends
setup
Configure CodeGraph, Code Review Graph, or Serena with a maintained example:
1mcp mcp setup --known codegraphRegistry Commands
install
Generate backend configuration from registry metadata. Use the interactive wizard to select a server.
1mcp mcp install --interactiveuninstall
Remove server configuration, creating a backup before the write by default.
1mcp mcp uninstall filesystemsearch
Search the MCP registry for available servers.
1mcp mcp search databaseManual Configuration Commands
add
Manually add a new MCP server to the configuration.
1mcp mcp add my-server --type=stdio -- node server.jsremove
Remove an MCP server from the configuration.
1mcp mcp remove my-serverupdate
Update an existing MCP server's configuration.
1mcp mcp update my-server --tags=prodenable / disable
Enable or disable an MCP server without removing it.
1mcp mcp disable my-serverlist
List all configured MCP servers.
1mcp mcp list --tags=prodstatus
Check the status and details of configured servers.
1mcp mcp status my-servertokens
Estimate MCP token usage for server capabilities by connecting to servers and analyzing their tools, resources, and prompts.
1mcp mcp tokens --model=gpt-3.5-turbo --format=summarytools
List, disable, and re-enable individual tools for a configured server without disabling the entire server.
1mcp mcp tools list filesystem --disabled
1mcp mcp tools disable filesystem write_fileRuntime Operations
restart
Restart a static backend or one or more active instances of a template backend in the running aggregated runtime.
1mcp mcp restart my-serverSee Also
- Server Management Guide
- Registry Commands - Server discovery and installation
- App Consolidation Guide
