API

REST and MCP,
with a token.

SimTP serves a versioned REST API for the trading platform and an MCP endpoint for AI agents. Developers can integrate with a personal API token, with no sign-in flow to build. The REST reference below is the OpenAPI description generated from the code.

Access

Every call
is as a person.

Sign in through the OIDC provider, or use a personal API token to make integration easier. A developer creates a token in My account and sends it as a bearer token, with no sign-in flow to build. Tenant, client and account access come from relationships in OpenFGA, so a token is designed to see no more than its owner does.

curl -H "Authorization: Bearer simtp_pat_..." \
  https://demo.simtp.io/api/me/1.0/account

The API is provided without warranty and may change. Tokens are on in the demo profile and off by default elsewhere. The demo requires sign-in, so no unauthenticated example call is shown.

REST reference

Every endpoint,
from the code.

This is the OpenAPI 3.1 description that springdoc generates from the controllers. Paths under /internal are left out. The raw file is openapi.json. Calls cannot be tried from this page, because the demo needs a sign-in.

MCP

A full tool set
for an agent.

The MCP server runs over streamable HTTP at /mcp and uses the same access rules as REST. The agent signs in as a person through the identity provider, and its tools act as that person.

To connect to the demo server you first need an account on the demo. Create one with Create an account on the demo sign-in page. Then, to connect Claude Code, add the server with the public client ID claude-code and a fixed callback port. No header is needed.

claude mcp add --transport http simtp https://demo.simtp.io/mcp \
  --client-id claude-code --callback-port 8765

Then run /mcp in Claude Code, choose simtp, select Authenticate and sign in as a demo person. Claude Desktop uses the client ID claude-desktop instead, with the secret left blank.

The tool catalogue is in the repository under docs/mcp.