Agent skill

Building MCP Servers

by aiskillstore in aiskillstore/marketplace

Expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins.

No licenceAuto-check: notesAgent Workflows

Install Building MCP Servers

skills CLI
$ npx skills add aiskillstore/marketplace --skill building-mcp-servers -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace building-mcp-servers --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/c0ntr0lledcha0s/building-mcp-servers .claude/skills/building-mcp-servers && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
building-mcp-servers
GitHub stars
433
Token cost
~2.2k tokens
SKILL.md length
607 words
Files
7 (incl. scripts, references)
Skills in repo
1,044
Repo updated
First seen
Licence
None found

At a glance

Expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins.

  • Works in 12 steps: Stdio (Standard I/O) → SSE (Server-Sent Events) → HTTP → …
  • Wants to add external tool integrations
  • SKILL.md covers When to Use MCP vs Other…, MCP Server Types, Configuration Methods and Tool Naming Convention, plus 5 more sections
  • Runs Python scripts from its folder; calls claude and python3; reaches api.service.com; needs API_KEY and CLOUD_API_TOKEN

What it does

Building MCP Servers is an agent skill from aiskillstore/marketplace. Expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins. Auto-invokes when the user wants to add external tool integrations, configure MCP servers, set up stdio/SSE/HTTP/WebSocket connections, or needs help with MCP authentication and security. Also auto-invokes proactively when Claude is about to write MCP configuration files (.mcp.json) or add mcpServers to plugin manifests.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `references/mcp-security-guide.md`, `scripts/validate-mcp.py` and `skill-report.json`).

It sits in Agent Workflows, covering MCP servers and Realtime and WebSockets. It works with Model Context Protocol. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Wants to add external tool integrations
  • Configure MCP servers
  • Set up stdio/SSE/HTTP/WebSocket connections
  • Needs help with MCP authentication and security

Example prompts

  • “/building-mcp-servers”

Requirements

  • Python 3
  • Node.js
  • A credential in API_KEY
  • A credential in MY_API_KEY
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Glob, Bash

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Stdio (Standard I/O)
  2. SSE (Server-Sent Events)
  3. HTTP
  4. WebSocket
  5. Never Hardcode Credentials
  6. Use HTTPS/WSS Only
  7. Document Required Environment Variables
  8. Pre-allow Specific Tools
  9. Use ${CLAUDE_PLUGIN_ROOT} for Paths
  10. Determine Server Type
  11. Create Configuration
  12. Document Environment Variables

What it can do on your machine

Read from SKILL.md and the folder at commit 44923f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Glob
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • claude
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.service.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • API_KEY
    • CLOUD_API_TOKEN
    • REST_API_KEY
    • WS_TOKEN
    • SERVICE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Building MCP Servers loads about 2.2k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 107 tokens; SKILL.md has 607 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Grep, Glob, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 607 words (~2,193 tokens).

“You are an expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins. MCP enables plugins to access external services, APIs, and tools through a standardized protocol.”

— opening of SKILL.md by aiskillstore
name
building-mcp-servers
allowed-tools
Read, Write, Edit, Grep, Glob, Bash
version
1.0.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (scripts, references) in skills/c0ntr0lledcha0s/building-mcp-servers of aiskillstore/marketplace.

  • SKILL.md
  • references/mcp-security-guide.md
  • scripts/validate-mcp.py
  • skill-report.json
  • templates/mcp-config-template.json
  • templates/mcp-http-template.json
  • templates/mcp-stdio-template.json

Open the folder on GitHubat commit 44923f3

Compare with similar skills

Building MCP Servers next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Building MCP Servers compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Building MCP Servers this skillaiskillstore/marketplace433—~2.2kAutomated safety check: NotesNone
MCP Musescoreghchen99/mcp-musescore110—~1.1kAutomated safety check: PassMIT
Openai Docsaafqaq/codex-lb-enhanced1032 repos~861Automated safety check: PassApache-2.0
Agents SDKhodgef/apiker1273 repos~3kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • MCP Musescore

    ghchen99/mcp-musescore

    Use the ghchen99/mcp-musescore MCP server to inspect, navigate, compose, and edit an open MuseScore score through its QML WebSocket plugin.

    110 GitHub stars~1.1k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Openai Docs

    aafqaq/codex-lb-enhanced

    A skill your agent uses when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations (for example: Codex, Responses API, Chat Completions…

    103 GitHub starsUsed in 2 repos~861 tokens
    DevOps & CloudAuto-check passed
  • Agents SDK

    hodgef/apiker

    Build AI agents on Cloudflare Workers using the Agents SDK. An agent skill from hodgef/apiker.

    127 GitHub starsUsed in 3 repos~3k tokens
    Backend & APIsAuto-check passed
  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed

More from aiskillstore/marketplace

All 1,040 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    433 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    433 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    433 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    433 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Questions about Building MCP Servers

What does Building MCP Servers do?

Expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins. Building MCP Servers is an agent skill from aiskillstore/marketplace. Expert at integrating Model Context Protocol (MCP) servers into Claude Code plugins.

When should I use Building MCP Servers?

Building MCP Servers fits situations like: wants to add external tool integrations; configure MCP servers; set up stdio/SSE/HTTP/WebSocket connections; needs help with MCP authentication and security.

How do I install Building MCP Servers in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill building-mcp-servers -a claude-code`. Or copy the skill folder (skills/c0ntr0lledcha0s/building-mcp-servers in aiskillstore/marketplace) into .claude/skills/building-mcp-servers in your project. Claude Code loads it when a task matches its description.

How do I install Building MCP Servers in Codex?

Run `npx skills add aiskillstore/marketplace --skill building-mcp-servers -a codex`. Or copy the skill folder (skills/c0ntr0lledcha0s/building-mcp-servers in aiskillstore/marketplace) into .agents/skills/building-mcp-servers in your project. Codex loads it when a task matches its description.

Can I use Building MCP Servers in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill building-mcp-servers -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/building-mcp-servers, .gemini/skills/building-mcp-servers, .github/skills/building-mcp-servers and .opencode/skills/building-mcp-servers in your project.

What does Building MCP Servers need to run?

Going by SKILL.md and its folder, Building MCP Servers needs Python for the scripts in its folder, the command-line tools its instructions call (claude and python3) and credentials named API_KEY, CLOUD_API_TOKEN, REST_API_KEY and WS_TOKEN. Our summary lists: Python 3; Node.js; A credential in API_KEY; A credential in MY_API_KEY. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Glob, Bash.

Does Building MCP Servers access the network?

SKILL.md names 1 domain. In commands or code: api.service.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Building MCP Servers safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Building MCP Servers use?

No licence was found for Building MCP Servers or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Building MCP Servers use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Building MCP Servers?

Skills that share tags, products or a category with Building MCP Servers: MCP Musescore (ghchen99/mcp-musescore, 110 stars), Openai Docs (aafqaq/codex-lb-enhanced, 103 stars), Agents SDK (hodgef/apiker, 127 stars) and MCP Server Builder (anthropics/skills, 180k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Building MCP Servers?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 433 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 10, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.