add-mcp-tool
Skill151 starsChanged 7 months agoMITView on GitHub
Add or update an MCP tool in the mcp-linear repository. Use this when implementing new Linear capabilities or exposing an existing service method through the MCP surface.
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
- 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
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
- 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
- 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- inspect-linear-sdkSkill
- live-linear-smokeSkill
- mcp-pr-reviewSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Use this workflow when adding a tool to mcp-linear.
- Very specific: line 15
Check whether the capability already exists in LinearService.
- Distinctive: line 18
Add or update the tool definition with explicit required fields, enums, nullability, and numeric constraints.
- Distinctive: line 19
Add or update the handler so it validates, delegates, and logs failures.
- Very specific: line 20
Add or update the type guard in src/tools/type-guards.ts.
- Very specific: line 23
Add focused tests in src/__tests__.
- Very specific: line 24
Run npm test and npm run build.
- Distinctive: line 28
Prefer SDK methods first.
- Distinctive: line 29
If you use direct GraphQL because the SDK is stale or missing support, document why.
“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
Use this workflow when adding a tool to mcp-linear.
Goal
Implement a Linear capability end-to-end so the MCP surface, runtime behavior, and docs stay aligned.
Workflow
- Inspect the existing domain files under
src/tools/definitions,src/tools/handlers, andsrc/services/linear-service.tsto find the closest pattern. - Check whether the capability already exists in
LinearService. - Inspect
@linear/sdkbefore writing new GraphQL. - Implement or update the service method so it returns normalized plain objects.
- Add or update the tool definition with explicit required fields, enums, nullability, and numeric constraints.
- Add or update the handler so it validates, delegates, and logs failures.
- Add or update the type guard in
src/tools/type-guards.ts. - Register the tool in both index files.
- Update
TOOLS.md. - Add focused tests in
src/__tests__. - Run
npm testandnpm run build.
Project-specific reminders
- Prefer SDK methods first.
- If you use direct GraphQL because the SDK is stale or missing support, document why.
- Keep handlers thin.
- Be exact about nullable update semantics and output schema fidelity.
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.

