
wirasm/automagical-mcp-builder
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
wirasm/automagical-mcp-builder - кандидат на сервер MCP, импортированный из https://github.com/wirasm/automagical-mcp-builder.
Обзор
wirasm/automagical-mcp-builder - кандидат на сервер MCP, импортированный из https://github.com/wirasm/automagical-mcp-builder.
Обзор (машинный перевод)
Шаблон и конструктор для создания серверов Model Context Protocol (MCP) с использованием архитектуры вертикального среза. Это хранилище обеспечивает полную основу для создания пользовательских серверов MCP с автоматизацией Claude Code.
Особенности
Hello World MCP Server (альбом)
Комплексный шаблон сервера MCP, демонстрирующий все основные функции MCP с полной поддержкой конфигурации:
- ** Инструменты**: Интерактивные функции, которые могут вызывать LLM
say_hello_tool- Создание персонализированных приветствий (настраиваемых)get_server_info_tool- Получить информацию и возможности сервера
Ресурсы: только для чтения
hello-world://status- Статус сервера и информация о состоянии здоровья [[Т3]] - Базовая статистика использованияhello-world://config- Текущая конфигурация сервера (нечувствительная)
Быстрые запросы: многоразовые шаблоны
[[Т5]] - Создайте формальные поздравительные подсказки
casual_greeting - генерировать случайные поздравительные подсказки
** Транспортная поддержка**: несколько транспортных механизмов stdio - для клиентов Claude Desktop SSE - для веб-интеграций
- WebSocket - для приложений реального времени
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
MCP Builder
A template and builder for creating Model Context Protocol (MCP) servers using vertical slice architecture. This repository provides a complete foundation for building custom MCP servers with Claude Code automation.
Features
Hello World MCP Server (Template)
A comprehensive MCP server template demonstrating all core MCP functionality with full configuration support:
-
Tools: Interactive functions LLMs can call
say_hello_tool- Generate personalized greetings (configurable)get_server_info_tool- Get server information and capabilities
-
Resources: Read-only data sources
hello-world://status- Server status and health informationhello-world://usage-stats- Basic usage statisticshello-world://config- Current server configuration (non-sensitive)
-
Prompts: Reusable prompt templates
formal_greeting- Generate formal greeting promptscasual_greeting- Generate casual greeting prompts
-
Transport Support: Multiple transport mechanisms
- stdio - For Claude Desktop and local clients
- SSE - For web-based integrations
- WebSocket - For real-time applications
-
Configuration: Full environment-based configuration
- Feature toggles for all components
- Customizable messages and behaviors
- Transport selection and network settings
- Debug and logging controls
How to Use This Template
This template uses Claude Code with automated PRP (Product Requirement Prompt) workflows to build custom MCP servers. Follow these steps to create your own MCP server:
1. Clone and Setup
# Clone this repository
git clone [email protected]:Wirasm/automagical-mcp-builder.git
cd automagical-mcp-builder
# Install dependencies
uv sync
2. Install Claude Code
Ensure you have Claude Code installed:
- Visit Claude Code for installation instructions
- Verify Claude Code is working in your project directory
2.1. Add Library Documentation (Optional)
If your MCP server needs to integrate with specific APIs or libraries, add their documentation:
# Add library documentation for Claude to reference
touch ai_docs/.md
Paste the API documentation into the file and save it. Reference it in your PRP description so Claude can use it during generation.
3. Generate Your MCP Server PRP
Use Claude Code to create a Product Requirement Prompt for your specific MCP server:
# Run the MCP initialization command with Claude Code
/command .claude/commands/mcp_init.md $ARGUMENTS
Replace $ARGUMENTS with a detailed description of what you want to build. The more detail, the better!
Examples:
# Example 1: GitHub integration
/command .claude/commands/mcp_init.md "Build an MCP server for GitHub integration that allows LLMs to create issues, read repository information, and manage pull requests with OAuth authentication"
# Example 2: Weather service
Установка
npx @modelcontextprotocol/inspector python src/main_server.pyКонфигурация
{
"mcpServers": {
"hello-world": {
"command": "uv",
"args": ["run", "python", "src/main_server.py"],
"cwd": "/absolute/path/to/automagical-mcp-builder",
"env": {
"MCP_HELLO_TRANSPORT_TYPE": "stdio",
"MCP_HELLO_DEFAULT_GREETING": "Hello",
"MCP_HELLO_LOG_LEVEL": "INFO"
}
}
}
}