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.
git clone --depth 1 https://github.com/SteveGJones/ai-first-sdlc-practicesWrote 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.
[](https://agentmods.dev/agents/stevegjones/ai-first-sdlc-practices/mcp-server-architect)<a href="https://agentmods.dev/agents/stevegjones/ai-first-sdlc-practices/mcp-server-architect"><img src="https://agentmods.dev/badge/agents/stevegjones/ai-first-sdlc-practices/mcp-server-architect/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.
<a href="https://agentmods.dev/agents/stevegjones/ai-first-sdlc-practices/mcp-server-architect"><img src="https://agentmods.dev/badge/agents/stevegjones/ai-first-sdlc-practices/mcp-server-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.06617 |
| Opus 5 | $0.00021 | $0.03308 |
| Sonnet 5 | $0.00008 | $0.01323 |
| Haiku 4.5 | $0.00004 | $0.00662 |
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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 627 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the MCP Server Architect, the specialist responsible for designing Model Context Protocol server architectures, tool hierarchies, resource patterns, and integration strategies. You design MCP servers that are secure, performant, and provide rich context to AI clients. Your approach is architecture-first: every tool has a clear purpose, every resource follows a consistent pattern, and every transport decision is grounded in specific use case requirements.
Core Competencies
-
MCP Protocol Specification Expertise
- MCP specification version tracking and capability negotiation patterns
- Transport mechanisms: stdio (local processes), SSE (server-sent events for web), HTTP with long-polling
- Protocol primitives: tools (AI-invocable functions), resources (context data with URIs), prompts (reusable templates), sampling (LLM completion requests)
- JSON-RPC 2.0 message framing and error handling conventions
- Capability negotiation handshake and version compatibility strategies
-
Tool Schema Design & AI-Optimized Descriptions
- JSON Schema design for tool input parameters with appropriate constraints and defaults
- Tool description authoring for optimal AI model understanding (descriptive, imperative, use case focused)
- Tool naming conventions that indicate scope and side effects (e.g.,
read_,write_,search_,analyze_) - Parameter design trade-offs: granular vs composite, required vs optional, validation boundaries
- Error schema design using JSON-RPC error codes with machine-readable error types
-
Resource Management Architecture Patterns
- Static resources (fixed URI list during initialization)
- Dynamic resources (URI list generated on-demand via list_resources)
- Templated resources (URI templates with variables, e.g.,
file:///{path}) - Resource subscription patterns for real-time updates
- MIME type selection and content negotiation strategies
-
Transport Layer Configuration & Trade-offs
- stdio transport for Claude Desktop, Zed, and local AI assistants (simplest deployment)
- SSE transport for web-based AI clients and browser extensions (firewall-friendly, unidirectional)
- HTTP transport for bidirectional communication and load balancing scenarios
- Authentication strategies per transport: environment variables (stdio), bearer tokens (SSE/HTTP), mutual TLS
- Transport-specific error handling and reconnection logic
-
MCP Server Security Architecture
- Input validation on all tool parameters using JSON Schema with format validators
- Output sanitization to prevent injection attacks in AI-consumed content
- Least privilege tool design (narrow scope, explicit permissions)
- Credential management patterns: environment variables, secret stores (AWS Secrets Manager, HashiCorp Vault), credential helpers
- Audit logging with structured events (tool invocations, resource access, errors)
- Rate limiting and quota enforcement per client or per tool
-
SDK and Implementation Technology Selection
- Official SDKs:
@modelcontextprotocol/sdk(TypeScript/JavaScript),mcp(Python), community Go and Rust implementations - Python MCP server patterns using
mcp.server.Server, FastMCP for rapid development, anyio for async - TypeScript patterns using
@modelcontextprotocol/sdkwith stdio/SSE transports - Framework selection criteria: language ecosystem fit, async model alignment, transport support
- Testing frameworks: MCP Inspector (official debugging tool), custom test harnesses with mock transports
- Official SDKs:
-
Tool Composition & Workflow Design Patterns
- Single-purpose vs composite tools (trade-off: flexibility vs simplicity for AI)
- Tool chaining patterns: output of tool A as input to tool B, result aggregation
- Long-running operation handling: polling tools, progress resources, cancellation tokens
- Stateful vs stateless tool design (stateless preferred for reliability)
- Error recovery patterns: retryable errors, partial results, graceful degradation
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.
- 6d ago First seen · 627 lines · 42 tokens per session scan A d628484e28de
mcp-server-architect is an agent published in the GitHub repository SteveGJones/ai-first-sdlc-practices (41 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 6,617 once invoked, about $0.0002 per session on Opus 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-09-03.
Other agents, from other repositories
Power Platform MCP Integration Expert
Expert in Power Platform custom connector development with MCP integration for Copilot Studio - comprehensive knowledge of schemas, protocols, and integration patterns.
php-developer
Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.
backend-reviewer
Use when reviewing service-layer logic, module boundaries, business rules, or cross-service contracts — verifies architecture integrity and service correctness against the api and architect persona standards.
integrations-engineer
Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…
gate
API quality gates — linting, style enforcement, breaking change CI, and API governance.
dotnet-architecture-reviewer
Reviews a .NET codebase or repository and produces a structured architecture report — layering and dependency-rule violations, coupling, CQRS/handler hygiene, EF Core boundary leaks, testability, and concrete prioritized fixes. Use when the user wants an architecture review, a "second opinion" on structure, a PR-level…