Skip to content
Last updated

MCP integration

TrueScreen supports MCP integrations in addition to the REST Public API. This lets AI clients such as Cursor or Claude Desktop call curated TrueScreen operations directly, without building raw HTTP requests by hand.

TrueScreen provides two MCP servers:

  • a remote MCP server for text and JSON operations,
  • a local MCP server for the same operations plus flows that need file uploads from your machine.

AI client

Remote MCP server

Local MCP server

TrueScreen Public API

Local filesystem

AI client

Remote MCP server

Local MCP server

TrueScreen Public API

Local filesystem


Choose the right server

Use caseRemote MCPLocal MCP
Get creditsYesYes
List available templatesYesYes
Create a True Flow without local file uploadYesYes
Create a hash certificationYesYes
Check certification statusYesYes
Wait for certification completionYesYes
Create a file certification from files on diskNoYes
Upload a True Flow attachment from files on diskNoYes

In practice:

  • Use the remote MCP server when your workflow is fully text or JSON based.
  • Use the local MCP server when the workflow includes a file that must be read from your machine and uploaded.

What each server can do

Available on both MCP servers

These tools are available on both the remote and local server:

  • truescreen_get_credits
  • truescreen_list_templates
  • truescreen_create_true_flow
  • truescreen_create_hash_certification
  • truescreen_get_certification
  • truescreen_wait_for_certification

Available only on the local MCP server

These tools are available only on the local server:

  • truescreen_create_file_certification_attachments
  • truescreen_upload_file
  • truescreen_create_file_certification
  • truescreen_create_true_flow_attachment

Use the local server when you need:

  • file certification, because the workflow includes file upload,
  • True Flow attachments, because the file must be read locally before upload.

MCP to REST mapping

Each MCP tool maps to one or more Public API calls. Use this table to move between the MCP surface and the corresponding REST documentation.

MCP toolREST callREST documentation
truescreen_get_creditsGET /v1/creditsCertification overview - Credits
truescreen_list_templatesGET /v1/templatesTrue Flow call flow - Flow template token
truescreen_create_true_flowPOST /v1/true-flowsTrue Flow call flow - Use cases
truescreen_create_hash_certificationPOST /v1/hash-certificationsCertification call flow - Hash certification
truescreen_get_certificationGET /v1/certifications/{reportId}Certification call flow - Checking certification status
truescreen_wait_for_certificationPolling GET /v1/certifications/{reportId}Certification overview - Asynchronous process
truescreen_create_file_certification_attachmentsPOST /v1/file-certifications-attachmentsCertification call flow - File certification
truescreen_upload_filePUT upload_url on the presigned URL returned by the APICertification call flow - Step 2 upload the files
truescreen_create_file_certificationPOST /v1/file-certificationsCertification call flow - File certification
truescreen_create_true_flow_attachmentPOST /v1/true-flows-attachments and PUT upload_url before POST /v1/true-flowsTrue Flow call flow - True Flow creation with attachments

If you need the schema-level contract for any of these calls, use the OpenAPI spec alongside the workflow guides.


Install the remote MCP server

The remote server is the simplest option when you do not need local file access. You configure your MCP client with the TrueScreen MCP URL and the same API key you use for the REST API.

Requirements

  • A valid TrueScreen API key
  • An MCP client that supports Streamable HTTP

Cursor example

Add this to your mcp.json:

{
  "mcpServers": {
    "truescreen": {
      "url": "https://mcp.truescreen.app/mcp",
      "headers": {
        "Authorization": "Bearer abc..."
      }
    }
  }
}

Notes

  • The API key is sent in the Authorization header as a Bearer token.
  • No local Node.js process is required.
  • Any MCP client with equivalent URL and header configuration can use the same remote server.

Install the local MCP server

The local server runs as a Node.js process on your machine. It is the right choice when the workflow needs files from disk.

Requirements

  • A valid TrueScreen API key
  • Node.js 20 or later

Cursor example

Add this to your mcp.json:

{
  "mcpServers": {
    "truescreen-local": {
      "command": "npx",
      "args": ["-y", "@truescreen/mcp"],
      "env": {
        "TRUESCREEN_API_KEY": "abc..."
      }
    }
  }
}

Optional environment selection

If you need a non-production environment, you can also set MCP_ENV tovstg.

{
  "mcpServers": {
    "truescreen-local": {
      "command": "npx",
      "args": ["-y", "@truescreen/mcp"],
      "env": {
        "TRUESCREEN_API_KEY": "abc...",
        "MCP_ENV": "stg"
      }
    }
  }
}

Notes

  • Use the local server as a package executed by the MCP client, typically with npx -y @truescreen/mcp.
  • In normal usage you do not install it into your application with npm i @truescreen/mcp.
  • The local package name is @truescreen/mcp.
  • The client starts the process for you; you do not need to run a separate daemon manually.
  • The same MCP client can be configured with both the remote and local server at the same time.

Typical selection

Use remote MCP when you want the fastest setup and your workflow does not upload files.

Use local MCP when you want to:

  • create file certifications from local documents,
  • upload attachments for a True Flow,
  • keep both text operations and upload operations in the same MCP client.