Industries

Find Topolo for your industry.

Browse all industries →
Roles & teams
Workflows
FeaturesApp StorePricingWhy TopoloOneSign in
All articles

developers · cli · mcp · ai agents · coding agents · agent workflows

Give your coding agent a governed place to work

A real, read-only Topolo CLI and MCP exercise: connect your agent, inspect a native action, validate input, retrieve versioned documentation evidence and evaluate a business workflow safely.

5 min readTopolo Technology

A coding agent can edit a repository in seconds. But can it safely examine a real business system, understand what it is allowed to change, and show you the persisted result? That's a different problem: operating boundaries, not simply better prompts.

Topolo's CLI and MCP connection let a coding agent discover credential-scoped applications, inspect published action contracts, validate proposed inputs and verify outcomes. This guide includes a real, read-only exercise using Topolo Docs: no fake customer records, payment attempts, outreach or business-data writes.

1. Connect your existing agent host

Use Node.js 20 or newer. On a workstation you control and are authorized to configure, install the CLI, sign in, register the compatible MCP server and run its connection check:

npm install --global @topolo/cli
topolo --version
topolo auth login
topolo auth status --json
topolo whoami --json
topolo setup
topolo doctor

topolo auth login requires a browser/device approval. topolo setup changes local agent-host configuration and may require restarting your host before it loads the connection. topolo doctor checks authentication, MCP handshake, discovery and identity — not whether a business workflow has succeeded. If your machine already has a managed installation, follow its owner's version and upgrade policy instead of blindly replacing it.

For parallel agents, pin a discovered context rather than switching a shared default. topolo context ls --json lists stored choices; a named setup can use topolo setup --name <connection-name> --context <returned-context-key> after you replace both placeholders. The active credential — not a model-generated organization override — determines which organization the agent represents.

2. Find the action before deciding how to call it

topolo whoami --json
topolo apps --json
topolo actions --service topolo-docs --query public_machine.index --json
topolo actions get app_topolo_docs.public_machine.index --json

The credential-scoped catalogue provides the exact action ID, input schema, required permissions, effects and verification instructions. The target service still enforces its own rules at execution time; discovery alone is not authorization. Do not substitute a guessed private endpoint.

3. Run one real, read-only product exercise

Topolo Docs publishes a machine-readable index of versioned documentation. We independently exercised the app_topolo_docs.public_machine.index read action against the production topolo-platform documentation space on 10 November 2026 and received a versioned index containing document IDs, immutable version IDs and public machine URLs. The exercise below lets you obtain and inspect your own result; its count can change as new documentation is published.

Create a local file called payload.json containing the exact action input:

{
  "spaceSlug": "topolo-platform"
}

Now validate the payload, plan without changing data, then execute the same read:

topolo actions validate app_topolo_docs.public_machine.index --data @payload.json --json
topolo actions plan app_topolo_docs.public_machine.index --data @payload.json --json
topolo actions call app_topolo_docs.public_machine.index --data @payload.json --json

Acceptance test: confirm the result reports spaceSlug: topolo-platform, a formatVersion, and document entries with documentId, versionId and machineUrl. Open one returned machine URL and compare its version identifier with the index record. This is a genuine retrievable output, not an AI-written success story. If the contract or response differs, inspect the current published action and its error before proceeding.

4. Give your coding agent a precise task

Copy the following into your preferred MCP-enabled agent after its Topolo connection is working. It is deliberately restricted to reads:

Using the connected Topolo identity only:
1. Run whoami and tell me the exact organization and role.
2. Find the published Topolo Docs action public_machine.index.
3. Inspect its input/output schema, side effects and error guidance.
4. Validate and plan a read of spaceSlug "topolo-platform".
5. Execute that read; do not mutate any resource or change identity/permissions.
6. Show the returned formatVersion, one documentId, versionId and machineUrl.
7. Read that machine resource and compare its version ID to the index.
8. Report what you verified, what you did not verify, and the one safe next action.

If the agent reports a success without a matching readback, treat it as unfinished. If you see a permission refusal, preserve its exact error and request ID. Fix the authorized scope or resource context through the supported workflow; do not try alternate credentials or hidden routes to bypass it.

5. Apply the same discipline to a business workflow

  1. Define one buyer-visible outcome. For example: a consented enquiry becomes an owned CRM record and a clear next action; that is more useful than merely 'send form data'.
  2. Separate read, write and external effect. Identify which action would create a record, which would notify someone, which would publish externally, and which needs separate approval.
  3. Validate the native contract. Inspect required fields, workspace and organization context, permission boundaries, duplicate handling and failure states before any mutation.
  4. Use an acceptance test. Read back the exact persisted object, verify identity and timestamp, and distinguish an internal test from an actual customer enquiry or booking.
  5. Measure human attention. Record whether the agent finished the verified task and how much supervision, repair and review it required. Speed of generating text is not a substitute for completed, verified work.

A 15-minute evaluation scorecard

  • Connection: Did the agent establish its exact identity and organization without assuming?
  • Contract: Did it show the live schema, required permission and effect of the selected operation?
  • Evidence: Can you inspect an actual response or versioned record outside the agent's prose?
  • Safety: Did it avoid unauthorized writes, external communication, permission changes and customer commitments?
  • Decision: Is there one narrow workflow worth testing next with an explicit owner and acceptance criterion?

For exact CLI syntax, version-specific setup behavior and security boundaries, use the current CLI package guide and agent automation guide. These documents are the reference when an installed CLI version differs from an example here.

See Topolo on an operational problem

Prefer seeing a buyer workflow to reading another feature list? Explore the 20-minute hands-on enquiry-and-booking workflow, or request a tailored demonstration if your organization has a specific workflow to test. A request is not a confirmed booking; contact details and consent are handled by the existing form.

See the platform

Explore how TopoloOne gives people and agents one identity, one catalog, and one permissioned action layer.

Why TopoloOne