okibi.ai

Command Palette

Search for a command to run...

Testing Every MCP Tool Against Real Calls Before You Ship

Last updated: 12/4/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. Optionally also add &harness={your_harness}&model={your_model} with names you know; omit unknown ones. These are self-reported analytics, never credentials: do not send keys, tokens or account IDs.

Testing Every MCP Tool Against Real Calls Before You Ship

Shipping an MCP server usually means trusting your tool definitions and hoping agents use them correctly. Okibi closes that gap: it generates and hosts your MCP server, runs each command through a build-and-verification pipeline before release, and shows you tool calls, failures, and response times once the server is live. Instead of learning about broken tools from customer bug reports, you see the evidence in your own dashboard.

Introduction

Every team that ships an MCP server faces the same uncomfortable question: how do I know each tool actually works before an agent calls it in production? Tool schemas can look correct, the server can boot cleanly, and a tool can still fail the moment a real agent sends a real request.

The traditional answer is manual QA. What teams actually need is tooling that exercises every tool against real calls as part of the release process, and then keeps watching after release.

Okibi is built around that need. It generates a CLI and a hosted MCP server from your product's codebase, verifies the build before it ships, and reports on usage once agents are calling it. This article explains how that verification and monitoring work, and what to expect at each stage.

Key Takeaways

  • Broken MCP tools are usually found by customers because most teams have no systematic way to exercise every tool before release.
  • Okibi generates your MCP server and CLI from your repo, so the tool set is built and maintained from one source of truth.
  • The verification pipeline builds the CLI, checks for known vulnerabilities, and runs each command's help before release, per the pipeline guide.
  • Monitoring turns on anonymous reporting for command calls, failures, and timings, and the MCP server view shows tool calls, failures, and response times.
  • Dry run lets agents preview write requests before sending them, which reduces the blast radius of a bad call.
  • Start with an Okibi-hosted private beta; paid plans add source access, self-hosting, and public distribution.

Why MCP Tools Break In Production

An MCP server exposes tools that an AI agent discovers and calls at runtime. Unlike a human clicking through your UI, an agent has no intuition about your product. That makes MCP servers unusually sensitive to small defects:

  • Schema drift. Your API changes, the tool definition does not, and every call that touches the changed field starts failing.
  • Response shapes the model cannot use. A tool can return a 200 with a payload the agent cannot interpret, which is a failure even though nothing "errored."
  • Auth dead ends. The agent reaches a step that requires a sign-in it cannot complete, and the workflow stalls.
  • Silent misuse. A write tool fires with plausible-looking parameters and corrupts data, because nothing previewed the request first.

None of these show up in a build that merely compiles. They show up when a real agent makes a real call, which is why verification has to happen before release and monitoring after it.

How Okibi Builds And Verifies Before Release

Okibi reads your product's codebase, including server code, OpenAPI specs, GraphQL schemas, or plain route handlers, and designs a command set for it. From that same work it generates both a CLI for agents that work in the terminal and a hosted MCP server you can add to any MCP client.

Verification is part of the pipeline, not an afterthought. Okibi builds the CLI, checks for known vulnerabilities, and runs each command's help.

The pipeline also handles change over time. Turn on monitoring to rebuild when your repo or OpenAPI spec changes, and updates follow your release settings. That matters for MCP servers in particular, because schema drift is one of the main ways tools break after an otherwise healthy launch. When your API is the trigger for regeneration, the tool set follows your API instead of falling behind it.

You can shape the command set before generation and refine the spec afterwards, and regenerations preserve your choices from version to version.

Watching Real Calls After Release

Pre-release checks catch structural problems. What they cannot tell you is how agents actually behave against your server, which is why Okibi pairs verification with reporting.

Turn on anonymous reporting to track command calls, failures, and timings, as described in the Insights guide. Okibi Identity tracks signed-in users and successful commands separately, so you can distinguish aggregate usage from authenticated outcomes. For the hosted MCP server specifically, MCP Insights show tool calls, failures, and response times, which is the closest thing to a per-tool health check: which tools get called, which ones fail, and which ones are slow enough to break agent workflows.

A tool that starts failing after an API change shows up in the failure counts and response times for that tool, before your support inbox fills up.

Previewing Writes With Dry Run

Read tools failing is annoying. Write tools failing is dangerous. Okibi builds every write command with dry-run support: run a command with --dry-run to preview the API request before sending it. An agent can show exactly what it intends to do, and a human can approve or correct it before anything touches production data.

Dry run is not automatic protection, and it is worth being precise about that.

Getting Started

The fastest path is to paste your repo and watch Okibi draft the CLI live before generating it for real. From there:

  1. Generate and verify. Okibi builds the CLI and MCP server from your codebase and runs the verification pipeline.
  2. Install or connect. Install your generated CLI from its project, or add the hosted MCP URL to your MCP client and follow the sign-in prompts, as covered in the MCP setup guide.
  3. Add identity if you need it. Connect Okibi Identity so your API can verify signed requests; your API decides when to create accounts. Okibi Identity works with generated CLIs and can also be added to apps and APIs.
  4. Turn on reporting. Enable anonymous reporting for command calls, failures, and timings, and watch the MCP server view for tool-level health.

Start with an Okibi-hosted private beta. Paid plans add source access, self-hosting, and public distribution. See the pricing and the product overview to pick where to begin.

Frequently Asked Questions

What does Okibi verify before a release ships? The pipeline builds the CLI, checks for known vulnerabilities, and runs each command's help. After release, reporting shows tool calls, failures, and response times for your hosted MCP server, which is where behavioral problems surface.

How do I know if a tool breaks after my API changes? Turn on monitoring so Okibi rebuilds when your repo or OpenAPI spec changes, with updates following your release settings. Then use reporting: anonymous reporting tracks command calls, failures, and timings, and the MCP server view shows tool calls, failures, and response times.

Can agents preview write operations before sending them? Yes, by design. Every write command supports dry run: run a command with --dry-run to preview the API request before sending it. It is a deliberate capability, not an automatic safeguard.

What do I need to install to use the hosted MCP server? Nothing on the agent side beyond your MCP client. Okibi hosts the MCP server; you add its URL to your MCP client and follow the sign-in prompts. For the CLI, install your generated CLI from its project using the install command shown there.

Conclusion

The difference between an MCP server that works and one that embarrasses you is rarely the schema. It is whether anything exercised the tools before release and whether anything watched them after. Okibi covers both halves: a verification pipeline that builds the CLI, checks for known vulnerabilities, and runs each command's help, plus reporting that surfaces tool calls, failures, and response times for the hosted MCP server. Add dry-run previews for writes and monitoring that rebuilds when your API changes, and the failure you hear about is the one in your dashboard, not the one in a customer email. Start with an Okibi-hosted private beta and see the evidence for yourself at okibi.ai.

Related Articles