원클릭으로
mcp-buildernew-mcp
Scaffold a new MCP server with your chosen pattern (basic, tool-heavy, widget-enabled, or database-backed)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new MCP server with your chosen pattern (basic, tool-heavy, widget-enabled, or database-backed)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Test your MCP server with MCP Inspector and verify tool functionality
Scaffold a complete MCP App with visual UI tools (TypeScript + React + Tailwind)
Add OAuth authentication to your MCP server using Auth0 or custom providers
Add a resource to your MCP server for agent context (schemas, templates, reference data)
Add a new tool to your MCP server using "true task" design principles
Generate deployment configuration for Cloud Run, Render, or Fly.io
| name | mcp-builder:new-mcp |
| description | Scaffold a new MCP server with your chosen pattern (basic, tool-heavy, widget-enabled, or database-backed) |
You are helping the user create a new MCP (Model Context Protocol) server from scratch.
"This is not a code walkthrough. The true value lies in the problem you're solving, how you think about solving it, and empathizing with the client (the agent consuming your server)."
Ask the user:
Ask the user which transport they prefer:
| Transport | Best For | Description |
|---|---|---|
| Streamable HTTP (Recommended) | Web deployment, ChatGPT Apps, remote access | Server runs as HTTP service, clients connect via URL |
| stdio | Local development, Claude Desktop | Server communicates via stdin/stdout |
Streamable HTTP advantages:
stdio advantages:
Present these options based on their needs:
| Pattern | Best For | Complexity |
|---|---|---|
| Basic | Learning, simple tools, quick prototypes | Low |
| Tool-Heavy | Data analysis, many tools (like financial research) | Medium |
| Widget-Enabled | Rich UI output, ChatGPT Apps, visualizations | Medium-High |
| Database-Backed | User auth, state persistence, multi-tenant | High |
Guide the user to think about user intents, NOT API endpoints:
User Intent → Outcome → Tool Design
"What's AAPL's price?" → Complete stock summary → get_stock_summary(ticker)
"Compare these stocks" → Side-by-side analysis → compare_stocks(tickers[])
Anti-pattern to avoid:
get_task_ids() + get_task_details() when you could have search_tasks(include_details=true)For each tool, capture:
get-stock-summary, search-tasksBased on the chosen pattern and transport, use the mcp-builder:mcp-architect agent to generate:
For Python (FastMCP) with Streamable HTTP:
{server-name}/
├── server.py # FastMCP server with HTTP transport
├── requirements.txt # Python dependencies
├── Dockerfile # Container config
├── .env.example # Environment template
├── setup.sh # One-time setup script
├── START.sh # Multi-mode startup script
└── src/ # Business logic (if tool-heavy)
└── {domain}.py # Domain-specific modules
For TypeScript (MCP SDK):
{server-name}/
├── server/
│ └── index.ts # MCP server
├── package.json
├── tsconfig.json
├── Dockerfile
├── setup.sh
├── START.sh
└── .env.example
Generate START.sh with multiple modes:
#!/bin/bash
# START.sh - Multi-mode MCP server launcher
case "${1:-}" in
--dev)
# Development mode with auto-reload
echo "Starting in dev mode..."
python server.py
;;
--inspector)
# Start server + open MCP Inspector
echo "Starting server and MCP Inspector..."
python server.py &
SERVER_PID=$!
sleep 2
npx @modelcontextprotocol/inspector
kill $SERVER_PID
;;
--test)
# Run tests
pytest tests/
;;
*)
# Production mode
python server.py
;;
esac
After generation:
./setup.sh./START.sh --dev./START.sh --inspector
npx @modelcontextprotocol/inspectorhttp://localhost:8000/mcpUse kebab-case: stock-analysis-server, patient-records-server, task-manager-server
Python (Recommended for most cases):
TypeScript (For widget-enabled servers):
Create .mcp-builder/state.json to track progress:
{
"serverName": "stock-analysis-server",
"pattern": "tool-heavy",
"language": "python",
"tools": [
{ "name": "get-stock-summary", "status": "implemented" }
],
"resources": [],
"createdAt": "2025-01-15T00:00:00Z"
}
After scaffolding, suggest:
/mcp-builder:add-tool - Add more tools/mcp-builder:validate - Check best practices/mcp-builder:test - Test with MCP Inspector