Local-first, agent-native developer tools.
One minute from install to your first MCP tool call. Assumes you’ve already configured at least one MCP server in Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, or Zed — mcpctl reuses those configs automatically.
cargo install mcpctl
# or: curl … | tar -xz (see Install)
See Install for all options.
mcpctl config sources
SOURCE EXISTS PATH
mcpctl no /Users/you/.config/mcpctl/mcp.json
claude-code yes /Users/you/.claude.json
claude-desktop yes /Users/you/Library/Application Support/Claude/claude_desktop_config.json
cursor no /Users/you/.cursor/mcp.json
windsurf no /Users/you/.codeium/windsurf/mcp_config.json
gemini no /Users/you/.gemini/settings.json
zed no /Users/you/Library/Application Support/Zed/settings.json
mcpctl server list
SERVER SOURCE TRANSPORT
cortex claude-code stdio: cortex mcp
github claude-desktop stdio: npx -y @modelcontextprotocol/server-github
Get tools + prompts + resources in a single handshake — the most efficient way for an agent to build a capability map:
mcpctl introspect cortex --json
Or list tools only:
mcpctl tool list cortex
create_nodes Batch create nodes with optional dependency edges…
get_node_context Get a node with its dependency subgraph…
list_nodes List nodes by type and/or status filter.
…
mcpctl cortex/list_projects
# or, with the explicit scheme:
mcpctl mcp://cortex/list_projects
Pass arguments:
mcpctl github/search_repos --arg query=rust --arg limit=5
# or a full JSON object
mcpctl github/search_repos --args-json '{"query":"rust","limit":5}'
Machine-readable output with --json:
mcpctl --json cortex/list_projects \
| jq '.content[0].text' -r
Developing a server locally? Register it in mcpctl’s own config once and you’re done — no agent restart needed between rebuilds.
mcpctl server add my-dev \
--command /path/to/target/debug/my-mcp-server \
--env DEBUG=1
Then iterate:
cargo build # rebuild your server
mcpctl tool list my-dev # hits the fresh binary
mcpctl my-dev/some_tool --arg k=v # test the tool
Remove when done:
mcpctl server remove my-dev
stdio handshake
failed, look here.