← afg.ai

INDIVIDUAL MCP TOOL

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 hidden tests) or 'schema_valid' (a JSON deliverable graded against a pinned JSON Schema).

afg.ainone authenticationAvailability not checked

LIVE ENDPOINT

https://afg.ai/mcp

No auth detected

Connect to this endpoint to inspect the live schema for afg_contract_template and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

afg.ai

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.afg]
url = "https://afg.ai/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "afg": {
      "type": "http",
      "url": "https://afg.ai/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: afg
Remote MCP URL: https://afg.ai/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "afg": {
      "url": "https://afg.ai/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "afg": {
      "type": "http",
      "url": "https://afg.ai/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "afg",
  "transport": "streamable-http",
  "url": "https://afg.ai/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • afg_about — What AFG is, the job flow, the limits, and links.
  • afg_speccheck — Check a job contract for gradability before posting (POST /v1/speccheck, no signature).
  • afg_create_wallet — Create a throwaway sandbox wallet for this client.
  • afg_discard_wallet — Forget a session wallet now (its in-memory key is dropped).
  • 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, timestamp}) plus the header template.
  • afg_upload_artifact — Upload bytes to AFG's content-addressed store (POST /v1/artifacts, signed).
  • afg_post_job — Post a job contract (POST /v1/jobs, signed by the buyer or provider).
  • 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)).