MCP Setup Guide
Step-by-step instructions for setting up the Transactional MCP server with Claude Desktop and Claude Code.
MCP Setup Guide
This guide walks you through setting up the Transactional MCP server with Claude Desktop and Claude Code.
Prerequisites
- A Transactional account
- Claude Desktop or Claude Code installed
- The Transactional CLI installed (optional, for automated setup)
How Authentication Works
Transactional MCP uses OAuth 2.1 for authentication, following the MCP Authorization specification. This means:
- No tokens in config files - Your credentials are never stored in plain text
- Secure browser-based login - You authenticate through your browser
- Automatic token refresh - Claude handles token management
When you first use Transactional tools, Claude will prompt you to authorize access to your Transactional account through your browser.
Method 1: Claude Desktop (Pro/Max/Team/Enterprise)
For paid Claude plans, you can add remote MCP servers directly through the UI:
Step 1: Open Settings
In Claude Desktop, go to Settings → Integrations
Step 2: Add Custom Integration
Click "+ Add Custom Integration" and enter:
https://mcp.usetransactional.com
Step 3: Authorize
When you first use a Transactional tool, Claude will open your browser to complete OAuth authorization. Log in with your Transactional account and approve access.
That's it! Claude handles the OAuth flow automatically.
Method 2: Claude Desktop (Free/JSON Config)
For free-tier users or those who prefer JSON configuration, use the mcp-remote wrapper:
Step 1: Install mcp-remote
npm install -g mcp-remoteStep 2: Install via CLI (Recommended)
transactional mcp install --target claude-desktopThis creates the proper configuration automatically.
Step 3: Manual Configuration (Alternative)
Edit your Claude Desktop config file:
| Platform | Location |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/claude/claude_desktop_config.json |
Add the following configuration:
{
"mcpServers": {
"transactional": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.usetransactional.com"]
}
}
}Step 4: Restart and Authorize
Restart Claude Desktop. When you first use a Transactional tool, you'll be prompted to authorize through your browser.
Method 3: Claude Code
Claude Code supports remote MCP servers with OAuth directly.
Step 1: Install via CLI (Recommended)
transactional mcp install --target claude-codeStep 2: Manual Configuration (Alternative)
Edit ~/.claude.json:
{
"mcpServers": {
"transactional": {
"url": "https://mcp.usetransactional.com/mcp"
}
}
}Step 3: Authorize
When you first use a Transactional tool in Claude Code, you'll be prompted to authorize through your browser.
Install to Both
To install for both Claude Desktop and Claude Code at once:
transactional mcp installOr explicitly:
transactional mcp install --target bothVerify Installation
Check Status
transactional mcp statusAsk Claude
In Claude Desktop or Code, ask: "What Transactional tools do you have access to?"
OAuth Flow Details
The authorization flow follows the MCP OAuth 2.1 specification:
- Initial Request: Claude makes a request to the MCP server
- 401 Challenge: Server returns 401 with
WWW-Authenticateheader containing the Protected Resource Metadata URL - Metadata Discovery: Claude fetches OAuth metadata from
/.well-known/oauth-protected-resource - Authorization: Claude redirects you to the authorization endpoint
- Login: You log in to Transactional and approve access
- Token Exchange: Claude exchanges the authorization code for an access token
- Authenticated Requests: Subsequent requests include the access token
OAuth Endpoints
| Endpoint | Purpose |
|---|---|
/.well-known/oauth-protected-resource | Protected Resource Metadata |
/.well-known/oauth-authorization-server | Authorization Server Metadata |
/mcp/authorize | Authorization endpoint |
/mcp/token | Token endpoint |
/mcp/register | Dynamic Client Registration |
Managing Installation
Update Configuration
transactional mcp install --forceUninstall
transactional mcp uninstallOr for a specific target:
transactional mcp uninstall --target claude-desktop
transactional mcp uninstall --target claude-codeSelf-Hosted Instances
For self-hosted Transactional installations:
# Configure CLI for your instance
transactional config set apiUrl https://api.yourinstance.com
# Install MCP config
transactional mcp installThe CLI will automatically use your configured API URL for the MCP server.
Next Steps
- Available Tools - See all MCP tools
- Troubleshooting - Fix common issues
- Claude Code Guide - Claude Code specific features
Sources
On This Page
- MCP Setup Guide
- Prerequisites
- How Authentication Works
- Method 1: Claude Desktop (Pro/Max/Team/Enterprise)
- Step 1: Open Settings
- Step 2: Add Custom Integration
- Step 3: Authorize
- Method 2: Claude Desktop (Free/JSON Config)
- Step 1: Install mcp-remote
- Step 2: Install via CLI (Recommended)
- Step 3: Manual Configuration (Alternative)
- Step 4: Restart and Authorize
- Method 3: Claude Code
- Step 1: Install via CLI (Recommended)
- Step 2: Manual Configuration (Alternative)
- Step 3: Authorize
- Install to Both
- Verify Installation
- Check Status
- Ask Claude
- OAuth Flow Details
- OAuth Endpoints
- Managing Installation
- Update Configuration
- Uninstall
- Self-Hosted Instances
- Next Steps
- Sources