Docs

Run your first real governed call

Discover the sample echo tool, invoke it, change a scoped rule, and verify that the next call is blocked.

Product v2.0.0Explanation / guide

This page is a rebuild draft for team review. Check your deployed version before applying its instructions.

What you will prove

This exercise uses the repository's Flask starter MCP server and its echo tool. You will see real discovery, a forwarded tool result, a published policy denial, and readable invocation evidence. No AI model, database query, or external provider credential is involved.

The browser demo uses fictional data tables to explain the broader workflow. This live exercise deliberately starts with a simpler tool. It does not verify table or column extraction.

Before you start

  • Use a writable, non-production Data Plane with catalog, policy, discovery, gateway, and telemetry services enabled.
  • Have permission to create and remove sample actors, MCP connections, bindings, and rules.
  • Run the bundled Flask starter MCP server at an endpoint reachable from the Data Plane. In the workbench learning Compose stack, that endpoint is http://starter-mcp:8080.
  • Have Python 3 and a checkout containing scripts/docs-exercise.py.
  • In an authenticated deployment, provide the required administrative bearer token through FABURAI_ADMIN_TOKEN. Obtain it through your installation's approved login flow.

The shared public demo is read-only. This exercise cannot run there. The browser simulation needs none of these prerequisites.

Run the exercise on workbench

The existing workbench learning environment is at http://192.168.1.74:9090. From the Product checkout, run:

python3 scripts/docs-exercise.py   --base-url http://192.168.1.74:9090   --endpoint http://starter-mcp:8080

For another private sandbox, replace both URLs. The first URL is reachable from the computer running the script; the second is reachable from the Data Plane. They are not interchangeable.

The script makes real writes using uniquely named docs-exercise-* records. It never edits an existing connection or actor. The generated actor API key stays in process memory and is never printed or saved.

Read the steps as they happen

  1. Register a fresh sample MCP connection in enforce mode and trigger real discovery.
  2. Find the discovered echo tool and create a sample actor and temporary actor key.
  3. Publish an allow rule scoped to that actor and tool, then create the tool binding.
  4. Invoke echo through /api/dp/v1/gateway/invoke. Confirm the returned text came from the upstream server.
  5. Change this exercise rule's effect to deny and repeat the same invocation.
  6. Confirm allowed: false, decision: deny, and readable invocation chains for both outcomes.
  7. Remove the sample binding, rule, actor, and connection in cleanup.

Expected result

real discovery found echo
allowed invoke returned the real upstream echo result
published deny blocked the same tool call
invocation chains were readable for both outcomes
Removed this run's sample binding, rule, actor and connection.

The report includes invocation IDs so you can correlate evidence in Decisions Log and telemetry. Normal audit history remains after cleanup. If a step fails, the script exits with an error instead of presenting simulated success.

If it fails

A 403 often means missing write permission or a read-only tenant. An endpoint or discovery failure means the Data Plane could not complete the MCP handshake or enumerate tools. An allow step with no real echo result is not success. A deny step that still allows work requires checking mode, rule state, and scope.

If cleanup fails, the script names only its sample object IDs for follow-up removal. Troubleshoot the first call before retrying.

Verification boundary

This exercise was run on the private workbench learning Data Plane on October 3, 2026. That sandbox uses its existing earlier product snapshot with a Connect compatibility patch. The documentation reference is generated separately from the rebuild branch. Re-run the exercise for the product version and identity configuration you intend to use.

Next: Understand the policy decision or connect your application.

About this page and its source

Knowledge ID: getting-started. Reference snapshot: c60ee75. Generated 2026-10-28. Authored explanations accompany source-derived facts; a build date does not establish runtime support.