Skip to main content
Glama
caa1211

GenPDM MCP Server

by caa1211

GenPDM MCP Server

Ein TypeScript/Express-MCP-Server-Gerüst, um eine feste Geschäfts-GraphQL-API als sichere, typisierte MCP-Tools bereitzustellen.

Funktionen

  • Streamable-HTTP-Endpunkt des MCP SDK v2 unter ALL /mcp

  • HS256-Bearer-JWT-Validierung und Scope-Prüfungen

  • In-Memory-Ratenlimits pro IP und pro Subjekt

  • GraphQL-Client mit einem begrenzten Undici-Keep-Alive-Pool

  • Nur-Query-Wiederholungen, Mutations-Idempotenz, Nebenläufigkeits- und Antwortgrößenlimits

  • Reproduzierbarer Mock-GraphQL-Upstream

  • Liveness-/Readiness-Endpunkte und kontrolliertes Herunterfahren

Der aktuelle Ratenlimit-Speicher ist bewusst prozesslokal. src/rate-limit.ts enthält die Adapterschnittstelle für einen zukünftigen Redis-gestützten Speicher. Behandeln Sie die aktuellen Zähler nicht als global, wenn Sie mehrere Replikate betreiben.

Related MCP server: gqai

Dokumentation

Repository-Automatisierung:

  • AGENTS.md definiert dauerhaft gültige Architektur- und Benennungsregeln.

  • genpdm-mcp-development führt Codex durch GraphQL-Operationen und MCP-Tool-Änderungen.

Ausführbares Beispiel:

Lokal ausführen

Erfordert Node.js 20 oder neuer.

Copy-Item .env.example .env
npm install
npm run dev:mock

In einem zweiten Terminal:

npm run dev
$token = npm.cmd run --silent token

Konfigurieren Sie einen MCP-Client mit dem Endpunkt http://127.0.0.1:3000/mcp und dem Header Authorization: Bearer <token>.

Verfügbare Tools:

  • get_customer: { "id": "cust-001" }, erfordert customers:read

  • create_order: { "customerId": "cust-001", "items": [{ "sku": "SKU-1", "quantity": 2 }] }, erfordert orders:write

Health-Endpunkte sind nicht authentifiziert:

  • GET /health/live

  • GET /health/ready

Überprüfen

npm run typecheck
npm run build
npm test

Produktionshinweise

  • Ersetzen Sie die HS256-Verifizierung durch den JWKS-Verifier des Unternehmens-IdP.

  • Ersetzen Sie den In-Memory-Ratenlimit-Speicher durch Redis, bevor die horizontale Skalierung strikte globale Limits erfordert.

  • Injizieren Sie JWT- und GraphQL-Anmeldeinformationen aus einem Secret-Manager.

  • Beschränken Sie ALLOWED_HOSTS, CORS_ORIGINS und die Trusted-Proxy-Einstellungen für die Bereitstellungstopologie.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Turn any GraphQL endpoint into a set of MCP tools
    23
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP that can proxy any GraphQL API and expose graphql operations as mcp tools.
    45
    18
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Automatically generates MCP tools from any GraphQL API by introspecting its schema, supporting queries, mutations, and authentication.
    5
    GPL 3.0

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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