Fix get_thread, add get_source, make API suffix configurable 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.
ASF Community Development (ComDev) project partners with other groups across the ASF to provide resources, tools, programs, and advice in order to attract, retain, educate, and grow key communities around the Apache Software Foundation, in support of sustainability producing software for the public good.
Other repositories:
Contents of this repository:
asf-highlights — scripts for finding foundation-wide activity, such as project birthdays and ASF-wide activity summaries (self-contained uv Python scripts).project-activity — script for generating project-specific activity reports (self-contained uv Python script).mcp — Model Context Protocol (MCP) servers that expose ASF data to MCP-compatible AI clients:mcp/ponymail-mcp — MCP server for accessing Apache PonyMail mailing list archives.mcp/apache-projects-mcp — MCP server for querying Apache project data from projects.apache.org.scripts — repository tooling (the dependency license-allowlist check and shared git hooks).See AGENTS.md for development setup, how to run the pre-push checks, and contribution conventions (including the ASF attribution policy).