Skip to main content
Glama
caa1211

GenPDM MCP Server

by caa1211

GenPDM MCP Server

固定されたビジネスGraphQL APIを安全で型付きのMCPツールとして公開するためのTypeScript/Express MCPサーバースケルトンです。

特徴

  • ALL /mcp でのMCP SDK v2 Streamable HTTPエンドポイント

  • HS256 Bearer JWT検証とスコープチェック

  • IPごとおよびサブジェクトごとのインメモリレート制限

  • 境界付きUndici keep-aliveプールを利用したGraphQLクライアント

  • クエリのみのリトライ、ミューテーションの冪等性、並行性とレスポンスサイズの制限

  • 再現可能なモックGraphQLアップストリーム

  • Liveness/readinessエンドポイントとグレースフルシャットダウン

現在のレート制限ストアは意図的にプロセスローカルです。src/rate-limit.ts には、将来のRedisバックアップストアのためのアダプター境界が含まれています。複数のレプリカを実行する場合、現在のカウンターをグローバルとして扱わないでください。

Related MCP server: gqai

ドキュメント

リポジトリ自動化:

  • AGENTS.md は常時有効なアーキテクチャと命名規則を定義します。

  • genpdm-mcp-development は、CodexによるGraphQLオペレーションとMCPツールの変更をガイドします。

実行可能な例:

ローカル実行

Node.js 20以上が必要です。

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

2番目のターミナルで:

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

エンドポイント http://127.0.0.1:3000/mcp とヘッダー Authorization: Bearer <token> を使用してMCPクライアントを設定します。

利用可能なツール:

  • get_customer: { "id": "cust-001" }customers:read が必要

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

ヘルスエンドポイントは認証不要です:

  • GET /health/live

  • GET /health/ready

確認

npm run typecheck
npm run build
npm test

本番運用に関する注意事項

  • HS256検証を、会社のIdPのJWKS検証器に置き換えてください。

  • 水平スケーリングで厳密なグローバル制限が必要になる前に、インメモリのレート制限ストアをRedisに置き換えてください。

  • JWTとGraphQLの資格情報をシークレットマネージャーから注入してください。

  • デプロイメントトポロジに合わせて、ALLOWED_HOSTSCORS_ORIGINS、および信頼済みプロキシ設定を制限してください。

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