# Connect an application to SupaKnock through MCP Read https://supaknock.com/developers/mcp and https://supaknock.com/guides/mcp-tools.md. Build an integration for this application's public, read-only data. Podcast tools and episode context are optional examples, not requirements for a general integration. 1. Identify useful visitor questions and the minimum read tools needed to answer them. Inspect existing APIs, data visibility and authentication. Do not expose private users, subscriber content or administrative operations. 2. Confirm the installed SupaKnock release has Connected AI tools and MCP connection routes in its /api/v1/openapi.json. The documentation website may describe newer source than the deployed server. 3. Host a dedicated MCP 2025-11-25 Streamable HTTP endpoint at an exact public HTTPS URL, without redirects, URL credentials or query parameters. Support initialize, notifications/initialized, tools/list and tools/call. JSON responses are enough; SSE is optional. 4. Define focused tools with clear descriptions, closed object input schemas and bounded inputs. Use only SupaKnock's supported schema subset. Declare readOnlyHint true and destructiveHint false, and enforce read-only behavior in application code. 5. Recheck record visibility and token scope on every call. If using a service token, give it only the required public-read permissions. Keep it out of the browser, examples, logs and tool results. It is not a visitor's login. 6. Return small, complete text blocks or structuredContent. If returning both, text must serialize that exact object. Generic results are rendered as labelled text evidence without inferred hyperlinks. Follow the contract's schema, response, time and quota limits. 7. In SupaKnock account administration, add the connection and permitted citation origins, enable availability, discover and review tools, and run a read-only test with public data. In each project, explicitly select approved tools and choose tools-only or combined knowledge/tools mode. Verify tool access for the exact generation keys/model and explicitly enable AI. 8. Keep the existing widget. General MCP tools require no episode context or new browser credential. Do not attempt to pass user authorization in message context. Use the optional documented podcast binding only when integrating a podcast. 9. Test real questions, missing/private records, no-match searches, timeout/authentication failures, invalid/oversized results, removed permissions and changed tool schemas. Check topic restrictions, human takeover and ordinary support still work. Treat unavailable data as unavailable, never as evidence that a fact is false. 10. Deliver setup steps, changed files, test evidence and limitations. Production deployment and tool activation require the owner's authorization. No full example application is needed. Optional podcast-specific resources: - https://supaknock.com/guides/podcast-mcp-examples.json - https://supaknock.com/guides/podcast-mcp-checklist.md