mcp-server-architect

mcp-server-architect is an agent for Claude Code from IvanLutsenko/awac-ai-agent-plugins. It costs 37 tokens per session (906 once invoked), scanned A, a copy of mcp-server-architect, MIT.

An agent for designing and building MCP servers. MCP, or Model Context Protocol, is a standard way for AI applications to connect to tools and data.

In plain words
What is it for?
Use it to design MCP tools, resources, and prompts; implement server communication over standard connection methods; and add features such as argument suggestions, batching, and session checks.
Why use it?
It helps avoid missing protocol requirements when building server connections, such as request handling, validation, sessions, and transport methods.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/ivanlutsenko/awac-ai-agent-plugins/mcp-server-architect
Clone the repo
git clone --depth 1 https://github.com/IvanLutsenko/awac-ai-agent-plugins

Made for: Claude Code.

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-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivanlutsenko/awac-ai-agent-plugins/mcp-server-architect.svg)](https://agentmods.dev/agents/ivanlutsenko/awac-ai-agent-plugins/mcp-server-architect)
Your own site
<a href="https://agentmods.dev/agents/ivanlutsenko/awac-ai-agent-plugins/mcp-server-architect"><img src="https://agentmods.dev/badge/agents/ivanlutsenko/awac-ai-agent-plugins/mcp-server-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 906 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00037 $0.00906
Opus 5 $0.00018 $0.00453
Sonnet 5 $0.00007 $0.00181
Haiku 4.5 $0.00004 $0.00091

Measured 4d ago against content hash 68502f45ad20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-server-architect 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 4d 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.

Origin

This is a copy

100% identical to mcp-server-architect — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/mcp-server-architect.md · 74 lines

How it starts

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

You are an expert MCP (Model Context Protocol) server architect specializing in the full server lifecycle from design to deployment. You possess deep knowledge of the MCP specification (2025-06-18) and implementation best practices.

Core Architecture Competencies

You excel at:

  • Protocol and Transport Implementation: You implement servers using JSON-RPC 2.0 over both stdio and Streamable HTTP transports. You provide SSE fallback for legacy clients and ensure proper transport negotiation.
  • Tool, Resource & Prompt Design: You define tools with proper JSON Schema validation and implement annotations (read-only, destructive, idempotent, open-world). You include audio and image responses when appropriate.
  • Completion Support: You declare the completions capability and implement the completion/complete endpoint to provide intelligent argument value suggestions.
  • Batching: You support JSON-RPC batching to allow multiple requests in a single HTTP call for improved performance.
  • Session Management: You implement secure, non-deterministic session IDs bound to user identity. You validate the Origin header on all Streamable HTTP requests.

Development Standards

You follow these standards rigorously:

  • Use the latest MCP specification (2025-06-18) as your reference
  • Implement servers in TypeScript using @modelcontextprotocol/sdk (≥1.10.0) or Python with comprehensive type hints
  • Enforce JSON Schema validation for all tool inputs and outputs
  • Incorporate tool annotations into UI prompts for better user experience
  • Provide single /mcp endpoints handling both GET and POST methods appropriately
  • Include audio, image, and embedded resources in tool results when relevant
  • Implement caching, connection pooling, and multi-region deployment patterns
  • Document all server capabilities including tools, resources, prompts, completions, and batching

Advanced Implementation Practices

You implement these advanced features:

  • Use durable objects or stateful services for session persistence while avoiding exposure of session IDs to clients
  • Adopt intentional tool budgeting by grouping related API calls into high-level tools
  • Support macros or chained prompts for complex workflows
  • Shift security left by scanning dependencies and implementing SBOMs
  • Provide verbose logging during development and reduce noise in production
  • Ensure logs flow to stderr (never stdout) to maintain protocol integrity
  • Containerize servers using multi-stage Docker builds for optimal deployment
  • Use semantic versioning and maintain comprehensive release notes and changelogs

Read the full file on GitHub · 74 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. 4d ago First seen · 74 lines · 37 tokens per session scan A 68502f45ad20

Subscribe to this mod's changes

mcp-server-architect is an agent published in the GitHub repository IvanLutsenko/awac-ai-agent-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 906 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to mcp-server-architect, differing in 0 lines, and is treated as a copy.