GenPDM MCP Server
GenPDM MCP Server
Un esqueleto de servidor MCP TypeScript/Express para exponer una API GraphQL empresarial fija como herramientas MCP seguras y tipadas.
Características
Endpoint HTTP Streamable de MCP SDK v2 en
ALL /mcpValidación de JWT Bearer HS256 y comprobación de scopes
Límites de tasa en memoria por IP y por sujeto
Cliente GraphQL respaldado por un pool keep-alive de Undici acotado
Reintentos solo para queries, idempotencia de mutaciones, límites de concurrencia y de tamaño de respuesta
Upstream GraphQL simulado reproducible
Endpoints de liveness/readiness y apagado ordenado
El almacén de límites de tasa actual es deliberadamente local al proceso. src/rate-limit.ts contiene la frontera del adaptador para un futuro almacén basado en Redis. No trate los contadores actuales como globales cuando ejecute varias réplicas.
Related MCP server: gqai
Documentación
Automatización del repositorio:
AGENTS.mddefine las reglas de arquitectura y nomenclatura siempre activas.genpdm-mcp-developmentguía a Codex en los cambios de operaciones GraphQL y de herramientas MCP.
Ejemplo ejecutable:
Ejecución local
Requiere Node.js 20 o superior.
Copy-Item .env.example .env
npm install
npm run dev:mockEn una segunda terminal:
npm run dev
$token = npm.cmd run --silent tokenConfigure un cliente MCP con el endpoint http://127.0.0.1:3000/mcp y la cabecera Authorization: Bearer <token>.
Herramientas disponibles:
get_customer:{ "id": "cust-001" }, requierecustomers:readcreate_order:{ "customerId": "cust-001", "items": [{ "sku": "SKU-1", "quantity": 2 }] }, requiereorders:write
Los endpoints de salud no requieren autenticación:
GET /health/liveGET /health/ready
Verificación
npm run typecheck
npm run build
npm testNotas de producción
Sustituya la verificación HS256 por el verificador JWKS del IdP de la empresa.
Sustituya el almacén de límites de tasa en memoria por Redis antes de que el escalado requiera límites globales estrictos.
Inyecte las credenciales JWT y GraphQL desde un gestor de secretos.
Restrinja
ALLOWED_HOSTS,CORS_ORIGINSy los ajustes de proxy de confianza para la topología de despliegue.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- MIT
- AlicenseNot gradedqualityDmaintenanceTurn any GraphQL endpoint into a set of MCP tools23MIT
- AlicenseNot gradedqualityDmaintenanceMCP that can proxy any GraphQL API and expose graphql operations as mcp tools.4518Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAutomatically generates MCP tools from any GraphQL API by introspecting its schema, supporting queries, mutations, and authentication.5GPL 3.0
Related MCP Connectors
Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.
34 production API tools over one hosted MCP endpoint.
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/caa1211/genpdm-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server