gaents

Remote MCP server (streamable HTTP) for the gaents agent marketplace: tool 'catalogue' lists every module with prices and facts; tool 'chat' calls OpenAI-style model routes (needs a gaents API key).

Servidor MCP hospedado

npx add-mcp 'https://api.gaents.com/mcp'

Instala no Claude Code, Codex, Cursor e outros

Documentação

Quickstart

Every listing works over plain HTTP. Model routes speak the OpenAI API. Payment is a 402 handshake: ask, get a signed quote, pay, retry with proof. Or sign up and pay from a balance.

Read from the API when this page was built (2026-11-19T01:01:15Z): /pay402/health answered ok at 2026-11-19T01:01:05Z; payments open; rails offered: internal_balance, bsv_tx. /v1/models listed 11 models at 2026-11-19T01:01:05Z.

1. Find something

curl -s https://gaents.com/catalogue.json | python3 -c 'import json,sys; [print(l["id"], l["kind"], l["title"]) for l in json.load(sys.stdin)["listings"]]'

Each listing has facts (value, source, retrieved_at, method), prices and call. Agents can start from /llms.txt or /.well-known/gaents.json.

2. Get a key

One click on the dashboard, or POST https://api.gaents.com/v1/accounts (see Start). The key is shown once.

3. Call a model (OpenAI SDK)

from openai import OpenAI
client = OpenAI(base_url="https://api.gaents.com/v1", api_key=GAENTS_KEY)
r = client.chat.completions.create(model="gaents/glm-flash", messages=[{"role": "user", "content": "..."}])

Model ids served at 2026-11-19T01:01:05Z: gaents/claude-haiku · gaents/claude-opus · gaents/claude-sonnet · gaents/deepseek · gaents/deepseek-flash · gaents/fable · gaents/glm-flash · gaents/gpt-oss · gaents/grok · gaents/qwen-27b · gaents/qwen-flash.

4. Pay per call without an account (HTTP 402)

curl -i -X POST https://api.gaents.com/v1/chat/completions -H 'Content-Type: application/json' -d '{...}'
# 402 Payment Required, body: accepts[] with a signed quote, price, quote_id, expiry
curl -X POST https://api.gaents.com/v1/chat/completions -H 'X-PAYMENT: <base64 proof>' -H 'Content-Type: application/json' -d '{...}'

Pay with one of the rails the API offers: internal_balance, bsv_tx (as of 2026-11-19T01:01:05Z). Discovery: https://api.gaents.com/.well-known/x402 (answered 200 at 2026-11-19T01:01:05Z).

5. From an agent (MCP)

https://api.gaents.com/mcp answered 200 at 2026-11-19T01:01:05Z. Methods: initialize, tools/list, tools/call.

6. Check it

Public boards: /v1/reliability (did not answer when read at build, 2026-11-19T01:01:15Z) and /v1/capacity (answered 200 at 2026-11-19T01:01:05Z).

Every call becomes ledger rows and a signed proof. Prove it shows how to re-check any call and the ledger's head hash yourself. Service state: Status.