Blog 17 November 2026 · 4 min read
Your AI assistant can read your monitoring: Obscenter as an MCP server
Every Obscenter install serves its API as an MCP server at /mcp. Give your coding assistant an API key, and it reads problems, traces and logs as far as the key allows.

An assistant that helps write the code usually cannot see the code running. It is told "checkout got slow after the deploy", and it guesses. The answer was in the monitoring all along: which endpoint, which query, which log line in which request.
Every Obscenter install now serves its API as a Model Context Protocol server, at /mcp. An assistant that speaks MCP is given an API key, and from then on it can open the ticket, follow the trace and read the request's log lines itself.
Connect it with an API key
Make a key under API in the user menu. A view key is the right choice for an assistant: it reads and writes nothing. Then give your MCP client the address and the key:
{
"mcpServers": {
"obscenter": {
"type": "http",
"url": "https://your-install/mcp",
"headers": { "Authorization": "Bearer ok_…" }
}
}
}
It takes the key in that header and nothing else. The dashboard's sign-in cookie does not open it, so a web page you happen to visit cannot use your session to read through it.
Three tools, made from the API's own map
The API already describes itself: /api lists every read, what it takes and where it leads. The MCP server is built on that catalogue rather than beside it, so a new endpoint becomes something the assistant can ask for without a separate release:
api_catalogue: the groups (applications, synthetic checks, infrastructure, services and traces, problems, security and more), then one group in full with its parameters.api_get: any read the catalogue lists, for example/api/problemswith{"status": "open"}.api_write: the writes the catalogue lists, such as acknowledging, snoozing or closing a ticket, or running a check now. Only with a write key.
The catalogue says where each answer leads. An application leads to its sessions, a session to its backend calls, a call to its service, and the service to its process and machine, so the assistant can walk from "something is wrong" to the thing that is wrong.
The same doors as the API
Every tool call is made again against the install's own /api, with the key it came with. The assistant therefore sees what the key sees. A key belongs to one organisation, and it can be cut down further to chosen applications, services or machines. Whatever the API refuses that key, the tool refuses too.
Some parts are left out of the catalogue on purpose, and the tools refuse them before they ask: accounts, keys, the terminal, load tests and session recordings. No key of any kind can create or remove accounts, change what the install collects, rotate a key or delete an application or a machine.
What a debugging session looks like
- "Is anything open?" The assistant reads
/api/problems?status=open, then the ticket and its timeline, with the deploys and restarts around it. - It opens the service the ticket names and its slowest calls, then one trace span by span, down to the query.
- It takes the request's trace id to
/api/logsand reads what that one request wrote. - It changes the code, and after your deploy it reads the same service again to see whether p95 came back.
Long answers are cut at about 120 kB, and the cut is stated, so the assistant asks for a shorter range or a single item instead of reading half a list as the whole.
What leaves your install
Obscenter calls no model for this. Your assistant does: whatever it reads through the key goes to the model provider your MCP client uses, under that provider's terms. That is a choice made by whoever issues the key. It is separate from the organisation's setting for Obscenter's own AI features, which governs only what Obscenter itself sends. Issue the key with that in mind, cut it down to what the work needs, and revoke it from the same page when the work is done.
The reference is The REST API: for AI assistants.
Try it on your own install
Make a view key, add the server to your assistant, and ask it what is open right now.


