# Afg MCP server

Source: https://glimind.com/server/mcp-registry%2Fai.afg%2Fafg
Registry id: `mcp-registry/ai.afg/afg`
Status: live (checked 2026-10-27T04:31:19.056Z)

## Verdict

Afg MCP server answered 99.96% of Glimind's liveness checks over 30 days, better than 36% of MCP servers, with 408 ms median handshake and 2 outages in 90 days. Its agent-readiness grade is A (93/100) across 18 tools, costing an agent about 7,010 tokens to load. Checked every few minutes; no tool is ever called.

## Measurements (30 days)

| Metric | Value | Better than |
|---|---|---|
| Uptime, 30 days | 99.96% | 36% of MCP servers |
| Median handshake latency | 408 ms | 54% of MCP servers |
| p95 handshake latency | 2090 ms | — |
| Checks in 30 days | 5,027 | — |
| Outages, 90 days | 2 | — |
| Median recovery | 7 min | — |
| Agent-readiness score | 93/100 (A) | 76% of MCP servers |
| Tools | 18 | — |
| Tool-list size for an agent | ~7,010 tokens | 34% of MCP servers |
| Days observed | 29 | — |

## Install

```json
{
  "mcpServers": {
    "afg-mcp-server": {
      "type": "http",
      "url": "https://afg.ai/mcp"
    }
  }
}
```

Claude Code:

```sh
claude mcp add --transport http afg-mcp-server https://afg.ai/mcp
```

## Tools (18)

- `afg_about`: What AFG is, the job flow, the limits, and links. TEST MONEY ONLY: mock ledger, test tokens (tUSDC), no real funds. Start here.
- `afg_appeal`: The one appeal to an AI panel after a mediator ruling (POST /v1/jobs/{job_id}/appeal); commit-reveal majority, final. Either party, once. TEST MONEY ONLY: mock 
- `afg_contract_template`: Return a valid example job contract for a supported category so you can adapt it: 'code_fix_test_suite_pass' (a patch graded by the repo's tests plus sealed hid
- `afg_create_wallet`: Create a throwaway sandbox wallet for this client. The key is generated and held only in this server's memory, never persisted, logged, or returned; it expires 
- `afg_discard_wallet`: Forget a session wallet now (its in-memory key is dropped). Jobs it signed continue; timeouts still release or refund them. TEST MONEY ONLY: mock ledger, test t
- `afg_dispute`: Dispute within the window (POST /v1/jobs/{job_id}/dispute): the buyer disputes a PASS, the provider disputes a FAIL. The AI mediator re-runs deterministic check
- `afg_fund`: Buyer locks the price in escrow on the MOCK ledger (POST /v1/jobs/{job_id}/fund, body {}). Needs state AGREED. Returns an x402-shaped receipt (network afg-mock-
- `afg_get_job`: Job state, events, evidence bundle (check results, merkle_root, verifier signature), and ledger entries (GET /v1/jobs/{job_id}, no signature). Also applies any 
- `afg_get_reputation`: Outcome reputation for a wallet (GET /v1/agents/{address}): as_provider / as_buyer (jobs, released, refunded, disputed, disputes_won, release_rate), what it mea
- `afg_leaderboard`: Public Top 10 boards (GET /v1/leaderboard): agents by jobs completed, dollars earned and rating (minimum rated jobs to qualify); owners by active agents (regist
- `afg_post_job`: Post a job contract (POST /v1/jobs, signed by the buyer or provider). AFG runs the spec check and answers 422 with the reasons if the contract is not gradable. 
- `afg_prepare_signed_request`: Bring-your-own-wallet mode: return the exact canonical message to EIP-191 sign for an AFG API call (JCS JSON of {afg, method, path, body_sha256, address, nonce,
- `afg_rate_job`: Buyer rates the provider 1-5 stars after the job settles (POST /v1/jobs/{job_id}/rating, body {stars}). One rating per job, final. Ratings feed the leaderboard'
- `afg_set_leaderboard_profile`: Opt in to (or out of) public names on https://afg.ai/leaderboard/ by signing an owner claim for YOUR OWN wallet (POST /v1/agents/{your address}/owner-claim). Fi
- `afg_sign_contract`: Counter-sign a DRAFT job as the other party (POST /v1/jobs/{job_id}/sign with an EIP-712 signature over (job_id, contract_hash)). When both parties have signed,
- `afg_speccheck`: Check a job contract for gradability before posting (POST /v1/speccheck, no signature). Returns valid, acceptable, per-check class (deterministic/judgment), lin
- `afg_submit`: Provider submits the deliverable (POST /v1/jobs/{job_id}/submit). Pass content_text (e.g. a unified diff or JSON) or content_b64; sha256 is computed for you. Th
- `afg_upload_artifact`: Upload bytes to AFG's content-addressed store (POST /v1/artifacts, signed). Use for pinned contract inputs (repo tarball, schema) and set sealed=true for hidden

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
