Documentation

Learn how to discover, install, and use MCP servers with your favorite AI coding tools.

Getting Started

1. What is MCP?

The Model Context Protocol (MCP) is an open protocol that enables AI assistants to securely connect to external tools and data sources. MCP servers provide capabilities like file access, database queries, API integrations, and more.

2. Install the CLI

npm install -g @mcpsearch/cli

3. Search for packages

mcp search filesystem

4. Install a package

mcp install @modelcontextprotocol/server-filesystem

The CLI will auto-detect your AI tool (Claude Code, Cursor, etc.) and configure it automatically.

5. Restart your AI tool

Restart Claude Code, Cursor, or your AI tool of choice to load the new MCP servers.

Manual Configuration

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "servers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
    }
  }
}

VS Code / Continue.dev

Add to ~/.continue/config.json:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
    }
  }
}

Need Help?

Check out the MCP specification or join the community for support.