1.9 KiB
1.9 KiB
Hermes MCP — ChatGPT OpenAPI Split & Email REST Fix
Problem
- ChatGPT Custom GPTs have a 25 endpoint limit
/openapi-chatgpt.jsonhad 29 paths — 4 were silently dropped- Email REST endpoints (
/api/email/*) were advertised in OpenAPI but had no Express handlers — returned 404
Fixes Deployed
-
Added missing email REST handlers to
src/index.ts:GET /api/email/profileGET /api/email/searchGET /api/email/readPOST /api/email/send
-
Created focused OpenAPI specs (all under 25 paths):
/openapi-messaging.json— Email + WhatsApp + Telegram + Discord (12 paths)/openapi-media.json— Instagram + TikTok + Facebook media + LinkedIn video + Twitter video (11 paths)
-
Existing specs remain available:
/openapi-mail.json— Email + Obsidian (8 paths)/openapi-social.json— All social platforms (24 paths)/openapi.json— Full spec (35 paths, non-ChatGPT)
Files Modified
src/index.ts— email REST routes + OpenAPI spec routessrc/manifest.ts—MESSAGING_PATHS,MEDIA_PATHS,getOpenApiSpecMessaging(),getOpenApiSpecMedia()hermes-k8s.yaml— updated image digest
Vault Reference
- Full context:
Daily Notes/2026-05-12.md→ ChatGPT Custom GPT OpenAPI Split section
/openapi-chatgpt.json Trimmed to 25 Paths
- Problem:
/openapi-chatgpt.jsonhad 29 paths; ChatGPT silently dropped 4 due to 25-endpoint limit - Fix: Trimmed to exactly 25 paths by removing:
/api/whatsapp/template(use/openapi-messaging.json)/api/instagram/reel(use/openapi-media.json)/api/linkedin/video(use/openapi-media.json)/api/twitter/video(use/openapi-media.json)
- Result: All 4 email endpoints now preserved in the main ChatGPT spec
- Deployed:
sha256:5d8b3fceefbcf08fee1e25c685b453902d819011cd95831f815623220ec8b285