For the complete documentation index, see llms.txt. This page is also available as Markdown.

MCP

Model Context Protocol (MCP) enables AI tools and agents to seamlessly integrate with Trustless Work’s escrow infrastructure through a unified and context-aware interface.

Connect Cursor to Trustless Work with MCP

Use MCP to let Cursor read Trustless Work docs and trigger escrow workflows from chat.

What to install

Use both servers together:

  • trustlesswork-docs gives Cursor direct access to the docs.

  • trustlesswork gives Cursor access to Trustless Work tools and actions.

Use the docs server for answers and code generation.

Use the product server for escrow actions and live operations.

Setup in Cursor

1

Open MCP settings

Open Cursor.

Go to Settings.

You can also use File → Preferences → Cursor Settings.

2

Open the MCP section

In the sidebar, open MCP → Tools/MCP.

This is where Cursor lists local and hosted MCP servers.

3

Add the Trustless Work servers

Click Add New MCP Server.

Cursor creates or opens mcp.json.

Paste the config above.

Save the file with Cmd+S or Ctrl+S.

4

Confirm the connection

Go to Settings → MCP → MCP Servers.

Cursor will detect the new entries and try to connect.

You should see:

  • a green Connected status

  • the available Trustless Work methods

Start using it

Open a new Cursor chat.

Switch to Agent Mode.

Then ask Cursor to work with Trustless Work directly.

Example prompts:

  • Create a new multi-release escrow with the SDK.

  • Generate code to call the changeMilestoneStatus endpoint.

  • Show me how to sign a transaction for releaseFunds.

What this unlocks

  • Ask Trustless Work questions in plain language

  • Generate SDK integrations faster

  • Walk through XDR signing flows

  • Trigger escrow operations from your editor

This gives you an AI-native workflow for Trustless Work development.

Troubleshooting

Server does not appear

Make sure mcp.json is in your project root.

Connection fails

Check these values:

  • the URL has no trailing slash

  • type is streamable-http

  • your network allows outbound requests

Cursor ignores MCP tools

Check these basics:

  • Agent Mode is enabled

  • you are in the right workspace

  • the JSON file has no syntax errors

Last updated