What is the ConnectiLogs MCP?
The MCP is the way to connect your AI assistant (opencode, Cursor, Hermes…) to ConnectiLogs so you can ask questions in natural language and get answers using your own data.
Instead of accessing the panel, selecting a collection, setting up filters and running a query, you simply tell the assistant something like “give me the top 10 hosts by requests this week”, and it takes care of querying ConnectiLogs and returning a table or chart.
Everything is read-only: the assistant never modifies, creates or deletes anything.
In other words, it is a standard “plug” between your AI and your data. The AI asks, ConnectiLogs answers.
What is it useful for?
Examples of what you can ask:
What do you need to use it?
Just two things:
ck_...), which you generate yourself from the panel.How to get your API key
The key is generated from your own panel, in the API keys section. You don't need to ask anyone for it.
opencode-laptop, cursor-office or hermes-server.Important! The key is only displayed once. If you close the window without copying it, you won't be able to view it again: you'll have to revoke it and create a new one.
Best practices
How to connect it
OpenCode
In ~/.config/opencode/opencode.json, inside "mcp":
{
"mcp": {
"connectilogs": {
"type": "remote",
"url": "https://connectilogs.com/mcp",
"enabled": true,
"oauth": false,
"headers": { "Authorization": "Bearer <YOUR_KEY>" }
}
}
}Claude / Cursor
In ~/.cursor/mcp.json (Cursor) or claude_desktop_config.json (Claude):
{
"mcpServers": {
"connectilogs": {
"type": "http",
"url": "https://connectilogs.com/mcp",
"headers": { "Authorization": "Bearer <YOUR_KEY>" }
}
}
}Hermes
In the Hermes configuration file:
mcp_servers:
connectilogs:
url: "https://connectilogs.com/mcp"
headers:
Authorization: "Bearer <YOUR_KEY>"Any other agent (generic)
{
"mcpServers": {
"connectilogs": {
"type": "http",
"url": "https://connectilogs.com/mcp",
"headers": { "Authorization": "Bearer <YOUR_KEY>" }
}
}
}Once configured, close and reopen the agent and you're ready to get started.
Finally, check the connection using the following question:
Use connectilogs: list the available categories and sources.
If it responds with your categories, everything is ready.
What you can do
The assistant has access to six actions, all of which are read-only:
| Action | What it's used for |
|---|---|
| List categories | Find out which data areas you have (web, email, panel…). |
| List sources | View the domains, servers or users within a category. |
| List collections | View the available data tables. |
| List columns | Find out which fields a collection contains and their data types. |
| Check date column | Validate the time range of a query. |
| Run query | Run the query and return a table or chart. |
In addition, the assistant can read the documentation (query guide and help articles) to understand how to build each request correctly. This documentation is for reference only: it does not contain your data.
Important considerations
It cannot write. The MCP only allows queries. There are no available actions for creating, modifying or deleting data, so requests of this kind cannot be executed, even if explicitly requested.
This means that:
Limits and behaviour
PRO TIP: First, ask the assistant to list the collections and columns.
Something not working?
“It won't connect” or appears as failed
Check the following in order:
"oauth": false is present.Authorization: Bearer ck_....https://connectilogs.com/mcp (without a trailing slash).“I'm getting a 401 error” or “Unauthorized”
Bearer.“It connects, but can't find any data”
“It's slow”
How to revoke a key
From the same API keys section in the panel, you can revoke any key you no longer use or believe may have been exposed.
Revocation is immediate: from that moment on, the assistant will no longer be able to run queries. If you need it again, create a new one and update the configuration.
PRO TIP: If you accidentally share a key, revoke it first and ask questions later. Creating a new one only takes a minute.