Connect an MCP client
Add the Trustvice MCP server at https://mcp.trustvice.com/mcp to Claude Code, Cursor or VS Code.
The job
You want an assistant or an editor agent to use Trustvice actions directly. The hosted MCP server is backed by the same action registry as the REST API, so an action behaves the same way on both.
Before you start
- Account
- A Trustvice workspace
- Credential
- You also need
- An MCP client that supports remote servers over HTTP
The code reads secrets from environment variables. Keep them in your shell or your secret store, never in a file you commit. Action calls also send X-Workspace-Id.
Steps
Add the server
Register the server under a name of your choice; these examples use
trustvice. Claude Code takes one command; Cursor and VS Code read a JSON file in the project.claude mcp add --transport http trustvice https://mcp.trustvice.com/mcp{ "mcpServers": { "trustvice": { "url": "https://mcp.trustvice.com/mcp" } } }{ "servers": { "trustvice": { "type": "http", "url": "https://mcp.trustvice.com/mcp" } } }Use the actions
Actions keep their ids, inputs, permissions and safety levels over MCP. Destructive and billing actions still need a confirmation, as on REST, and a missing permission still names the permission that was required.
Copied from: /docs/ai#mcp
What you can rely on
You can rely on
- The server is hosted by Trustvice: there is no package to install.
- An action called over MCP behaves the same as over REST.
Do not assume
- That your client can call every action: your credential's permission scope still applies.
- That your client asks you before a gated action: the confirmation is enforced by Trustvice, not by the client.
Every statement above comes from the Trustvice docs linked on this page. Where a docs page says more, it is the reference.
Next steps
Related recipes
Call an Agentic API action
Mint an OAuth access token, find an action in the public catalogue and call it at POST /api/v1/actions/<id>.
Confirm a destructive action
Handle 412 confirmation_required: mint a confirmation token and replay the call with X-Trustvice-Confirmation.
Verify a receipt in the browser
Paste a Trustvice signed receipt into /verify and check its Ed25519 signature in your own browser.
New recipes by email
One short email when we add recipes to the cookbook. No other mail, and you can unsubscribe from any message.
Start with the Agentic API.
One POST endpoint per registered action, with the same behaviour over REST and MCP. The docs list every action with its input and permissions.
