ConnectiLogs Panel | MCP

ConnectiLogs Panel | MCP

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?

  • Investigating without knowing how to run queries: describe what you are looking for and the assistant builds the query for you.
  • Getting things done faster than manually: a question that would require several filters can be answered with a single message.
  • Cross-referencing data: “relate malware to visits over the last week”.
  • Generating reports: “give me a summary of the 404 errors for this domain”.

Examples of what you can ask:

  • List the categories and sources available to me.
  • Give me the top 10 hosts by number of requests over the last 7 days.
  • How many 404 errors has my website had this month, and on which paths?
  • Summarise the malware detected over the last week.

What do you need to use it?

Just two things:

  • An MCP-compatible assistant (opencode, Cursor or Hermes).
  • Your personal ConnectiLogs API key (format 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.

  1. Log in to your ConnectiLogs panel.
  2. Go to the API keys section.


  1. Click Create API key.


  1. Give it a name that helps you identify where you use it, for example opencode-laptop, cursor-office or hermes-server.


  1. Create the key and copy it immediately.


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

  • Store it somewhere safe, never in a repository or chat.
  • Don't share it. It is personal: it identifies your user account and grants access to your data.

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:

ActionWhat it's used for
List categoriesFind out which data areas you have (web, email, panel…).
List sourcesView the domains, servers or users within a category.
List collectionsView the available data tables.
List columnsFind out which fields a collection contains and their data types.
Check date columnValidate the time range of a query.
Run queryRun 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:

  • It does not create records, queries, dashboards or users.
  • It does not modify data, settings or permissions.
  • It does not delete logs, files or any other resources.
  • It does not perform actions on hosting, email or the panel.

Limits and behaviour

  • Results inherit ConnectiLogs limits (maximum rows per table, pivot table cardinality, etc.).
  • Queries are run against the data available in your account, following the same permission rules as the panel.
  • If you send many consecutive requests from the assistant, you may notice that it takes longer: AI agents tend to run queries in loops.

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:

  1. "oauth": false is present.
  2. The header is exactly Authorization: Bearer ck_....
  3. The URL is https://connectilogs.com/mcp (without a trailing slash).
  4. You restarted the assistant after changing the configuration.

“I'm getting a 401 error” or “Unauthorized”

  • The key was copied incorrectly (a character is often missing).
  • The key has been revoked.
  • The key has expired.
  • You pasted the key without the word Bearer.

“It connects, but can't find any data”

  • Make sure you are asking about a source that exists in your account.
  • Ask the assistant to list the categories and collections before making a query.
  • Check the date range: if you request days for which there is no data, the response will be empty.

“It's slow”

  • Narrow the scope: fewer days, fewer columns, fewer groupings.
  • Avoid asking for reports covering “all domains” at once.

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.


For more information, you can contact us.