agent-discover

Find, install and enable MCP servers in the middle of a session, on any MCP host. agent-discover is one local daemon that searches the official MCP Registry, npm and PyPI, installs a server after you approve the exact command and its provenance, and then exposes its tools to your host without a config edit or a restart. It also guards what it installs: tool definitions are pinned and a server whose tools change is quarantined, secrets live in the OS keychain, and every action is audited.
Why
Current hosts (Claude Code, Codex, the Anthropic and OpenAI APIs) have their own tool search, so agent-discover is not mainly about saving prompt tokens any more. What a host's tool search cannot do is work with a server you have not installed yet. Adding a new MCP server still means editing the host's config and restarting the session. agent-discover removes that step:
- Discover. One query searches your installed servers' tool index and the public registries (a local mirror of the official MCP Registry, plus npm and PyPI).
- Install with consent.
install_server shows you the exact command or URL, the env and header names, the pinned version and the provenance checks (registry namespace, npm mcpName, PyPI, OCI label). Nothing runs until you accept.
- Enable and disable at runtime, including servers that were installed a minute ago. Enabling indexes the server first if needed.
- Feed the host's own tool search. In
native mode (the default) every enabled server's tools are listed as <server>__<tool> and agent-discover sends notifications/tools/list_changed on each change, so the host's native tool search, permission prompts and alwaysLoad settings keep working. In proxy mode only eight meta tools are listed and everything goes through call_tool, for hosts with weak or no tool search.
- Stay in control. See Trust layer.
| Static MCP config | With agent-discover |
|---|
| Discovery | Know the server name in advance | Search the registries by need, with provenance |
| Installation | Edit config, restart the session | One tool call, you approve the exact command |
| Enablement | All configured servers always load | Enable and disable mid-session; the index stays searchable |
| Secrets | Keys in config files or env | OS keychain (or an encrypted file), injected on connect |
| Changed tools | Silent | Pinned hashes, drift quarantines the server until you approve |
| Visibility | Per-host logs | /discover pane, health, per-tool metrics, audit log, OTel |
Quick Start
Claude Code
Install the plugin. It runs the stdio shim as the MCP server, adds the find and install skills and a Claude Code mod (function hooks) with the management UI:
claude plugin marketplace add keshrath/agent-discover
claude plugin install agent-discover@agent-discover

New to the pane? The tutorial walks through it with screenshots.