
AntFeed
io.github.Augustas11Published by GitHub account Augustas11v0.2.3Updated Oct 28, 2026
Discover and transact on the AntSeed P2P AI network from any MCP-compatible agent.
Overview
MCP server that lets an assistant browse the AntFeed Explorer for AntSeed P2P AI network sellers, pricing, payment channels and stats, and optionally open…
- What you can do
- Search and list providers: look up sellers by address, display name or service, and list ranked providers with pricing summaries and earnings
- Check pricing and payment channels: fetch live per-service pricing and inspect on-chain session/channel status
- Read network and buyer data: network stats, gas price, daily active user trends, and buyer trust scores with session history
- Open sessions: create a new session with an initial USDC deposit through a local AntSeed buyer, or get setup diagnostics when no buyer is detected
- When to use it
- Useful when you want an agent to research AntSeed sellers, compare live pricing, check channel settlement or network activity, or start a paid session on the network without leaving the chat. Read-only use works without any local buyer.
- Requirements
- Runs locally over stdio, typically via npx of the npm package, so Node.js is needed. Optional environment variables: ANTFEED_EXPLORER_URL (defaults to the public explorer), ANTSEED_BUYER_URL for a local buyer RPC, ANTSEED_BUYER_STRICT, ANTSEED_MAX_DEPOSIT_USDC, plus timeout and log level settings. Network access to the explorer is required; create_session needs a running local AntSeed buyer, detected once at startup.
Installation
In SourceWeft
- Open AntFeed in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@antfeed/mcp
Discover and transact on the AntSeed P2P AI network from any MCP-compatible AI agent.
A Model Context Protocol server that turns the AntFeed Explorer into a one-line discovery front door for Claude Code, Cursor, Claude Desktop, and any other MCP host. List sellers, look up provider addresses, inspect on-chain payment channels, and (when a local AntSeed buyer is running) open new sessions — all from inside your agent.
Install
Add the following block to ~/.claude.json (Claude Code), claude_desktop_config.json (Claude Desktop), or your IDE's MCP config:
Restart your MCP host. The server boots over stdio and exposes the tools below.
Tools
Every tool returns both structuredContent (typed object matching its declared outputSchema) and content[0].text (the same payload serialized as JSON, for older MCP clients). Annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) are exposed so hosts like Claude Desktop / Cursor can render confirm dialogs before destructive calls.
Example: list top providers
Returns the top three sellers ranked by total USDC earned. To paginate, pass back the returned nextCursor as cursor on the next call.
Data sources
The MCP wraps the following AntFeed Explorer endpoints:
GET /api/providers— provider directory (displayName, services, per-service pricing, region, on-chain aggregates). Refreshed hourly fromnetwork.antseed.com. Backslist_providersandlookup.GET /api/sellers/{address}/services— one seller's service catalog + live pricing. Backsget_pricing.GET /api/channels— on-chain payment channel records. Backsget_session_status.GET /api/stats— network-wide aggregates (revenue, sessions, drift). Backsnetwork_stats.GET /api/gas— current Base gas price. Backsnetwork_stats.GET /api/buyers/{address}+GET /api/score/{address}— buyer detail, session history, top sellers, and trust-score breakdown. Backsget_buyer.GET /api/metrics/dau— daily active users, by UTC day. Backsdau_trendand the DAU field innetwork_stats.
A few small client-side adaptations remain:
- No server-side
/api/searchyet →lookupperforms client-side substring matching over the top page of/api/providers(matching against address, displayName, and service names). A future server-side endpoint will letlookupscale past 1000 providers — the MCP will switch over without any client changes. - No per-channel
/api/channels/{id}yet →get_session_statuspaginates/api/channels(sorted bylast_activity desc) and filters client-side. Channels deeper than 5000 records may returnSESSION_OUT_OF_RANGE.
Config
All values are optional. Resolution order: --config file.json → environment variable → built-in default.
You can also pass --config path/to/config.json with the same keys (camelCase: explorerUrl, buyerUrl, timeoutMs, logLevel, buyerStrict, maxDepositUsdc).
Buyer auto-detect
On startup the server probes GET <ANTSEED_BUYER_URL>/health with a 500 ms timeout:
- reachable → registers
create_session. - not reachable → registers
buyer_setup(a diagnostic tool with install instructions) instead, andcreate_sessionis omitted from the tool list.
Detection runs once at startup. Restart the MCP host after installing or starting a buyer.
Error model
Every tool returns either a successful structured payload or an MCP error result with isError: true and a structured body of shape:
Security model
Installing @antfeed/mcp is an explicit trust decision. Read this section before letting an autonomous agent call its tools.
- The agent caller is treated as untrusted. Every tool argument is validated by a strict zod schema before any network call.
peerId/providerPeerIdmust be0x+ 40 hex chars;sessionIdmust be0x+ 1–128 hex chars;serviceis bounded to a short identifier;initialDepositUsdcis hard-capped byANTSEED_MAX_DEPOSIT_USDC(default 10 USDC). A prompt-injected agent cannot move arbitrary amounts or craft URL/path-traversal payloads through this MCP. - The explorer is treated as semi-trusted. Every response from
ANTFEED_EXPLORER_URLis re-validated against a strict zod shape — addresses must be 40-hex, channel IDs must be hex, numeric fields must be finite. Responses are streamed with a 2 MB byte cap so a compromised or hijacked endpoint cannot exhaust memory. Plainhttp://is only permitted for loopback hosts; non-loopback URLs must behttps://. - The local buyer holds your signing key; this MCP never sees it. The MCP only ever POSTs
create_session(with bounded deposit, validated input) to the buyer URL — it does not read or store any key material. To prevent another local process from impersonating the buyer (e.g. on shared/multi-tenant dev boxes), setANTSEED_BUYER_STRICT=1and have your buyer respond to/healthwith{"service":"antseed-buyer"}. - The package itself ships minimally.
dist/, README, LICENSE — no postinstall scripts, no test files, no source maps that leak local paths.npm audit --omit=devreports zero production-tree vulnerabilities. Dependencies are pinned to~ranges; on publish, the package is signed with npm provenance so consumers can verify the tarball came from this repo (npm audit signatures). - Error messages are sanitized. File paths, IP addresses, and
UPPER_CASE_VAR=…patterns are scrubbed before any error reaches the agent or the MCP host's logs.
If you spot a security concern, please open a private GitHub Security Advisory — we triage these within 72 hours. Do not file a public issue for security-impacting bugs.
For sellers
If you already operate an AntSeed seller and you appear in the AntFeed Explorer directory, you are automatically discoverable through this MCP — no extra registration. New sellers join the directory by simply transacting on-chain (the explorer indexes Base mainnet AntSeed Channels events). Once /api/services and /api/sellers/{address}/services land, get_pricing and list_providers#servicesOffered will populate without any client changes.
Develop
Smoke test the MCP handshake with the official inspector:
Registry submission
The package is submitted to the public MCP server registries (registry.modelcontextprotocol.io, Smithery, PulseMCP, Glama, mcp.so) so any MCP-aware client can discover and install it without copy-pasting the snippet above. Source of truth for the official registry submission is server.json; the Smithery descriptor is smithery.yaml. The full submission checklist with current URLs lives in REGISTRIES.md. Registry repo: https://github.com/modelcontextprotocol/registry.
For per-tool usage observability on the Vercel dashboard, see USAGE.md.
Links
- AntFeed Explorer: https://antfeed.org
- AntFeed Explorer API docs (OpenAPI 3.0): https://antfeed.org/api/openapi.json
- AntSeed protocol contracts (Base mainnet): see the Explorer's About page
License
MIT
Source: antfeed-mcp/README.md at commit 5bcd827
Tools
0Version history
1- v0.2.3LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.