Skip to main content
Glama
caa1211

GenPDM MCP Server

by caa1211

GenPDM MCP Server

A TypeScript/Express MCP server skeleton for exposing a fixed business GraphQL API as safe, typed MCP tools.

Features

  • MCP SDK v2 Streamable HTTP endpoint at ALL /mcp

  • HS256 Bearer JWT validation and scope checks

  • Per-IP and per-subject in-memory rate limits

  • GraphQL client backed by a bounded Undici keep-alive pool

  • Query-only retries, mutation idempotency, concurrency and response-size limits

  • Reproducible mock GraphQL upstream

  • Liveness/readiness endpoints and graceful shutdown

The current rate-limit store is intentionally process-local. src/rate-limit.ts contains the adapter boundary for a future Redis-backed store. Do not treat the current counters as global when running multiple replicas.

Related MCP server: gqai

Documentation

Repository automation:

Runnable example:

Run locally

Requires Node.js 20 or newer.

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

In a second terminal:

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

Configure an MCP client with endpoint http://127.0.0.1:3000/mcp and header Authorization: Bearer <token>.

Available tools:

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

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

Health endpoints are unauthenticated:

  • GET /health/live

  • GET /health/ready

Verify

npm run typecheck
npm run build
npm test

Production notes

  • Replace HS256 verification with the company IdP's JWKS verifier.

  • Replace the in-memory rate-limit store with Redis before horizontal scaling requires strict global limits.

  • Inject JWT and GraphQL credentials from a secret manager.

  • Restrict ALLOWED_HOSTS, CORS_ORIGINS, and trusted proxy settings for the deployment topology.

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

Maintenance

Maintainers
Response time
Release cycle
Releases (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