rbowen opened a new pull request, #21: URL: https://github.com/apache/comdev/pull/21
The original MCP was built from an outdated and inaccurate version of the PonyMail API documentation. With accurate docs now available (see apache/incubator-ponymail-foal#313), update the MCP to match the actual Foal API: - get_thread: Use the dedicated /api/thread endpoint instead of fetching a single email via /api/email and hoping for the best. Now returns the full threaded tree + flat email array. Add find_parent parameter to navigate to thread root from any message. - get_source: New tool — fetches raw RFC 2822 email source via /api/source. Includes restriction/privacy checks. - API suffix: New PONYMAIL_API_SUFFIX env var (default ".lua"). Set to ".json" for native Foal deployments without the legacy compat layer. All endpoint paths now use the configurable suffix. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
