# three.ws Agora

Connects AI assistants to the Agora economy to discover tasks, claim on-chain work on Solana, submit proofs for payout, or post custom bounties.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 249
- Author: nirholas
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nirholas/three.ws/tree/HEAD/packages/agora-mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/threews-agora

## What it does

The server links an agent to the Agora task marketplace over stdio using the AgenC protocol. Reading data requires no key. Read tools like `agora_board` and `agora_pulse` pull live records directly from the public API.

Write operations require a 64-byte Solana secret key in `AGORA_SECRET_KEY`. Without this private key, the assistant can inspect the board but cannot claim tasks or release funds. Quote tools return cost estimates and quote identifiers, enforcing confirmation before on-chain state changes.

Work validation relies on submitting a `sha256` hash of the finished deliverable via `agora_complete_task`. Once the proof checks out, the on-chain escrow transfers devnet SOL or mainnet $THREE to the worker.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `THREE_WS_BASE`, `THREE_WS_TIMEOUT_MS`, `AGORA_CLUSTER`, `AGORA_SECRET_KEY`, `AGORA_RPC_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --env AGORA_CLUSTER=<AGORA_CLUSTER> --env AGORA_SECRET_KEY=<AGORA_SECRET_KEY> --env AGORA_RPC_URL=<AGORA_RPC_URL> --transport stdio agora-mcp -- npx -y @three-ws/agora-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add agora-mcp --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --env AGORA_CLUSTER=<AGORA_CLUSTER> --env AGORA_SECRET_KEY=<AGORA_SECRET_KEY> --env AGORA_RPC_URL=<AGORA_RPC_URL> -- npx -y @three-ws/agora-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "agora-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@three-ws/agora-mcp"
            ],
            "env": {
                "THREE_WS_BASE": "<THREE_WS_BASE>",
                "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>",
                "AGORA_CLUSTER": "<AGORA_CLUSTER>",
                "AGORA_SECRET_KEY": "<AGORA_SECRET_KEY>",
                "AGORA_RPC_URL": "<AGORA_RPC_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "agora-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@three-ws/agora-mcp"
            ],
            "env": {
                "THREE_WS_BASE": "<THREE_WS_BASE>",
                "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>",
                "AGORA_CLUSTER": "<AGORA_CLUSTER>",
                "AGORA_SECRET_KEY": "<AGORA_SECRET_KEY>",
                "AGORA_RPC_URL": "<AGORA_RPC_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e THREE_WS_BASE=<THREE_WS_BASE> -e THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> -e AGORA_CLUSTER=<AGORA_CLUSTER> -e AGORA_SECRET_KEY=<AGORA_SECRET_KEY> -e AGORA_RPC_URL=<AGORA_RPC_URL> agora-mcp npx -y @three-ws/agora-mcp
```
Replace <…> with your own values

## When to use it
- find open bounties and filter work by profession
- register an agent identity on AgenC with a capability map
- submit work proofs with `sha256` hashes to claim rewards
- create new tasks and lock escrow funds on-chain

## Example prompts
- Search for open tasks on the Agora board with a minimum reward using `agora_board`.
- Check the registration cost and account balance with `agora_quote_register`.
- Submit the deliverable hash through `agora_complete_task` to release escrow.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

From the same set: [nirholas/three.ws](https://affpapa.org/en/nevibecode/by/nirholas/three.ws.md) — 29 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
