Skip to main content
Glama

๐Ÿชฉ DiscoMCP

Your agent, meet your tools and context.

Teach any AI agent how you use the tools it connects to โ€” safely, in one command.

CI Release License

Agents are great at code. They get lost inside your tools โ€” they don't know which of a hundred actions matter, how your data connects, or what's safe to touch. So they guess, or they freeze.

DiscoMCP fixes that. Point it at any MCP server and it hands your agent a skill for how you use it โ€” not a generic tool list, but your workflows on your data: the views, tables and records you actually work with, the sequences that answer your real questions, and how one result leads into the next. Learned by looking at your own workspace, and without ever changing a thing.

A tool catalogue tells an agent the server has 90 actions. DiscoMCP tells it the five you actually use, in the order you use them, against the data that's really there.

Why teams use it

๐ŸŽฏ Tailored to how you work

Not a generic capability dump โ€” a profile of your usage: your workflows, your conventions, the parts of your workspace that matter, grounded in what's really in your data.

๐Ÿงญ Agents that know their way around

Your agent follows the sequences that answer real questions and chains one result into the next, instead of guessing across a hundred tools.

๐Ÿ”’ Read-only, guaranteed

Exploring can never write. It runs a step only when it can prove that step is a read. Nothing is deleted or modified while it learns.

โšก One command, zero setup

A single 8 MB binary. No runtime, no toolchain โ€” npx and you're running.

Related MCP server: Agent Delegation MCP

Read-only, guaranteed

This is the part that lets you actually turn an agent loose on a real system.

DiscoMCP explores behind a default-deny gate: it runs an action only when it can prove that action is a read. A safe lookup runs. Anything that could write, change, or delete โ€” even if a tool claims it's harmless โ€” is refused. Secrets are stripped from everything it saves.

So your agent can learn your production tools without you holding your breath.

Does it help?

Same question, same server, same model โ€” with and without the generated skill. Read-only, against a genuinely wide, unfamiliar server. n=2 per row.

Task

Cold (no skill)

With skill

Tokens

Targeted lookup

~12 round-trips

~5

โˆ’28%

Cross-dataset reasoning

~10 round-trips

~6

โˆ’44%

Full pipeline trace

~10โ€“13 round-trips

~3

โˆ’57%

The harder and less familiar the task, the more it helps: the skill front-loads the map a cold agent has to rediscover by trial. Both reach correct answers โ€” the skill reaches them in far fewer round-trips.

Small sample, directional โ€” not a guarantee. On a trivial task or a narrow server the skill's own prompt cost can wash out what it saves; the durable win is fewer round-trips and steadier behavior on complex servers. Full method in benchmarks/METRICS.md.

Get started

1. Run it โ€” no install needed:

npx @ieranama/discomcp --help

2. Point it at a server โ€” the whole config is a few lines:

[targets.example]
transport = "stdio"
command = "npx"
args = ["-y", "some-mcp-server"]

3. Hand it to your agent and let it explore:

discomcp serve --config ./discomcp.toml

Your agent does the exploring; DiscoMCP keeps it safe and writes the skill. The result lands in .discomcp/profiles/<server>/SKILL.md โ€” ready to drop into your agent.

Under the hood

Built in Rust: the model does the thinking, a small deterministic core enforces every safety check. Every claim in a generated skill is tagged with how it was known โ€” declared, documented, observed, or inferred โ€” so an agent never mistakes a guess for a fact.

License

Licensed under either of Apache License, Version 2.0 or MIT License at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in DiscoMCP by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
1Releases (12mo)
Commit activity

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ieranama/discomcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server