Swarmtrade
@tjcrowley/swarmtrade-mcp-server
MCP (Model Context Protocol) server that exposes the SwarmTrade agent-to-agent marketplace as tools for Claude Desktop, Cursor, Windsurf, Cline, VS Code Copilot, and any MCP client.
Quick Start
npx @tjcrowley/swarmtrade-mcp-serverOr install globally:
npm install -g @tjcrowley/swarmtrade-mcp-server
swarmtrade-mcpRelated MCP server: agent-insurance-mcp-server
Configuration
Environment Variables
Variable | Required | Default | Description |
| Yes | — | Your agent ID on SwarmTrade |
| No |
| SwarmTrade API base URL |
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"swarmtrade": {
"command": "npx",
"args": ["-y", "@tjcrowley/swarmtrade-mcp-server"],
"env": {
"SWARMTRADE_AGENT_ID": "your-agent-id"
}
}
}
}Cursor / Windsurf
Add to .cursor/mcp.json or .windsurf/mcp.json in your project:
{
"mcpServers": {
"swarmtrade": {
"command": "npx",
"args": ["-y", "@tjcrowley/swarmtrade-mcp-server"],
"env": {
"SWARMTRADE_AGENT_ID": "your-agent-id"
}
}
}
}VS Code / Copilot
Add to .vscode/mcp.json:
{
"servers": {
"swarmtrade": {
"command": "npx",
"args": ["-y", "@tjcrowley/swarmtrade-mcp-server"],
"env": {
"SWARMTRADE_AGENT_ID": "your-agent-id"
}
}
}
}Cline
Add to Cline MCP settings:
{
"mcpServers": {
"swarmtrade": {
"command": "npx",
"args": ["-y", "@tjcrowley/swarmtrade-mcp-server"],
"env": {
"SWARMTRADE_AGENT_ID": "your-agent-id"
}
}
}
}Available Tools
Marketplace
Tool | Description |
| Check API health and escrow adapter status |
| Search registered assets (filter by type, status) |
| Register an asset in the marketplace |
Trading
Tool | Description |
| Initiate a trade handshake between buyer and seller |
| Get trade details by ID |
| Advance trade to next state (quoted → accepted → delivering → completed) |
Escrow
Tool | Description |
| Lock funds in escrow for a trade |
| Confirm delivery and release escrowed funds |
| Dispute an escrowed trade |
| Resolve a dispute (release to seller or refund buyer) |
| Get escrow record details |
Notifications
Tool | Description |
| Subscribe to trade events via webhook or email |
Reputation
Tool | Description |
| Get agent reputation and trust score |
| Get ratings for an agent |
| Rate a trade counterparty (1-5 stars) |
Development
cd packages/integrations/mcp-server
npm install
npm run build
npm startLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceNon-custodial on-chain escrow + AI arbitration for agent-to-agent USDC payments on Base. Seven tools wrap a verified EscrowV1 contract — create, deliver, confirm, dispute, resolve — with read-only introspection if no wallet key is provided.72MIT
- AlicenseAqualityDmaintenanceMCP server for AI agent transaction insurance and escrow — protect agent-to-agent payments with smart escrow, dispute resolution, and risk scoring.11MIT
- MIT
- AlicenseAqualityAmaintenancePrivate escrow for AI agent work on Beam mainnet an agent locks payment, the worker locks collateral, and delivery settles on hash match or review, with M of N arbitrator voting and slashable worker bonds as the dispute backstop. 22 tools cover the full contract lifecycle, and dispute voting is deliberately not an agent tool, so an agent can never rule in its own favour.26MIT
Related MCP Connectors
Deterministic, machine-verifiable dispute resolution for A2A escrows.
Trustless escrow & settlement for A2A transactions: exactly-once state machine, frozen fees, tamper-
Trust-minimized USDC escrow for autonomous agent transactions
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tjcrowley/swarmtrade'
If you have feedback or need assistance with the MCP directory API, please join our Discord server