MCP server
Odyhook ships a Model Context Protocol (MCP) server so MCP-compatible agents — Claude Code, Cursor, Claude Desktop, and others — can inspect and operate your webhook setup directly.
What it is
The endpoint is a stateless Streamable-HTTP MCP server at POST /api/mcp. It authenticates with an ody_ API token (the same tokens as the REST API and CLI — mint one at Settings → API Tokens). There is no session store; each request stands alone. The tools wrap the existing service layer, so an agent sees exactly what the dashboard would.
Tools
Read tools:
list_sourcesget_sourcelist_destinationsget_destinationlist_routesget_routelist_eventsget_eventlist_deliveries
Safe-write tools:
create_sourceupdate_sourcecreate_destinationupdate_destinationpause_destinationresume_destinationcreate_routeupdate_routeset_route_filterclear_route_filter
BYOK tools (require your own LLM provider key):
compile_filter— compile a plain-English routing rule into a filter AST (preview only; does not persist).search_events— natural-language event search across metadata and payload content.
There are no delete tools by design. The MCP surface is read plus safe writes only — an agent can create, update, pause, and resume, but never destroy data.
Connecting an MCP client
Point any MCP client at the endpoint URL and supply your ody_ token as the bearer credential:
- URL:
https://odyhook.dev/api/mcp - Authorization:
Bearer ody_…
Once connected, the agent can list your sources, inspect failed deliveries, draft filters from plain English, and search events — all scoped to the token's owner.