Agents
LLM and MCP surface
CommentHunter publishes the same capability contract in three machine-readable forms so agents do not have to scrape HTML.
- llms.txt โ short index of endpoints, constraints, and docs links (llmstxt.org convention).
- llms-full.txt โ expanded operation list for long-context agents.
- openapi.json โ OpenAPI 3.1 for tool calling and SDK generation.
How to connect an agent today
- Fetch
https://commenthunter.click/llms.txtat session start. - Import
https://commenthunter.click/openapi.jsonas tools (ChatGPT Actions, Claude connectors, Cursor MCP wrappers). - Call
extract_commentswith a public URL. Confirm paid checkout with the user beforecreate_checkout.
MCP
A hosted Streamable HTTP MCP server (OAuth 2.1 + PKCE, ChatGPT-style) is on the roadmap. Until it ships, wrap the OpenAPI document with your MCP runtime (for example an OpenAPI-to-MCP proxy) pointing at the Supabase functions base URL. Tool names should match OpenAPI operationId values.
Safety for agents
- Only public URLs the user provided. Do not attempt credential stuffing or private-account access.
- Destructive or paid operations (
create_checkout) require explicit user confirmation. - Do not log JWTs. Store them in a secret manager.
- Respect rate limits and credit balances from
check_subscription.