A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
List MCP Server configurations in your system used by AI applications like Cursor, Claude Desktop, VS Code and others
Detect Configured MCP (Model Context Protocol) in your local dev environment
npx ls-mcp
To analyze specific MCP configuration files instead of using automatic discovery, use the --files flag. This flag replaces automatic discovery and only analyzes the files you specify:
# Single file
npx ls-mcp --files ./mcp-config.json
# Multiple files (comma-separated)
npx ls-mcp --files ./config1.json,./config2.json
# Multiple files (space-separated)
npx ls-mcp --files ./config1.json ./config2.json
The --files flag automatically detects the configuration structure in your files, supporting various formats including:
servers - Standard MCP configuration keymcpServers - Alternative MCP configuration keymcp.servers - Nested configuration formatcontext_servers - Context-based configuration formatBy default, ls-mcp hides providers that have zero configured servers to reduce clutter. To show all providers including those with empty configurations, use the --all or -a flag:
# Show all providers including empty ones
npx ls-mcp --all
# Short form
npx ls-mcp -a
# Combine with JSON output
npx ls-mcp --all --json
Note: When using --files to analyze specific configuration files, the custom group is always shown even if it contains zero servers, as you explicitly requested to analyze those files.
To output results in JSON format (useful for programmatic consumption):
npx ls-mcp --json
# Combine with --files flag
npx ls-mcp --files ./config.json --json
This will return a structured JSON object containing:
mcpFiles: Complete MCP server configurations organized by provider (only includes providers with configured servers unless --all is specified)summary: Statistics including total servers, running servers, credential warnings, and transport breakdownTo enable verbose debugging output, set the NODE_DEBUG environment variable:
# Enable debug logging for ls-mcp
NODE_DEBUG=ls-mcp npx ls-mcp
# Enable all debug logging
NODE_DEBUG=* npx ls-mcp
For detailed information about the project architecture and features:
--files flagPlease consult CONTRIBUTING for guidelines on contributing to this project.
ls-mcp © Liran Tal, Released under the Apache-2.0 License.
干净、强大、属于你的 AI Agent 平台 --AI agents, without the clutter.
Pocket Flow: Codebase to Tutorial
A Comprehensive Benchmark to Evaluate LLMs as Agents (ICLR'24)
npx CLI installing 100+ agents, commands, hooks, and integrations in one command