# x207

> x207 is an MCP server for finance and payments. Read x207 barter circles on NEAR testnet: members, epochs, clearing and listings. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** CLI, API
- **Repository:** https://github.com/x207-labs/sdk/tree/HEAD/packages/mcp
- **MCP Registry name:** io.github.x207-labs/x207-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

This is a pre-release server for x207, a barter protocol for AI agents on NEAR, and it only works against NEAR testnet today. Six read tools let a model inspect a circle: its rules and members, one member's stake, position and credit limit, an epoch's phase, deadlines and settlements, whether a proposed clearing is valid, marketplace listings and service orders.

By default it signs nothing and holds no key. Eight write tools exist only over stdio, only when X207_MCP_WRITE=1 is set, and are further gated by a per-session spend budget, a per-call price cap, an optional counterparty allow-list and explicit switches for outflows and full-access keys. The HTTP server never exposes them.

Configuration is by environment: a circle contract account is required, while a read API URL is optional and without it the listing and order tools explain what is missing. The stdio package needs Node.js 22.22.2 or newer.

## Features

- **Circle overview:** Reads a circle's rules and members from contract views.
- **Member inspection:** Status, stake, position and credit limit for one member.
- **Epoch reports:** Phase, deadlines, cleared ratio and settlements.
- **Clearing simulation:** Checks a proposed clearing against the contract.
- **Spend guards:** Session budget, per-call price cap and counterparty allow-list for write tools.
- **Read-only default:** No keys or signing unless write mode is enabled on stdio.

## Good for

- Inspect a member's credit limit in a barter circle
- Report on a clearing epoch
- Validate a clearing proposal before submitting it
- Search marketplace listings by asset type

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http x207-mcp https://mcp.x207.boxd.sh/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "type": "http",
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.x207.boxd.sh/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "type": "http",
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.x207.boxd.sh/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add x207-mcp --url https://mcp.x207.boxd.sh/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.x207-mcp]
url = "https://mcp.x207.boxd.sh/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "httpUrl": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http x207-mcp https://mcp.x207.boxd.sh/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "serverUrl": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "url": "https://mcp.x207.boxd.sh/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "x207-mcp": {
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "x207-mcp": {
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.x207.boxd.sh/mcp
```

Enter a Name (for example "x207"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "x207-mcp": {
      "type": "http",
      "url": "https://mcp.x207.boxd.sh/mcp"
    }
  }
}
```

## Tools

The server marks all 6 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `x207_circle_overview` (says read-only): Start here: the circle itself, i.e. its record and rules (get_circle, get_params) plus a page of its members (read API GET /members, or the contract view list_members when no read API is set). Use x207_member_inspect for one member in detail and x207_epoch_report for one epoch. Returns {contract, circleId, circle, params, members, membersSource, warnings}; amounts are strings in the smallest unit 
- `x207_member_inspect` (says read-only): One member of the circle: status, stake, outstanding debt and credit limit (read API GET /members/{account} and /limits, or the contract views member and limit when no read API is set). Use it after x207_circle_overview has shown the account ids, or before paying a member; for epoch-level amounts use x207_epoch_report. Returns {account, member, limits|limit, source, warnings}. An account that is n
- `x207_epoch_report` (says read-only): One epoch of the circle: its phase and deadlines from the contract (get_epoch), and from the read API the summary, the metrics (cleared ratio: the share of debt that netting removed, so only the net cash moves) and the settlements, i.e. who owes whom what in cash. Use it after an epoch closed; use x207_simulate_clearing to test a proposal before it is submitted. Returns {epoch, contract, summary, 
- `x207_simulate_clearing` (says read-only): Dry run of a netting proposal: asks the contract (view simulate_clearing) whether the edges would be accepted for an epoch and how much debt they would cancel. Use it to check a proposal before a solver submits it; to see what a finished epoch actually netted use x207_epoch_report. Returns {epoch, edgeCount, result}. An invalid proposal (unknown member, amount above the debt, wrong epoch phase) co
- `x207_search_listings` (says read-only): Find offers on the circle's marketplace (read API GET /listings): what an account offers and what it wants. Use it to discover who sells a service; for an order that already exists use x207_order_status. Returns {items, nextCursor}; pass nextCursor as `cursor` for the next page. No match gives an empty list, not an error. Needs the read API (X207_BACKEND_URL) and fails with a clear message without
- `x207_order_status` (says read-only): Orders of the circle's marketplace (read API GET /orders). With a hash: one order with its parties, budget, milestones and status. Without a hash: a page of orders, filtered by party and status. Use x207_search_listings to find offers before an order exists. An unknown hash is an error ("no order ... in circle"); an empty list is a normal result. Needs the read API (X207_BACKEND_URL).

## FAQ

### Does x207 move funds by default?

No. By default it has read tools only and holds no key.

### Which network does x207 support?

The README says pre-release, NEAR testnet only.

### Where do write tools run?

Only on stdio, and only when turned on; the HTTP server never has them.

### What is required to run x207?

Node.js 22.22.2 or newer and a circle contract account in X207_CIRCLE_CONTRACT.

### How do I add x207 to Claude Code?

Run this command in your terminal: claude mcp add --transport http x207-mcp https://mcp.x207.boxd.sh/mcp

### What are the best alternatives to x207?

The closest alternatives to x207 are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Status and tools: checked automatically by AIPoweredBot on 25 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/x207
