add-mcp-tool
Skill2 starsChanged 2 days agoMITView on GitHub
Exposes an existing read or propose operation to outside AI clients as a tool of binference mcp, with its texts, tests and the bundled binference-tools skill. Use when an MCP client needs to read or propose something it cannot reach yet.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- noahljungberg/switchboardtheir own version, first seen Nov 22, 2026
- janusson/MSMCPtheir own version, first seen Oct 25, 2026
- skillist-io/skillisttheir own version, first seen Oct 11, 2026
- james5101/jobtracktheir own version, first seen Oct 11, 2026
- Locker-Room-Tools/synapsetheir own version, first seen Oct 11, 2026
- letehaha/moneymattertheir own version, first seen Oct 11, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- openfootmanager/openfootmanager★ 1.2ksame name
- letehaha/moneymatter★ 271same name
- dylanroscover/Embody★ 225same name
- tacticlaunch/mcp-linear★ 151same name
- radimsem/remindb★ 129same name
- paulieb89/property-shared★ 20same name
- plumbkit/plumb★ 4same name
- james5101/jobtrack★ 2same name
- janusson/MSMCP★ 1same name
- Locker-Room-Tools/synapse★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-chainSkill
- add-migrationSkill
- add-protocol-operationSkill
- add-venueSkill
- clean-diffSkill
- debug-failureSkill
- handle-security-reportSkill
- releaseSkill
- review-diffSkill
- review-money-pathSkill
- review-testsSkill
- run-testsSkill
- shape-commitSkill
- speed-up-testsSkill
- test-telegramSkill
- tune-ciSkill
- vet-releaseSkill
- write-adrSkill
- binference-toolsSkill
- copy-tradingSkill
- dca-planSkill
- meme-huntingSkill
- safe-swapSkill
- token-due-diligenceSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 1 is distinctive, and 6 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Add { name, operation } to mcpTools in packages/protocol/src/mcp/mcp-tools.ts.
- Very specific: line 29
Add the pair to the expected list in mcp-tools.test.ts.
- Very specific: line 33
Add the title and description to toolTexts in packages/mcp/src/tools/tool-texts.ts.
- Distinctive: line 43
Never ask for a key, a seed phrase or a token, and never tell the model to move funds on its own.
- Very specific: line 50
Add the tool to the table in section 11 of docs/specs/protocol.md and to the tool list in packages/mcp/README.md.
- Very specific: line 52
Update skills/binference-tools/SKILL.md, the skill MCP clients load, where the new tool changes how a client works.
- Very specific: line 60
Add a call of the new tool to packages/cli/src/skill-run/skill-run-engine.test.ts, the recorded run's engine, and assert its answer.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add an MCP tool
binference mcp gives outside AI clients a token with read and propose only. A tool maps one
to one onto a protocol operation: it is a row in a table, never code of its own. No tool can
confirm, deny, loosen or change a setting, and the owner taps every trade in Telegram or the
console.
1. The operation exists first
- The operation's scope is
readorpropose. If it does not exist yet, add it withadd-protocol-operationin an earlier commit. - A test in
packages/protocol/src/mcp/mcp-tools.test.tsfails on a tool whose operation needs any other scope. Never widen the MCP token's scopes to make a tool fit.
2. The row
- Add
{ name, operation }tomcpToolsinpackages/protocol/src/mcp/mcp-tools.ts. A tool that opens a card (a propose operation) also setstakesRequestId: true, so a client's retry returns the first intent instead of a second card. - The name is
binference_and a snake_case noun phrase a model reads at a glance (binference_token_search). Its words come fromdocs/GLOSSARY.md. - The order matters to a model: tools that find ids (
binference_agents,binference_token_search) come first, then reads, then proposals. - Add the pair to the expected list in
mcp-tools.test.ts.
3. The texts
Add the title and description to toolTexts in packages/mcp/src/tools/tool-texts.ts. They stay
English: a model reads them.
- Say what the tool returns, when to call it, and what to do with the answer, in a few plain sentences.
- Name the ids it takes and where to get them, and reuse the protocol's
toolSentences(units,ids,waits), which the agent's tools share, instead of new wording for amounts, ids and confirmations. - Tell the model what never to do: write an id itself, pick for the owner when a match is ambiguous, treat a proposal as done.
- Never ask for a key, a seed phrase or a token, and never tell the model to move funds on its own.
The input schema comes from the operation's args through describeOperations; never write one by
hand.
4. Docs and the bundled skill
- Add the tool to the table in section 11 of
docs/specs/protocol.mdand to the tool list inpackages/mcp/README.md. - Update
skills/binference-tools/SKILL.md, the skill MCP clients load, where the new tool changes how a client works.packages/cli/src/skills/tools-skill.test.tsrunslintSkillfrom@binference/plugin-sdkover it, which fails a sentence that asks for a secret.
5. Test
- The MCP server's tests in
packages/mcp/src/list every row ofmcpTools; the stdio test insrc/e2e/serve-stdio.test.tscounts them from the table. - Add a call of the new tool to
packages/cli/src/skill-run/skill-run-engine.test.ts, the recorded run's engine, and assert its answer. pnpm skill:runrecords a real client proposing a paper swap with the bundled skill. Run it when the tool changes how that swap is found or proposed; it needs the client's own login and the network.
pnpm vitest run packages/protocol/src/mcp packages/mcp packages/cli/src/skill-run \
packages/cli/src/skills --maxWorkers=26. Report
The tool, its operation and scope, the texts, the skill's changed lines and the tests.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

