Data as of

MCP Advisor for Claude Code: Setup & Config

Claude Code: MCP Advisor helps assistants discover MCP servers from natural-language requests and obtain installation guidance.

What you can do with MCP Advisor in Claude Code

Pick it to discover task-relevant MCP servers without knowing their names in advance.

  • Find task-specific MCP integrations from plain-language requests
  • Use optional local Meilisearch for recommendations

Before you start: MCP Advisor in Claude Code

  • npx
  • An MCP-compatible client

Stdio is the default. Local Meilisearch is optional; the README also describes SSE and REST interfaces.

MCP Advisor Claude Code configuration

  1. Choose Claude Code configuration scope

    For MCP Advisor, open Project scope: .mcp.json at the repository root. Project JSON: merge into mcpServers; user scope: use the CLI.

  2. Add MCP Advisor to Claude Code

    Use the mcpadvisor entry below in mcpServers. Keep MCP Advisor's documented stdio connection fields and your other Claude Code entries.

  3. Check MCP Advisor in Claude Code

    MCP Advisor: Inspect claude mcp list and /mcp status.

Config file · Project scope: .mcp.json at the repository root

JSON
{
  "mcpServers": {
    "mcpadvisor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xiaohui-wang/mcpadvisor"
      ],
      "env": {}
    }
  }
}

CLI (POSIX shell)
claude mcp add-json --scope project 'mcpadvisor' '{"type":"stdio","command":"npx","args":["-y","@xiaohui-wang/mcpadvisor"],"env":{}}'

MCP Advisor tools available to Claude Code

MCP Advisor's stored tool list documents 2 tools; compare it with Claude Code's connected tool list, because the stored list is not a live check.

recommend-mcp-servers

For MCP Advisor's recommend-mcp-servers, review the permission request and arguments in Claude Code before approval.

Find candidate MCP servers for a task using registry and internal search sources.

install-mcp-server

For MCP Advisor's install-mcp-server, review the permission request and arguments in Claude Code before approval.

MCP Advisor: full stored tool descriptions

Troubleshooting MCP Advisor in Claude Code

  • If MCP Advisor fails to start, check npx @xiaohui-wang/mcpadvisor (Node.js/npm), the working directory, and Claude Code's selected scope; inspect claude mcp list and /mcp.
  • MCP Advisor uses stdio here: Claude Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
  • Known limitation: Registry API connectivity can affect search results
  • Known limitation: Local Meilisearch adds a separate service to configure
  • General Claude Code troubleshooting lives in the /clients/claude-code guide.

MCP Advisor — details. Claude Code guide

Frequently asked questions

Register MCP Advisor with the displayed claude mcp add-json --scope project command, or merge the JSON into .mcp.json at the repository root.

Claude Code's mcpadvisor example uses stdio.

MCP Advisor's Claude Code configuration invokes npx @xiaohui-wang/mcpadvisor (Node.js/npm).

MCP Advisor's stored list contains 2 tools, including recommend-mcp-servers, install-mcp-server. Compare those names with Claude Code's connected tool list; the stored list is not a live check.

Yes. The README shows task descriptions being used to search for suitable MCP servers.

The supplied tool description asks for the desired MCP server and its GitHub URL to provide installation instructions.