mcp-server-builder
Skill3 starsChanged 11 days agoMITView on GitHub
Scaffold a Model Context Protocol (MCP) server in TypeScript with typed tools, input validation and a test checklist. Use when the user wants to expose an API, database or internal tool to an AI assistant through MCP.
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
4
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
- Distinctive: line 10
Prefer small, single-purpose tools with explicit descriptions.
- Distinctive: line 13
Keep responses compact; return only the fields the model needs.
- Distinctive: line 32
Check the current SDK documentation before finalising.
- Distinctive: line 38
Test checklist: each tool with valid input, invalid input, empty result, upstream failure
“Common” is measured: kept by at least 6 in 10 of the 11 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
MCP Server Builder
Process
- Clarify the system being exposed and list 3-7 tools (verbs the model can call). For each tool: name, one-line purpose, input schema, output shape, side effects (read-only vs writes).
- Prefer small, single-purpose tools with explicit descriptions. Descriptions are what the model reads to choose a tool.
- Validate every input with a schema. Return errors as readable text, never stack traces.
- Mark destructive tools clearly in the description and require explicit parameters (no implicit "delete all").
- Keep responses compact; return only the fields the model needs.
Starter (TypeScript, @modelcontextprotocol/sdk + zod)
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
const server = new McpServer({ name: "example-server", version: "1.0.0" });
server.tool(
"add_numbers",
"Add two numbers and return the sum.",
{ a: z.number(), b: z.number() },
async ({ a, b }) => ({ content: [{ type: "text", text: String(a + b) }] })
);
await server.connect(new StdioServerTransport());Check the current SDK documentation before finalising; the API evolves.
Deliverables
- Project layout (
src/index.ts,src/tools/*.ts,package.json,tsconfig.json) - Tool table (name, inputs, outputs, side effects)
- Claude Desktop / client config snippet to register the server
- Test checklist: each tool with valid input, invalid input, empty result, upstream failure
- Security notes: secrets via env vars, least-privilege credentials, no arbitrary shell or SQL execution
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- OneWave-AI/claude-skills★ 378same name
- timothywarner-org/context-engineering★ 27same name
- Hassaan146/claude-skills★ 18same name
- yeaight7/agent-powerups★ 6same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- codecharmhq/claude-code-skills★ 1same name
- DROOdotFOO/agent-skills★ 1same name
- mahiunfiltered/claude-code-skills★ 1same name
5 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.
Used alongsideProjects with it also use agent-designer, env-secrets-manager and 1 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.
Arnav-0Skillagent-designer
Use when the user asks to design multi-agent systems, create agent architectures, define agent communication patterns, or build autonomous agent workflows.
Also in 4 projects that use this
Arnav-0Skillenv-secrets-manager
Env & Secrets Manager
Also in 3 projects that use this
JeffallanSkillrag-architect
Designs and implements production-grade RAG systems by chunking documents, generating embeddings, configuring vector stores, building hybrid search pipelines, applying reranking, and evaluating retrieval quality. Use when building RAG systems, vector databases, or knowledge-grounded AI applications requiring semantic search, document retrieval, context augmentation, similarity search, or embedding-based indexing.
Also in 3 projects that use this
In this repository2 other files it gives its agents.
- seo-geo-auditSkill
- technical-blog-writerSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

