Documentation

AI agent integration (MCP)

Connect a compatible AI agent to VT Planner. Find the MCP server URL, OAuth settings, permissions, and example tools for elevator traffic studies.

VT Planner supports remote connections through the Model Context Protocol (MCP). Use a compatible client to work with projects, run analyses, and retrieve saved results and PDF reports. You authorize the connection with your VT Planner account. No local server or API key is required.

Connection settings

Send the exact server URL as the OAuth resource parameter in both the authorization request and the token request that exchanges the code.

Authorization and tool discovery

An unauthenticated request returns HTTP 401. The client reads resource_metadata from the WWW-Authenticate header to discover the protected resource and its authorization server. Sign in to VT Planner when prompted and approve the permissions and project access you want to grant. See the MCP authorization specification.

The client uses Authorization: Bearer <access-token> on every MCP request. Complete initialization with initialize and notifications/initialized, then call tools/list for tool names and input schemas. See the MCP connection lifecycle.

Permissions and project access

  • workspace:read — Read projects, buildings, elevator setups, run history, and saved results.
  • workspace:write — Create or edit projects and save buildings and elevator setups. Creating a project requires access to all projects.
  • analysis:run — Validate and launch analyses using a saved building and elevator setup. Account permissions and limits still apply.
  • report:read — Request a temporary PDF download link for an authorized run with saved results and enough data to generate the report.

You can grant access to specific projects or to all projects in the account, including future projects. To revoke a connection, open Account → Integrations in VT Planner.

Example workflow

  1. Call list_projects to find a project. Use a saved building and elevator setup for the study.
  2. Call validate_analysis to check the scenario without starting a run.
  3. Call launch_analysis_run to queue the analysis. Reuse the same idempotencyKey if retrying that launch.
  4. Use the returned run ID with get_analysis_run to check its status. Set includeDetails to true to request the full saved results.
  5. Call get_analysis_pdf to request a temporary PDF download link when the run has enough saved data to generate a report.