Development Skill

MCP Architect

From a description to a clean, secure MCP server — the right primitives, good tool schemas, runnable code.

MCPModel Context ProtocolMCP serverFastMCPTypeScriptTool schemaOAuth 2.1AI toolsAI integrationAI agents
Free
0 0 v1.0.0 Updated 21.08.2026 by skills-for-ai

SKILL.md in the open agentskills.io standard — works directly in Claude, ChatGPT/Codex, Cursor, Copilot & more.

MCP Architect is an AI skill for building Model Context Protocol (MCP) servers — it turns a description into a well-designed, secure, runnable MCP server. It designs the right primitives (tools/resources/prompts), writes correct tool schemas + annotations, picks the transport, scaffolds Python (FastMCP) or TypeScript code with clean stdout, and guides auth, testing and publishing. Deep security audit → Agent Warden.

What this skill does

  • Designs an MCP server from a description: primitives (tools/resources/prompts), a least-privilege surface
  • Writes **correct tool schemas** (JSON Schema 2020-12), descriptions, output schemas and honest annotations
  • Scaffolds runnable code for **Python (FastMCP)** or **TypeScript (SDK)** — with clean stdout
  • Picks the **transport** (stdio local / Streamable HTTP remote) and plans **OAuth 2.1** for remote servers
  • Guides **testing** (MCP Inspector) and the common failures (the stdout "disconnected" classic)
  • Generates a valid **`server.json`** and walks publishing to the official MCP Registry
  • Two defensive Node scripts: **server scaffolder** + **server.json validator** (zero dependencies)

Description

MCP Architect is a skill for building Model Context Protocol (MCP) servers — it turns a description ("let Claude query our Postgres", "wrap our API as tools") into a well-designed, secure, **runnable** MCP server. The core rule: **an MCP server is only as good as its tool schemas** — about 80% of quality. So it designs the interface first, then the code: the right **primitives** (tools, resources, prompts — only what the use-case needs), clear names, **model-readable descriptions**, constrained input schemas (JSON Schema 2020-12, object root — never a free-form `url`/`path`/`cmd` on a powerful action), structured outputs, and honest **annotations** (readOnly/destructive/idempotent/openWorld — informational hints, not a security boundary). It knows the **2026-07-28 spec** reality: a stateless core, **stdout is the JSON-RPC channel** (a single `print()` breaks the server → "disconnected", which is why all logs go to stderr), **Streamable HTTP** over the deprecated SSE transport, and that Roots/Sampling/Logging are deprecated. It picks the **transport** to match complexity: stdio for local (no auth), Streamable HTTP for remote — and then **OAuth 2.1 done right** (resource server, RFC 9728 metadata, RFC 8707 resource indicators, PKCE S256, `aud` validation, validate Origin, bind 127.0.0.1 locally). It scaffolds runnable code for **Python (FastMCP 2.x)** or **TypeScript (@modelcontextprotocol/sdk)** — with two bundled, zero-dependency Node scripts: a **server scaffolder** (correct starter with clean stdout, schema, annotations) and a **server.json validator** for the official **MCP Registry**. Testing is via the **MCP Inspector**; publishing via `server.json` + Registry. It is **verify-live** (MCP changes monthly → current spec/SDK with version), invents no API details, and is **secure by design** (least privilege, human gates) — for the deep security audit of a finished server it points to **Agent Warden**.

Examples

Tested with Claude Code

What it does not do

  • **Not a hosting/runtime** — it designs and scaffolds; running/deploying is on you
  • **Not a security auditor** — for the deep audit of a finished server (prompt injection, tool poisoning, excessive agency) → Agent Warden
  • **Invents no spec/API details** — MCP changes monthly, verify-live with a version
  • **Not classic backend/API engineering** beyond the MCP layer, and not client/agent building

Compatibility & tech

ClaudeChatGPT/CodexCursorCopilotGemini CLIWindsurfCline
Tested (internal)
3 scenarios
Recommended runtime
Claude Opus or Sonnet; with web access for verify-live against the current MCP spec/SDK APIs. The scripts need Node (no extra packages); without Node the skill produces code/metadata by hand from the references.
Modes
Design (shape the interface) · Scaffold / build (generate code) · Tool design (schema, annotations, errors) · Auth & transport · Publishing (server.json / Registry)
Inputs
description of the desired server · API / database / tool spec · existing MCP server code (to improve) · language/SDK preference (Python/TypeScript)
Output format
MCP server design (primitives + tool table) + runnable code (Python/TypeScript) + auth/transport plan + test & publishing steps
Subcategory
MCP servers & AI tool integration
License
Proprietär

Security profile

Local

Runs entirely on your machine with your own AI — no external runtime, no running costs.

Contains scripts

Contains executable code or runs actions/tools — take a quick look before using.

