add-mcp-tool
Skill146 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.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- dragoscv/axiomtheir own version, first seen Sep 21, 2026
- dylanroscover/Embodytheir own version, first seen Sep 5, 2026
- dabowman/Figmagenttheir own version, first seen Sep 4, 2026
- plumbkit/plumbtheir own version, first seen Aug 12, 2026
- paulieb89/property-sharedtheir own version, first seen May 3, 2026
- radimsem/remindbtheir own version, first seen May 1, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- dylanroscover/Embody★ 185same name
- radimsem/remindb★ 129same name
- paulieb89/property-shared★ 16same name
- plumbkit/plumb★ 4same name
- dabowman/Figmagent★ 0same name
- dragoscv/axiom★ 0same name
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 6 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 6 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.

