
brizzai/auto-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
brizzai/auto-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/brizzai/auto-mcp.
Обзор
brizzai/auto-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/brizzai/auto-mcp.
Обзор (машинный перевод)
Посетите главную страницу Auto MCP
Преобразуйте любое определение OpenAPI/Swagger в полноценный сервер Model Context Protocol (MCP) — готовый к локальному запуску, внутри Claude Desktop или в облаке.
Сервис читает документы Swagger (OpenAPI v2) или OpenAPI v3, генерирует маршруты на лету, отправляет запросы к настраиваемой конечной точке и выставляет их через MCP с помощью транспорта STDIO, HTTP или SSE, определённого в спецификации MCP.
✨ Почему Auto MCP?
- Ноль шаблонов – приносите
swagger.jsonи начинайте обавать. - Гибкое развертывание — запускается как CLI, долгоживущий демон или внутри Docker/Kubernetes.
- Все виды транспорта –
stdio(по умолчанию).http- StreamableHttp, новейший прототип MCP.sse— источник долгосрочного мероприятия, который самостоятельно проводится.- Подключаемая аутентификация – токен носителя, базовая аутентификация, ключи API, OAuth2 или нет аутентификации.
- Конфигурация во время выполнения – YAML-файл, флаги CLI или переменные среды (префикс
AUTO_MCP_).
🛠️ Использование Auto MCP
Легко адаптируйте ваш файл Swagger/OpenAPI для оптимальной интеграции с MCP. MCP Config Builder позволяет вам:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Auto MCP
Transform any OpenAPI/Swagger definition into a fully-featured Model Context Protocol (MCP) server – ready to run locally, inside Claude Desktop, or in the cloud.
The service reads a Swagger (OpenAPI v2) or OpenAPI v3 document, generates routes on-the-fly, proxies requests to the upstream endpoint you configure, and exposes them through MCP using either the STDIO or HTTP or SSE transport defined in the MCP specification.
✨ Why Auto MCP?
- Zero boiler-plate – bring your
swagger.jsonand start serving. - Flexible deployment – run as a CLI, long-lived daemon, or within Docker/Kubernetes.
- All transport modes –
stdio(default).http- StreamableHttp, newest MCP prototcol.sse– self-hosted long-running event source.
- Pluggable auth – bearer token, basic auth, API keys, OAuth2 or no auth.
- Runtime configuration – YAML file, CLI flags, or environment variables (prefixed
AUTO_MCP_).
🛠️ Using Auto MCP
Easily tailor your Swagger/OpenAPI file for optimal MCP integration. The MCP Config Builder lets you:
- Edit endpoint descriptions for clearer, more helpful documentation.
- Filter out unnecessary routes to streamline your API exposure.
- Preview and customize how endpoints appear to LLMs and clients.
- Generate an adjustment file (
--adjustment-file) for use with Auto MCP, applying your customizations automatically.
How it works
- Install the MCP Config Builder:
This will build and install thego install ./cmd/mcp-config-buildermcp-config-builderbinary to your$GOPATH/bin(usually~/go/bin). Make sure this directory is in yourPATH. - Launch the tool:
mcp-config-builder --swagger-file=/path/to/swagger.json - Interactively review and edit endpoints in a user-friendly TUI (Terminal User Interface).
- Save your adjustments to a file for future use or sharing.
Установка
docker run -i --rm -v /Users/you/path/to/swagger.json:/server/swagger.json ghcr.io/brizzai/auto-mcp:latest"
"--swagger-file=/server/swagger.jsonКонфигурация
{
"mcpServers": {
"YourMCP": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/Users/you/path/to/swagger.json:/server/swagger.json",
"ghcr.io/brizzai/auto-mcp:latest"
"--swagger-file=/server/swagger.json"
]
}
},
"globalShortcut": ""
}