agentleFS
EmbeddedLLMEmbeddedLLM/nice-skills/skills/mcp-builder/SKILL.md

mcp-builder

Skill0 starsChanged 32 days agoMITView on GitHub

Design, implement, and verify Model Context Protocol servers in Python or TypeScript, including tool contracts, pagination, errors, and transport behavior. Use when exposing a local resource or authorized service to an MCP client.

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.

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.
  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    Also in 8 projects that use this

  • ComposioHQSkill

    codebase-migrate

    Run large codebase migrations and multi-file refactors. Uses the Composio CLI to coordinate issue tracking, batched PRs, and CI verification while the agent executes the transforms locally across hundreds of files.

    Also in 5 projects that use this

  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 6 projects that use this

  • mrgoonieSkill

    aesthetic

    Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

    Also in 6 projects that use this

  • AnthropicSkill

    academy-guide

    Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

    Also in 11 projects that use this

  • +2 more from Leodorareluctant259

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep stdio diagnostics on stderr and protocol traffic on stdout.

    line 29
  2. Distinctive:

    Check that the tools can complete realistic tasks with known answers, not merely return success.

    line 38

“Common” is measured: kept by at least 6 in 10 of the 172 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MCP builder

Build against the project's chosen SDK and the resource the user wants exposed. A local server and protocol client suffice for verification; no model-provider subscription or paid evaluation service is required.

Define the contract

Inspect installed SDK types/examples and the matching specification before selecting APIs. When online access is available, use the official specification, Python SDK, or TypeScript SDK. If offline, use versioned local documentation and disclose unresolved compatibility questions.

Identify realistic tasks, required operations, inputs, outputs, and failures. Prefer stdio for a local subprocess; use a supported HTTP transport when remote access is required. Do not mirror an entire service API without a use case. Any external service needs its own credentials, network access, and authorization; choose local fixtures for tests.

Choose the smallest sufficient implementation

Separate the required operations and preserved contracts from the proposed design. Apply YAGNI: implement tools for current tasks, not every endpoint or a speculative plugin system. Reuse existing project code, then standard-library facilities, native SDK/platform features, and installed dependencies before adding a new layer. Validate uncertain SDK behavior with the installed version or a focused local experiment. Add persistence, caching, retries, or orchestration only for a demonstrated need; preserve required authorization and consistency guarantees.

Before adding complexity for a speculative or vanishingly unlikely race or security edge case, explain the concrete failure mode, evidence for its likelihood (or uncertainty), implementation and maintenance cost, and simpler alternative. Get user buy-in for that scope expansion unless existing approval already covers the trade-off. Do not silently add theoretical robustness, weaken required controls, or delay an already-authorized fix for a demonstrated defect.

Implement

  • Name tools by their action and explain when each applies. Validate bounds, enumerations, identifiers, and omitted/null semantics.
  • Return useful structured results and a concise summary. Paginate/filter large outputs with explicit continuation state.
  • Share authentication, timeouts, transport handling, and error translation. Distinguish invalid input, missing records, permission errors, rate limits, and service outages.
  • Set behavior annotations accurately, including read-only, destructive, and idempotent properties. Annotations do not enforce access control.
  • Keep stdio diagnostics on stderr and protocol traffic on stdout. Do not expose secrets in logs or errors.
  • Pin dependencies and commit the applicable lockfile in the destination project. Preserve its existing stack.

Verify and deliver

Type-check or compile where applicable. Use an SDK client or a locally installed, pinned MCP Inspector to test initialization, discovery, schemas, calls, and shutdown. Cover empty results, invalid inputs, pagination, and representative failures. Exercise writes only on authorized disposable fixtures.

Derive tests from the required operations and contracts, not the chosen implementation. Fix root causes and add regression coverage for reproduced failures. After tests pass, review the diff for duplicated validation, unnecessary adapters, and unused options; consolidate only genuinely shared behavior and preserve ordering, errors, and public interfaces.

Check that the tools can complete realistic tasks with known answers, not merely return success. Deliver source, run/configuration instructions, dependencies, and actual test outcomes. Separate protocol verification from model-based evaluation and name untested clients.

Example: “Expose a local reference directory with search and read tools.” Test allowed files, missing files, pagination, and attempts to escape the directory; return actionable errors without exposing arbitrary filesystem content.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.