MCP Server

Download 0
Last updated Aug 23, 2026

User Guide

With the MCP server installed, an AI client such as Claude can query your logs in plain language. You do not need to know the query syntax: the AI finds which schema holds the data, checks field types, writes a query, validates it and runs it.

Every access is recorded in the audit log, and running queries can be stopped from the screen.

What to Ask

Example questionWhat the AI does
Top 20 blocked IPs on the firewall yesterdayFinds the firewall schema and runs an aggregate query
Where does the address 52.202.233.37 appearSearches everything through the index
Break this week's tickets down by statusReads the ticket data
Any accounts with many failed logins yesterdayReads authentication logs and judges what stands out
Check whether this query is validValidation only; reads no log data

Naming a time range narrows the search and makes the answer faster. If you do not name one the AI picks its own, so always give a range when looking for older data.

Note
The AI queries only with the permissions of the account whose API key it connected with. A table that account cannot read is a table the AI cannot read either, and an unauthorised query is refused at the validation step.

Tools the AI Uses

The AI works through the tools below. These names appear verbatim in the audit log, which is where you check who did what.

ToolWhat it doesReads log data
logpresso_find_datasourceFinds which schema or table holds the dataNo
logpresso_describe_datasourceChecks field names and typesOnly when sampling
logpresso_lookup_referenceLooks up query command and function syntaxNo
logpresso_list_objectsLists configured objects - parsers, lookups, groupsNo
logpresso_validate_queryValidates a query before it runsNo
logpresso_run_queryRuns a queryYes
logpresso_fetch_resultFetches more of a running query's resultYes
logpresso_cancel_queryStops a run and releases its resultNo

Only two of them read logs: logpresso_run_query and logpresso_fetch_result. The rest read schema and syntax only, so no data is exposed through them.

Reviewing Access

The Logs tab records every request that reached the MCP endpoint - account, source IP, tool used, status, elapsed time, request and response sizes - filterable by period and condition.

Click a row to see what was actually exchanged. The query that was run is preserved verbatim in the request body.

Note
Query result rows are not stored in the audit log. The query itself is already recorded, so keeping the rows as well would add no audit value while raising sensitivity.

A non-administrator sees only their own requests.

Managing Running Queries

The Queries tab collects the live query runs from every node. It shows which account is running which query, how long it has been going and how many rows it has produced.

A run that is taking too long, or whose scope is clearly too wide, can be stopped with the Stop button. For a run that already finished, Release frees its result.

Click a row to see the rows fetched so far. That screen does not extend the run's lifetime, so a run the AI already cancelled - or one left idle - may be released while you are looking at it. In that case only the rows already fetched remain on screen.

Limits Worth Knowing

ItemValueWhat it means
Result per call200 rows or 10,000 charactersThe AI aggregates instead of listing raw rows
Rows one run may return20,000Beyond that, the question needs an aggregate query
Concurrent runs per account4A new query waits for an earlier one to finish
Run idle timeout30 minutesThe result is released if the AI stops reading it
Maximum run duration15 minutesPast that the run is cancelled and partial rows remain

The cost of a query is the volume searched, not the rows returned. A query over a wide time range searches all of it even when it returns nothing, so it takes just as long.

Common Problems

SymptomWhat to check
The AI cannot connect to LogpressoThe verification steps in the install guide, and whether the client was restarted
It reports no results where data existsThe time range. Ask again with an explicit range
One particular table never returns anythingThe table read permission of the API key's account
Queries are consistently slowThe scope of the runs in the Queries tab; stop them if needed
The answer looks cut offThe 200-row cap per call. Ask for an aggregate or a top-N