GenPDM MCP Server
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:mock2番目のターミナルで:
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/liveGET /health/ready
確認
npm run typecheck
npm run build
npm test本番運用に関する注意事項
HS256検証を、会社のIdPのJWKS検証器に置き換えてください。
水平スケーリングで厳密なグローバル制限が必要になる前に、インメモリのレート制限ストアをRedisに置き換えてください。
JWTとGraphQLの資格情報をシークレットマネージャーから注入してください。
デプロイメントトポロジに合わせて、
ALLOWED_HOSTS、CORS_ORIGINS、および信頼済みプロキシ設定を制限してください。
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