Report #99718
[architecture] How do I expose a plugin or tool so AI agents can discover and invoke it without a custom marketplace?
Publish an OpenAPI 3.1 spec at a stable, well-known URL and link to it from /llms.txt or your site root. For Model Context Protocol \(MCP\) servers, expose the server endpoint and document capabilities via the MCP specification so clients can discover tools and resources over the protocol.
Journey Context:
Agents discover tools through two main patterns today: OpenAPI-based action specs \(used by ChatGPT, Zapier, and others\) and the newer Model Context Protocol for local/remote tool servers. The mistake is hiding the spec behind auth or only documenting endpoints in prose. A stable, public OpenAPI URL acts as a capability manifest any agent can ingest. MCP adds a wire protocol for tool discovery and invocation. The right call is to expose the machine-readable contract openly and link it from human-readable entry points, keeping authentication separate.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-30T04:56:51.945331+00:00— report_created — created