An MCP Endpoint for Faster Evals on Neurotko

A good eval needs the configuration, the state of the search index and the traces behind every answer. We used to copy them from the dashboard or hand an agent a password. Now an agent reads them over MCP, with a token that only reads and expires. What it does today and where it goes next.

Blog 5 November 2026Simon Mavsar

In our last post we measured a shop assistant built on Neurotko, our agent platform: 22 buyer questions, every price, link and stock claim checked against the shop's product feed. The scores were the easy part. To tell why an answer went wrong, and to compare one run with the next, we also needed three other things:

  • The configuration: which model and provider answered, how the search is tuned, which prompt was in use.
  • The state of the search index: how many chunks it holds and whether it was up to date.
  • The traces: what the search put in front of the model for one question, and what the model sent back.

All three are in the dashboard. Getting them out of it was slow.

Before: a Copy and Paste, or a Password

There were two ways, and both were poor.

Copy and paste from the dashboard. Before each run someone opens four pages and copies the model, the search settings, the chunk count and the traces of the questions that failed. It takes minutes, it is easy to get wrong, and the notes go stale. Ours did: they named one AI profile while the assistant was running on another, and we compared runs on the strength of that note.

A password for the agent. The agent signs in as a user and reads the pages itself. That works, and it hands the agent everything the user can do. It also stops working when two-factor sign-in is switched on, and it leaves a session token in a file.

Now: the Agent Asks Neurotko

Neurotko now has an MCP endpoint. MCP is the open protocol coding agents use to call tools. An agent connects once and reads what it needs, in the order it needs it. Read-only tools today:

  • Configuration: the channels, the agent instance with its AI profile, model and region, whether pseudonymisation is on, a hash of the prompt, and the search balance.
  • State: the search index, with its chunk and file counts and any pending change.
  • Tracing: the recorded search operations (which excerpts reached the model and how many tokens they used) and the recorded model calls.

An eval run becomes one script. The agent reads the configuration and the index state first and stores them with the scores, so every run says what it ran on. It sends the questions. For each answer that fails it reads the trace of that question. The first capture took seconds and showed that our staging ran a different AI profile than our notes said. The next question was why production scored between 73 and 80 % on our questions against 93 % on staging. The same read on both sides took minutes and ruled out the settings: the AI profile, the prompt, the search settings and the product feed were identical. What was left was the release: production ran an older one. After we released it, production scored 91 to 93 %, as staging does. The knowledge bases differed too (production held six times as many crawled pages, because staging's plan stopped a crawl at 50 pages), but giving staging the same pages did not help it: 89 % against 93 %, within the spread between runs.

How It Stays Safe

The agent gets a token that a tenant admin makes on a dashboard page. It opens one tenant, only reads and expires. Reading traces needs a separate right, because a trace holds what the model saw. Rights are checked on every call, and the call log keeps no text an agent typed.

Next

Today the endpoint covers what an eval needs. The aim is wider: whatever the dashboard shows an admin, an agent should be able to read the same way, and later change it, under its own rights and its own review.

  • Platform state: errors, health and the scheduled jobs and their runs.
  • Service logs, read through the same token, with rules for the tenants whose data they share.
  • Writing: changing a setting or starting a rebuild, as a separate scope.
  • For a customer's agent: an agent of a shop asks the shop itself for live prices and stock.

This is a tool for our own agents on our own tenants for now.