Registry

The MCP server registryarrow-up-right is a public directory of MCP servers. mcp can search it and add servers directly from it.

Searching

mcp search filesystem
[
  {
    "name": "filesystem",
    "description": "MCP server for file system operations",
    "repository": "https://github.com/anthropics/mcp-servers",
    "install": ["npx @anthropic/fs-mcp-server"]
  }
]

Search with multiple words:

mcp search "database sql"

Results include:

  • name — Server identifier (used with mcp add)

  • description — What the server does

  • repository — Source code link

  • install — How to install/run (runtime + package)

Adding from registry

What happens:

  1. Searches the registry for a server named filesystem

  2. Reads the server metadata (command, args, env vars)

  3. Generates a config entry in ~/.config/mcp/servers.json

  4. Prints which environment variables you need to set

What gets generated

For a package-based server (most common), the config looks like:

For a remote server with HTTP transport:

The registry entry determines which type is used. Packages (stdio) take priority over remotes (HTTP).

Already exists?

If you try to add a server that's already in your config:

Remove it first if you want to re-add:

Manual HTTP servers

For servers not in the registry, add them manually:

This creates a minimal HTTP entry:

Last updated

Was this helpful?