mcp-server-scaffold
Scaffold and govern an MCP server as a bounded tool seam.
Skill by jpantsjoha
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jpantsjoha-mcp-server-scaffold
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, devops, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mcp-server-scaffold
What's inside
- Skill name
mcp-server-scaffold- Description
- Scaffold and govern an MCP server as a bounded tool seam. Defines which tools the agent may call, enforces the principle that agents call tools and tools call infrastructure. Trigger when adding or reviewing an MCP server in an agent system.
- License
- Apache-2.0
- Instructions
- 64 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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. 7. **Document the scope boundary** — in the MCP server's README or SKILL.md, explicitly state what the server does NOT expose and why. Scope boundaries that are not documented drift. 8. **Run the Adversarial Gate** — common MCP failure modes: overly broad tool descriptions that invite misuse, missing input validation that allows prompt injection via tool arguments, write tools with no confirmation step, no rate limiting on expensive operations. ## Outputs - Tool manifest (one entry per tool) - MCP server skeleton with input validation and structured error responses - Refusal surface test cases - Scope boundary documentation ## Guardrails - **No raw database access through an MCP tool.** Tools call repositories or services; repositories call databases. - **Tool descriptions are part of the attack surface.** Vague descriptions invite misuse by the agent. Be precise. - **No secrets in tool outputs.** If a tool must return an identifier, return the identifier — not the credential. - **Scope creep is the default failure mode.** When in doubt, add a new tool rather than broadening an existing one.
From jpantsjoha/ai-native-developer-experience, Apache-2.0.
More from jpantsjoha/ai-native-developer-experience
- 0.641score
using-the-harness
jpantsjoha
Session-start orientation for this team harness.
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
cloud-expert
jpantsjoha
Cloud guardrails for any vendor workload — Google Cloud (GCP, Vertex AI, GKE), AWS (IAM, EKS, Bedrock), Azure (Entra ID, Policy, AKS), Alibaba Cloud (RAM…
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
operating-model-bootstrap
jpantsjoha
Bootstrap or harden a project's operating model for mixed human and AI delivery teams.
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
pr-reviewer
jpantsjoha
Review gate for correctness, reuse, and simplification.
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
cloud-checkup
jpantsjoha
Read-only SRE checkup of any GCP project: deterministic probes of the edge, Cloud Run services, 7-day error logs, Cloud Scheduler, alert policies and uptime…
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
system-performance-guardrail
jpantsjoha
Measure, root-cause, fix, verify and record performance contention on a developer machine: cloud-sync daemons (iCloud Drive, OneDrive, Dropbox, Google Drive)…
SkillAFreshness: A★ 13Claude Code +9 - 0.638score
cost-guardrail
jpantsjoha
LLM and cloud cost awareness — model tiering, token budgets, right-sizing, and when a cheaper model suffices.
SkillAFreshness: A★ 13Claude Code +9 - 0.636score
frontend-performance-audit
jpantsjoha
Measure real frontend performance — Core Web Vitals (LCP, CLS, INP), page-load traces, CPU and network throttling, Lighthouse accessibility/SEO scores, and…
SkillAFreshness: A★ 13Claude Code +9 - 0.636score
get-it-done
jpantsjoha
Pursue an agreed goal to a working outcome without waiting: decompose it, re-prioritise as evidence arrives, branch, gate, get an independent review (a…
SkillAFreshness: A★ 13Claude Code +9 - 0.636score
github-manager
jpantsjoha
Use when configuring or optimising GitHub repositories for cost-effective, consistent operations — CI triggers, Actions billing, issue tracking, labelling…
SkillAFreshness: A★ 13Claude Code +9 - 0.636score
spec-first-delivery
jpantsjoha
Force plan, HLD, ADRs, and constraints to exist BEFORE any code is generated.
SkillAFreshness: A★ 13Claude Code +9 - 0.636score
sitrep
jpantsjoha
Synthesise a status, standup, or situation-report from current work state.
SkillAFreshness: A★ 13Claude Code +9
Signals
- Stars
- 13
- Forks
- 4
- Open issues
- 2
- Last commit (this folder)
- Aug 7, 2026 (2 months ago)
- Last release
- Oct 16, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Website
- jpantsjoha.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jpantsjoha
- 0.641score
system-performance-guardrail
jpantsjoha
Measure, root-cause, fix, verify and record performance contention on a developer machine: cloud-sync daemons (iCloud Drive, OneDrive, Dropbox, Google Drive)…
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
pr-reviewer
jpantsjoha
Review gate for correctness, reuse, and simplification.
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
cloud-expert
jpantsjoha
Cloud guardrails for any vendor workload — Google Cloud (GCP, Vertex AI, GKE), AWS (IAM, EKS, Bedrock), Azure (Entra ID, Policy, AKS), Alibaba Cloud (RAM…
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
operating-model-bootstrap
jpantsjoha
Bootstrap or harden a project's operating model for mixed human and AI delivery teams.
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
cloud-checkup
jpantsjoha
Read-only SRE checkup of any GCP project: deterministic probes of the edge, Cloud Run services, 7-day error logs, Cloud Scheduler, alert policies and uptime…
SkillAFreshness: A★ 13Claude Code +9 - 0.641score
using-the-harness
jpantsjoha
Session-start orientation for this team harness.
SkillAFreshness: A★ 13Claude Code +9
Cite this page
mcp-server-scaffold skill. Agent Mart. https://agentmart.dev/skills/jpantsjoha-mcp-server-scaffold (last updated 2026-10-24)