MCP Hub
Back to servers

agent-discover

MCP server registry and marketplace - discover, install, activate tools on demand

Registry
Updated
Apr 1, 2026

Quick Install

npx -y agent-discover

agent-discover

License: MIT Node.js MCP Tools REST Endpoints

MCP server registry and marketplace. Discover, install, activate, and manage MCP tools on demand. Acts as a dynamic proxy -- activated servers have their tools merged into the registry's own tool list, so agents can use them without restarting.


Light ThemeDark Theme
Light modeDark mode

Why

Static MCP configs mean every server is always running, even when unused. Adding a new server requires editing config files and restarting. There is no way to browse what is available or install new tools at runtime.

Without agent-discoverWith agent-discover
DiscoveryMust know server names in advanceBrowse the official MCP registry, search by keyword
InstallationEdit config files, restart agentOne tool call installs and registers
ActivationAll servers always runningActivate/deactivate on demand, tools appear/disappear live
SecretsAPI keys in config files or envPer-server secret storage, auto-injected on activation
MonitoringNo visibility into server healthHealth checks, per-tool metrics, error counts
ManagementManual config editsDashboard + REST API for config, tags

agent-discover solves this:

  • Register MCP servers in a local SQLite database
  • Browse the official MCP registry (registry.modelcontextprotocol.io) and install with one tool call
  • Activate/deactivate servers on demand -- their tools appear and disappear dynamically
  • Proxy tool calls transparently -- activated server tools are namespaced as serverName__toolName
  • Manage secrets -- store API keys and tokens per server, automatically injected as env vars on activation
  • Monitor health -- run health checks, track health status and error counts
  • Track metrics -- per-tool call counts, error counts, and average latency recorded automatically
  • Edit config -- update server description, command, args, env, and tags via REST or dashboard
  • A web dashboard shows everything in real time at http://localhost:3424

It works with any agent that supports MCP (stdio transport) or can make HTTP requests (REST API).

Quick Start

Install from npm

npm install -g agent-discover

Or run directly with npx

npx agent-discover

Or clone from source

git clone https://github.com/keshrath/agent-discover.git
cd agent-discover
npm install
npm run build

Option 1: MCP server (for AI agents)

Add to your MCP client config (Claude Code, Cline, etc.):

{
  "mcpServers": {
    "agent-discover": {
      "command": "npx",
      "args": ["agent-discover"]
    }
  }
}

The dashboard auto-starts at http://localhost:3424 on the first MCP connection.

Option 2: Standalone server (for REST/WebSocket clients)

node dist/server.js --port 3424

MCP Tools (2)

Both tools are action-based -- a single tool handles multiple operations via the action parameter.

ToolActionsDescription
registrylist, install, uninstall, browse, statusRegistry management -- search local servers, install from registry, remove, browse marketplace, show active status
registry_serveractivate, deactivateServer lifecycle -- start/stop MCP servers on demand, tools appear/disappear dynamically

Activated servers expose their tools through agent-discover, namespaced as serverName__toolName. For example, activating a server named filesystem that exposes read_file makes it available as filesystem__read_file.


REST API (16 endpoints)

All endpoints return JSON. CORS enabled.

MethodPathDescription
GET/healthVersion, uptime
GET/api/serversList servers (?query=, ?source=, ?installed=)
GET/api/servers/:idServer details + tools
POST/api/serversRegister new server
PUT/api/servers/:idUpdate server config (description, command, args, env, tags)
DELETE/api/servers/:idUnregister (deactivates first if active)
POST/api/servers/:id/activateActivate -- start server, discover tools, begin proxying
POST/api/servers/:id/deactivateDeactivate -- stop server, remove tools
GET/api/servers/:id/secretsList secrets (masked values)
PUT/api/servers/:id/secrets/:keySet a secret (upsert)
DELETE/api/servers/:id/secrets/:keyDelete a secret
POST/api/servers/:id/healthRun health check (connect/disconnect probe)
GET/api/servers/:id/metricsPer-tool metrics for a server (call count, errors, latency)
GET/api/metricsMetrics overview across all servers
GET/api/browseProxy to official MCP registry (?query=, ?limit=, ?cursor=)
GET/api/statusActive servers summary (names, tool counts, tool lists)

Dashboard

The web dashboard auto-starts at http://localhost:3424 and provides two views:

Servers tab -- all registered servers as cards showing health dots, error counts, active/inactive status, description, tags, tools list, and expandable Secrets/Metrics/Config sections. Action buttons for activate, deactivate, health check, and delete.

Browse tab -- search the official MCP registry. Results show server name, version, description, packages, and an install button.

Real-time updates via WebSocket with 2-second database polling. Dark and light themes with persistent preference.


Testing

npm test              # Run tests
npm run check         # Full check (typecheck + lint + format + test)

Environment Variables

VariableDefaultDescription
AGENT_DISCOVER_PORT3424Dashboard HTTP port
AGENT_DISCOVER_DB~/.claude/agent-discover.dbSQLite database path

Documentation

  • User Manual -- comprehensive guide covering all tools, REST API, dashboard, and troubleshooting
  • Changelog

License

MIT -- see LICENSE

Reviews

No reviews yet

Sign in to write a review