Skip to main content
Glama

@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-server

Or install globally:

npm install -g @tjcrowley/swarmtrade-mcp-server
swarmtrade-mcp

Related MCP server: agent-insurance-mcp-server

Configuration

Environment Variables

Variable

Required

Default

Description

SWARMTRADE_AGENT_ID

Yes

Your agent ID on SwarmTrade

SWARMTRADE_URL

No

https://swarmtrade.store

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

swarmtrade_health

Check API health and escrow adapter status

swarmtrade_search_assets

Search registered assets (filter by type, status)

swarmtrade_announce_asset

Register an asset in the marketplace

Trading

Tool

Description

swarmtrade_create_trade

Initiate a trade handshake between buyer and seller

swarmtrade_get_trade

Get trade details by ID

swarmtrade_transition_trade

Advance trade to next state (quoted → accepted → delivering → completed)

Escrow

Tool

Description

swarmtrade_lock_escrow

Lock funds in escrow for a trade

swarmtrade_confirm_delivery

Confirm delivery and release escrowed funds

swarmtrade_dispute_trade

Dispute an escrowed trade

swarmtrade_resolve_dispute

Resolve a dispute (release to seller or refund buyer)

swarmtrade_get_escrow

Get escrow record details

Notifications

Tool

Description

swarmtrade_subscribe_notifications

Subscribe to trade events via webhook or email

Reputation

Tool

Description

swarmtrade_get_reputation

Get agent reputation and trust score

swarmtrade_get_ratings

Get ratings for an agent

swarmtrade_rate_trade

Rate a trade counterparty (1-5 stars)

Development

cd packages/integrations/mcp-server
npm install
npm run build
npm start

License

MIT

Install Server
A
license - permissive license
A
quality
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    Non-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.
    7
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Private 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.
    26
    MIT

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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