mcp-server-architect
БесплатноБез исполняемых скриптовНе проверенComprehensive MCP server development guide covering FastMCP 2.14.3 features, Anthropic standards, ecosystem integration, and production deployment across all…
от sandraschi★ 21 звезда на GitHubОб этом скилле
MCP Server Architect
Overview
Master the complete MCP server development lifecycle with FastMCP 2.14.3, covering architecture design, implementation best practices, ecosystem integration, and production deployment across Claude Desktop, Cursor, Windsurf, and all agentic IDEs.
When to Use This Skill
Activate for:
- Designing MCP server architecture and tool organization
- Implementing FastMCP 2.14.3 features (sampling, cooperative patterns)
- Following Anthropic MCP standards and best practices
- Integrating with MCPB packaging and distribution
- Publishing to Glama.ai, LobeHub, and MCP marketplaces
- Supporting multiple IDEs (Claude, Cursor, Windsurf, Zed)
- Troubleshooting MCP server deployment and compatibility
Core Capabilities
🏗️ Architecture & Design
- FastMCP 2.14.3 Architecture: Latest framework features and patterns
- Tool Design Patterns: Portmanteau tools, cooperative patterns, sampling workflows
- Security & Reliability: Error handling, authentication, rate limiting
- Performance Optimization: Async patterns, connection pooling, caching
🛠️ Development Workflow
- MCPB Packaging: Build, distribution, and installation standards
- IDE Integration: Claude Desktop, Cursor, Windsurf, Zed compatibility
- Testing Strategies: Unit tests, integration tests, MCP protocol testing
- Debugging Tools: MCP Inspector, logging, error diagnostics
🌐 Ecosystem Integration
- Marketplace Publishing: Glama.ai, LobeHub, skillsmp.com submission
- Community Standards: Following established MCP patterns and conventions
- Cross-Platform Support: Windows, macOS, Linux deployment
- Version Management: Semantic versioning, backward compatibility
📊 Production Operations
- Monitoring & Observability: Health checks, metrics, logging
- Scaling Strategies: Connection handling, resource management
- Update Mechanisms: Auto-updates, migration strategies
- Support & Maintenance: User feedback, bug fixes, feature requests
Quick Start Implementation
1. Project Setup
# Initialize with FastMCP 2.14.3
pip install fastmcp>=2.14.3,<3.0.0
mcpb init my-server
cd my-server
# Standard project structure
src/my_server/
├── __init__.py
├── server.py # FastMCP server
├── tools/ # Tool implementations
├── config.py # Configuration
└── utils.py # Helper functions
tests/
docs/
pyproject.toml
2. Basic Server Implementation
from fastmcp import FastMCP
# FastMCP 2.14.3 server with sampling support
app = FastMCP(
"my-server",
version="1.0.0",
description="My MCP server with advanced features"
)
@app.tool()
async def sample_workflow(iterations: int = 5) -> dict:
"""Demonstrate FastMCP 2.14.3 sampling capabilities."""
results = []
for i in range(iterations):
# Implement sampling logic here
result = await process_sample(i)
results.append(result)
return {
"success": True,
"samples_processed": iterations,
"results": results
}
if __name__ == "__main__":
app.run()
3. MCPB Packaging
# pyproject.toml
[build-system]
requires = ["mcpb>=0.1.0"]
build-backend = "mcpb.build"
[project]
name = "my-server"
version = "1.0.0"
description = "My MCP server"
requires-python = ">=3.8"
[project.dependencies]
fastmcp = ">=2.14.3,<3.0.0"
[tool.mcpb]
server-script = "src/my_server/server.py"
4. Testing & Validation
# tests/test_server.py
import pytest
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
async def test_sample_workflow():
# MCP protocol testing
async with stdio_client(server_params) as (read, write):
async with ClientSession(read, write) as session:
result = await session.call_tool(
"sample_workflow",
arguments={"iterations": 3}
)
assert result.success
assert len(result.results) == 3
FastMCP 2.14.3 Features
🧠 Sampling Workflows
@app.tool()
async def iterative_refinement(
ctx,
prompt: str,
max_iterations: int = 5,
quality_threshold: float = 0.8
) -> dict:
"""FastMCP 2.14.3 sampling-enabled iterative refinement."""
best_result = None
best_score = 0.0
for iteration in range(max_iterations):
# Generate candidate
candidate = await generate_candidate(prompt, iteration)
# Evaluate quality
score = await evaluate_quality(candidate)
# Sampling decision
if score > best_score:
best_result = candidate
best_score = score
# Early termination if quality threshold met
if score >= quality_threshold:
break
# Provide progress feedback
await ctx.report_progress(iteration + 1, max_iterations)
return {
"final_result": best_result,
"qu
Установить mcp-server-architect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mcp-server-architect?
Comprehensive MCP server development guide covering FastMCP 2.14.3 features, Anthropic standards, ecosystem integration, and production deployment across all agentic IDEs
Как установить скилл mcp-server-architect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcp-server-architect запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic