# MCP server

The Model Context Protocol (MCP) allows AI assistants to connect directly to external tools and documentation. The Trustap MCP server lets AI tools like Claude, Cursor, and VS Code query Trustap’s API documentation in real time. This means you can ask your AI assistant Trustap-specific questions and receive accurate responses.

## Add the Trustap MCP server

The Trustap MCP server endpoint is available at the following path.


```
https://docs.trustap.com/mcp
```

### Automatically configure

Use **Connect MCP** to automatically configure your AI assistant to use the Trustap docs MCP server.

### Manually configure

Use the following guides to manually configure your AI assistant to use the Trustap docs MCP server.

Cursor
1. Open Cursor Settings
  * Open the command palette:
    * macOS: `Command` + `Shift` + `P`.
    * Windows/Linux: `Ctrl` + `Shift` + `P`.
  * Type: `Open MCP settings` and select the option.
2. Add Custom MCP Server
  * Select the option to add a **New MCP Server**. The `mcp.json` file opens in your editor.
3. Configure the Server
  * Add the configuration block inside the `mcpServers` object.

```json
{
  "mcpServers": {
    "trustap-mcp": {
      "url": "https://docs.trustap.com/mcp"
    }
  }
}
```


Visual Studio Code (VS Code)
1. In VS Code, open the command palette.
  * macOS: `Command` + `Shift` + `P`.
  * Windows/Linux: `Ctrl` + `Shift` + `P`.
2. Type `MCP: Add Server` in the command palette.
3. Select **HTTP** to connect to a remote MCP server.
4. Enter the MCP server URL.



```
https://docs.trustap.com/mcp
```

1. Enter a name for the connection.


## Use

Open your AI assistant in Agent mode (or a mode that supports tools). Open the Tools panel and confirm the Trustap MCP server is listed.
If connected successfully, you will see available Trustap documentation tools.

### Test queries

Use the following test queries to confirm your connection to the Trustap docs MCP server.


```
Show me how to create a Trustap transaction for a buyer and seller to exchange concert tickets for $100
```


```
What are the parameters for creating a Trustap guest user
```