MCP server
Agents read logs, traces and metrics with a read-only key.
Available
What you get
Agents read logs, traces and metrics with a read-only key. Delivered through Model Context Protocol.
Set it up
- Create a read-only agent key in Epok: Settings, then API keys, Read-only agent (for MCP).
- Add Epok's hosted MCP server to your agent with that key, as the setup page shows.
- Ask your agent about your logs, traces or metrics.
The commands and configuration for each step are on the setup guide.
What was tested
- Code tests of the ingest route or the sender: 2 tests.
- No run against the hosted service is recorded yet.
What you see in Epok
- Seven read-only tools in your agent: search logs, read traces and query metrics.
Troubleshooting
- Ingest, write and mixed-scope keys are refused. Use the read-only agent preset.
- Send the key only as an Authorization: Bearer header; keys in the URL are refused.