OpenAPI Client Generator MCP
Servidor MCP del generador de cliente openapi
Un servidor de protocolo de contexto de modelo para generar clientes API mediante TypeScript.
Características
Recursos
Genera un cliente API basado en axios que puede utilizarse para interactuar con la API.
Utiliza especificaciones OpenAPI / Swagger para generar el cliente.
Indicaciones
generate_client: genera un cliente API para las especificaciones OpenAPI especificadas.
Related MCP server: Emcee
Desarrollo
Instalar dependencias:
npm installConstruir el servidor:
npm run buildPara desarrollo con reconstrucción automática:
npm run watchInstalación
Para utilizar con Claude Desktop, agregue la configuración del servidor:
En MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
En Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"openapi-client-generator": {
"command": "node",
"args": [
"< PATH TO >/openapi-client-generator/build/index.js"
]
}
}
}Depuración
Dado que los servidores MCP se comunican a través de stdio, la depuración puede ser complicada. Recomendamos usar el Inspector MCP , disponible como script de paquete:
npm run inspectorEl Inspector proporcionará una URL para acceder a las herramientas de depuración en su navegador.
Contribuyendo
Siéntete libre de contribuir al proyecto abriendo problemas o enviando solicitudes de incorporación de cambios. Agradecemos cualquier mejora o nueva funcionalidad que se ajuste a los objetivos del proyecto.
Licencia
Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.
Construido con Cline
Available Tools
1 toolgenerate_clientB
Generate TypeScript API client from OpenAPI specification
Inputs: input (required), output (required), httpClient (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion. The tool has a clear and singular purpose.
The single tool uses a clear verb_noun pattern ('generate_client'), which is consistent and descriptive.
A single tool feels thin for an OpenAPI client generator. While it may suffice for a minimal use case, most users would expect additional capabilities like validation or endpoint listing.
The tool only generates a client from a specification. Obvious gaps include validating the spec, listing endpoints, or configuring output options, which limits its usefulness.
Related MCP Connectors
Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.
MCP server for AI access to Swagger by SmartBear.
MCP server for generating rough-draft project plans from natural-language prompts.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.8MIT
- AlicenseNot gradedqualityBmaintenanceGenerate an MCP server for any OpenAPI documented endpoint.339MIT
- FlicenseNot gradedqualityDmaintenanceAn auto-generated MCP server that enables interaction with the OpenAI API, allowing users to access OpenAI's models and capabilities through the Multi-Agent Conversation Protocol.-
- AlicenseNot gradedqualityDmaintenanceA service that converts OpenAPI specifications into MCP tools, enabling AI assistants to interact with your API endpoints through natural language.MIT