mcp-server-scaffold

mcp-server-scaffold is a skill for Claude Code from jpantsjoha/ai-native-developer-experience. It costs 53 tokens per session (794 once invoked), scanned A, original, Apache-2.0.

A guide for designing an MCP server, a service that gives an agent a controlled list of tools to use. It defines what each tool accepts, returns, changes, and requires for access.

In plain words
What is it for?
Adding or reviewing MCP servers, choosing which capabilities an agent may use, and checking for excessive scope or security gaps.
Why use it?
It prevents an agent from receiving broader access to systems than it needs and makes the boundary easier to review.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the devex-charter plugin — 26 skills, 6 commands, 1 hook shipped together

Good fit Adding or reviewing MCP servers, choosing which capabilities an agent may use, and checking for excessive scope or security gaps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jpantsjoha/ai-native-developer-experience/mcp-server-scaffold
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jpantsjoha/ai-native-developer-experience --skill mcp-server-scaffold
Clone the repo
git clone --depth 1 https://github.com/jpantsjoha/ai-native-developer-experience

Made for: Claude Code.

Or install devex-charter, the plugin that ships this one along with the rest of its 26 skills, 6 commands, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-server-scaffold

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpantsjoha/ai-native-developer-experience/mcp-server-scaffold/github.svg)](https://agentmods.dev/skills/jpantsjoha/ai-native-developer-experience/mcp-server-scaffold)
Your own site
<a href="https://agentmods.dev/skills/jpantsjoha/ai-native-developer-experience/mcp-server-scaffold"><img src="https://agentmods.dev/badge/skills/jpantsjoha/ai-native-developer-experience/mcp-server-scaffold/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-server-scaffold

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpantsjoha/ai-native-developer-experience/mcp-server-scaffold"><img src="https://agentmods.dev/badge/skills/jpantsjoha/ai-native-developer-experience/mcp-server-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00794
Opus 5.5 $0.00021 $0.00318
Sonnet 5.5 $0.00011 $0.00159
Haiku 4.5 $0.00005 $0.00079

Measured 2mo ago against content hash 3fbfb9ab7c18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-server-scaffold scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mcp-server-scaffold/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Server Scaffold

Agents call tools. Tools call infrastructure. This boundary is the governance seam. Do not collapse it.

An MCP server is a contract between an agent and the capabilities it is allowed to use. Its value is not in what it exposes — it is in what it deliberately withholds.

When to use

  • Adding a new MCP server to an agent system
  • Reviewing an existing MCP server for scope creep or security gaps
  • Deciding which capabilities to expose to an agent (and which to explicitly deny)
  • Governing an agent that has been given "too much access"

Procedure

  1. Define the tool seam — before writing any server code, list:

    • What capabilities does the agent legitimately need?
    • What capabilities does the underlying system have that the agent must NOT access?
    • What is the minimum viable tool surface?
  2. Author the tool manifest — for each tool:

    Tool: <name>
    Description: <one sentence — what it does and when to call it>
    Input schema: <typed fields with constraints>
    Output schema: <typed fields>
    Side effects: <what it changes in the world — none / read-only / write / external-call>
    Auth required: <yes/no and mechanism>
    Rate limit: <calls/minute or none>
    
  3. Enforce least-privilege at the server — the MCP server holds the credentials and enforces the scope. The agent receives only the tool interface. Key rules:

    • Read tools and write tools are separate, explicitly named operations.
    • No tool exposes raw SQL, raw shell execution, or raw filesystem access.
    • No tool accepts arbitrary code or query strings from the agent without validation.
  4. Add input validation at the boundary — every tool validates its inputs before executing. Reject malformed inputs with a structured error, not an exception trace.

  5. Log every tool invocation — at minimum: tool name, caller identity, input summary (no secrets), output summary, timestamp, and latency. These logs are your audit trail.

  6. Test the refusal surface — confirm that:

    • A call to a non-existent tool returns a clean error, not a server crash.
    • An out-of-scope request (e.g. an agent trying to read data it is not authorised for) is rejected with a clear error.
    • Invalid inputs are rejected before any side effect occurs.

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 68 lines · 53 tokens per session scan A 3fbfb9ab7c18

Subscribe to this mod's changes

mcp-server-scaffold is a skill published in the GitHub repository jpantsjoha/ai-native-developer-experience (13 stars, last pushed 11d ago), licensed Apache-2.0. It adds 53 tokens to every session and 794 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mcp-server-scaffold compared with skills from other repositories

mcp-server-scaffold next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-server-scaffoldjpantsjoha/ai-native-developer-experienceSkill1311d agoApache-2.0A53Claude Code
diagnose-backend-bugQoderAI/better-harnessSkill2.5k9d agoMITA87Claude Code, Codex
openloomi-apimelandlabs/openloomiSkill1.0k1mo agoApache-2.0A106Claude Code
openloomi-connectorsmelandlabs/openloomiSkill1.0k1mo agoApache-2.0A113Claude Code
architectureromiluz13/cc10xSkill1671mo agoMITA56Claude Code
solo-sgrfortunto2/solo-factorySkill18yesterdayMITA71Claude Code
api-designerKshitijpalsinghtomar/depth-skillsSkill61mo agoMITA38Claude Code, Codex