Network access

Accesses external sources / the network in normal use (e.g. live pages, search/data APIs).

What do these badges mean? →

What you get

  • mcp-architect-1.0.0/11 files
    • .claude-plugin/marketplace.json
    • plugins/mcp-architect/skills/mcp-architect/11 files
      • SKILL.md
      • manifest.json
      • references/7 files
        • mcp-architect-auth-transport.md
        • mcp-architect-publish.md
        • mcp-architect-python-fastmcp.md
        • mcp-architect-spec.md
        • mcp-architect-test-debug.md
        • mcp-architect-tool-design.md
        • mcp-architect-typescript-sdk.md
      • scripts/2 files
        • scaffold-mcp.mjs
        • validate-server-json.mjs
    • .agents/skills/mcp-architect/→ universal — same content (Codex, Cursor, Copilot, Gemini, Windsurf, Cline)
    • LICENSE.txt

Installation

After unlocking, you install with a single command — it auto-detects your AI tool.

Runs inClaude CodeGitHub CopilotGemini CLICursorCodex CLIWindsurfCline

Also works as a chat prompt

Method in chat

No AI tool? Paste it into Claude, ChatGPT or Gemini and use the method right away.

You get the full method. Only 2 helper script(s) that automate parts of it run once installed.

Works best when your chat has web access.

Installing is the full version — it triggers automatically, runs its scripts and loads references as needed. As a chat prompt you drive the method by hand.

Unlock to copy the ready-to-paste prompt — then in “My Skills”.

Reviews

No reviews yet – be the first.

Note

MCP evolves monthly — with web access MCP Architect verifies the current spec (modelcontextprotocol.io) and the SDK APIs live and cites the version (this skill targets the 2026-07-28 spec). It designs and scaffolds; running/deploying the server is on you. For a deep security audit of a finished server → Agent Warden. The bundled scripts need Node (no extra packages).

Changelog

  • v1.0.021.08.2026Initial release: turns a description into a clean, secure, runnable MCP (Model Context Protocol) server. Designs the primitives (tools/resources/prompts), writes correct tool schemas + annotations, picks the transport (stdio vs Streamable HTTP), scaffolds Python (FastMCP) or TypeScript (@modelcontextprotocol/sdk) code with clean stdout, plans OAuth 2.1 for remote servers, and guides testing (MCP Inspector) and publishing (server.json / official Registry). Targets the MCP 2026-07-28 spec (stateless core, SSE deprecated). Two Node scripts (server scaffolder, server.json linter), 7 references. Verify-live; deep security audit → Agent Warden.

Frequently asked questions

What does MCP Architect do?

MCP Architect is an AI skill for building Model Context Protocol (MCP) servers — it turns a description into a well-designed, secure, runnable MCP server. It designs the right primitives (tools/resources/prompts), writes correct tool schemas + annotations, picks the transport, scaffolds Python (FastMCP) or TypeScript code with clean stdout, and guides auth, testing and publishing. Deep security audit → Agent Warden.

How do I build an MCP server?

That's exactly what MCP Architect is for — you describe what the server should do, and it designs the primitives (tools/resources/prompts), writes correct tool schemas, picks the transport (stdio or Streamable HTTP) and delivers runnable Python (FastMCP) or TypeScript code plus test and publishing steps.

Python or TypeScript for my MCP server?

MCP Architect does both and recommends per context. Python with FastMCP is fastest (schema from type hints + docstring); TypeScript with the official SDK uses explicit Zod schemas. The bundled scaffolder emits a runnable starter in your chosen language.

Why does my MCP server say "disconnected"?

Almost always because something wrote to stdout that wasn't JSON-RPC — on stdio, stdout is the protocol channel. MCP Architect knows this trap and puts all logs on stderr; when in doubt it debugs with the MCP Inspector, which shows the real error.

How do I secure and publish the server?

MCP Architect builds secure-by-design (least privilege, constrained arguments, OAuth 2.1 for remote with RFC 9728/8707 and aud validation) and generates a valid server.json for the official MCP Registry. For a deep security audit of a finished server, the Agent Warden skill handles that.

Is the tool schema really that important?

Yes — roughly 80% of server quality is decided by the tool schema. MCP Architect focuses on clear names, model-readable descriptions, constrained input schemas and honest annotations so the model picks and uses the tools reliably.

Which AI tools does MCP Architect work with?

Claude · ChatGPT/Codex · Cursor · Copilot · Gemini CLI · Windsurf · Cline

How do I use MCP Architect?

MCP Architect is a SKILL.md in the open agentskills.io standard: install it with one command (npx) or download it and add it to your AI tool — Claude (Projects), ChatGPT (Custom GPT), Cursor, Copilot, Gemini CLI and more. No code needed.