add-mcp-tool
Skill0 starsChanged 42 days agoMITView on GitHub
Add or change a tool on switchboard's agent MCP server or the ops MCP server, keeping the trust boundary in the core and the docs in sync.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- bInference-Lab/bInferencetheir own version, first seen Nov 29, 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
Used with
Projects with it also use release.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
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
- bInference-Lab/bInference★ 2same name
- james5101/jobtrack★ 2same name
- janusson/MSMCP★ 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 repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- change-principleSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Put the rule in the core, not the tool.
- Distinctive: line 13
Write the test first in the component's test file: one test that uses the tool as intended and one that tries to get around the rule it …
- Very specific: line 15
If the tool name is listed in a test (e.g.
- Very specific: line 16
Update the component doc's Public API (docs/design/<component>.md) and, for agent tools, the clients/*/AGENTS-snippet.md if agents need to …
“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
- Decide who calls it. Personal agents →
src/agent-mcp.ts. The ops engine →src/ops-mcp.ts(M3). - Put the rule in the core, not the tool. Agent tools call a method on
AgentSession(src/core.ts) or take the authenticatedAgent(src/windows.ts). The tool body is one line.agent-mcp.tsmay only callcore.forAgent/authenticate/audit/unread(npm run check:archenforces it). - Refuse with
SwitchboardError(code, message); the message tells the agent what to do instead. - Write the test first in the component's test file: one test that uses the tool as intended and one that tries to get around the rule it guards.
- If the tool name is listed in a test (e.g. the tool list in
test/agent-mcp.test.ts), update it. - Update the component doc's Public API (
docs/design/<component>.md) and, for agent tools, theclients/*/AGENTS-snippet.mdif agents need to know when to call it. npm run check. Paste the output in the PR.
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.

