Skip to content
lynxby

Tools and integrations

Bring your own agent without losing the trail

Claude Code, Codex, OpenCode or something in-house: three doors for tools and model traffic, and one honest limit.

A harness is a person's own agent: Claude Code, Codex, OpenCode, Copilot, Pi or something built in-house. Lynxby does not have to run it. It has to be able to see what the harness did.

Three doors

MCP at POST /mcp carries tool calls: ask this organisation's knowledge, run tasks and assistants, list and decide parked runs, and call read-only connector actions. Chat completions at POST /api/v1/chat/completions carries the harness's own reasoning through the platform router and budget. Anthropic messages at POST /api/v1/messages is the same in the shape Claude Code speaks.

A machine token carries scopes and an exposure profile. The profile decides which tools are described; a tool outside it is absent, not refused. Ask for the scope of the surface the harness calls and no more.

The skill the harness reads

Tool descriptions say how to call a tool. They do not say "ask before you answer a company question". Each person has one capability skill, rendered from their own access and served at initialize and at GET /skill.md. It names their rule sets, the tools their token can call, the collections the documents live in, the connectors that are on, and the behaviour expected of the harness.

It is built from rows, never written by a model. Two people with different access get different text. Every serve writes a skill.served event with the version hash, never the text. The skill is an affordance, not an authorisation check: every call is checked again.

What you can see

The ledger filters on Client and Channel. A call carries the client name and version the client reported at initialize, the token prefix, the tool, the status and the duration. A model call through the gateway carries the route, provider, tokens and cost. A refused read is on the record next to the one that was served.

The limit, stated plainly

MCP does not carry model traffic. A harness that keeps its own model key and never calls the gateway has prompts that never reach the ledger. That is not a gap in the implementation; it is where the boundary is. If the model calls must be attributed, route them through the gateway as well.

Where it stops

A token is bound to the /mcp resource and refused on another endpoint. A model call that no route can serve is refused rather than silently sent elsewhere. And a client that asks for an unsupported protocol version is offered the newest the server speaks.

Related: MCP, model routing, API and tokens.

Want to see this on your own documents?

Contact us

Search all guides