AgentToolbox Docs Pack MCP server
Commit Oct 8, 2026Retrieves bounded exact documentation excerpts, source hashes, and matched headings from up to five public URLs in a single JSON response.
Also known as agenttoolbox2026/AgentToolbox, agenttoolbox
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 0.1.0
- Last commit
- Oct 8, 2026
- License
- MIT
What is AgentToolbox Docs Pack MCP?
AgentToolbox Docs Pack retrieves bounded exact documentation excerpts, source hashes, and matched headings from up to five public URLs in a single JSON response.
Summary generated from the project's README
About AgentToolbox Docs Pack MCP server
AgentToolbox Docs Pack provides a specialized way for AI agents to retrieve precise documentation data from the web. By submitting up to five public URLs and specific query terms, users receive a single JSON response containing bounded exact excerpts, source hashes, offsets, and matched headings. This tool is designed for developers building agentic workflows that require high-fidelity information retrieval from technical documentation.
The service operates via remote HTTP requests and uses an x402 v2 payment model. Each successful whole pack costs 0.01 USDC on the Base network. Users interact with the system through endpoints like the paid invocation path or a fixed free example for testing. The implementation ensures that no settlement occurs if there is no source match or if a source fails to load. This creates a verifiable way to pay for successful data extraction without traditional billing accounts or wallet secrets.
What you can do with it
- 1Retrieve precise documentation excerptsFind exact text segments and matched headings from multiple technical documentation URLs using a single query.
- 2Verify documentation source integrityEnsure the retrieved information is authentic by checking the provided source hashes.
- 3Test agentic retrieval without paymentRun a free example call to verify how the documentation extraction works before committing USDC.
Written from the project's README. Every use case is checked against a quote from it.
How to install AgentToolbox Docs Pack MCP
Formats verified 10 Nov 2026Install AgentToolbox Docs Pack MCP in Claude Code
$ claude mcp add --transport http agenttoolbox https://agnttoolbx.agenttoolbox2026.workers.dev/mcpInstall AgentToolbox Docs Pack MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"agenttoolbox": {
"url": "https://agnttoolbx.agenttoolbox2026.workers.dev/mcp"
}
}
}Install AgentToolbox Docs Pack MCP in VS Code
.vscode/mcp.json
{
"servers": {
"agenttoolbox": {
"type": "http",
"url": "https://agnttoolbx.agenttoolbox2026.workers.dev/mcp"
}
}
}Install AgentToolbox Docs Pack MCP in Codex
~/.codex/config.toml
[mcp_servers.agenttoolbox] url = "https://agnttoolbx.agenttoolbox2026.workers.dev/mcp"
Install AgentToolbox Docs Pack MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"agenttoolbox": {
"httpUrl": "https://agnttoolbx.agenttoolbox2026.workers.dev/mcp"
}
}
}Configuration
IDEMPOTENCY_KEY
| Name | Description | |
|---|---|---|
| IDEMPOTENCY_KEY | — |
README
View on GitHubAgentToolbox
Agent-first home: https://agnttoolbx.agenttoolbox2026.workers.dev
Docs Pack is the first experimental product: up to five supported public documentation URLs and literal query terms return bounded exact excerpts, source hashes, offsets and matched headings. Price: $0.01 USDC on Base per successful whole pack, using HTTP x402 v2. No source match or failed source means no settlement. Live payment verification remains user-controlled and has not been performed by the implementation agent.
Try it now
Free example — no wallet, no payment, fixed public inputs:
curl -s "https://agnttoolbx.agenttoolbox2026.workers.dev/v1/products/docs-pack/example" | python3 -m json.tool | head -60
Paid invoke — returns HTTP 402 with the x402 challenge; settle it with any x402 v2-capable wallet/client and resubmit:
IDEMPOTENCY_KEY="$(python3 -c 'import uuid; print(uuid.uuid4().hex + uuid.uuid4().hex[:32])')"
curl -s -X POST "https://agnttoolbx.agenttoolbox2026.workers.dev/v1/products/docs-pack/invoke" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{"version":"0.1.0","input":{"urls":["https://docs.python.org/3/library/asyncio.html"],"query":"event loop","max_excerpt_chars":4000},"max_charge_usdc_atomic":10000}'
Runnable scripts: examples/free-call.sh,
examples/paid-call.sh.
Endpoints
- Contract:
/v1/products/docs-pack - Real, fixed free example:
/v1/products/docs-pack/example - Paid invocation:
POST /v1/products/docs-pack/invoke - HTTP discovery:
/v1/products; MCP discovery:/mcp - MCP Registry:
io.github.agenttoolbox2026/docs-pack(v0.1.0) - Machine instructions:
/llms.txt; schemas:/openapi.json - Human observer page:
/humans; public paid-purchase total:/v1/stats
The human counter counts completed live paid purchases, including repeats. It excludes synthetic tests, mocks, failed/pending operations, replays and self-purchases from the receiving wallet. It does not identify unique agents. Private operations and reports remain authenticated. The original retry gate is retired; its source, D1 database and history remain preserved.
Run
Node.js 24+ and pnpm 11.19.0:
pnpm install --frozen-lockfile
pnpm --dir platform install --frozen-lockfile
pnpm dev
pnpm test
pnpm check
pnpm worker:check
pnpm smoke https://agnttoolbx.agenttoolbox2026.workers.dev
pnpm report:remote
Platform code is in platform/; root src/, test/ and scripts/ preserve the
legacy experiment. The original icon is unchanged. No paid Cloudflare resource,
facilitator account, top-up, wallet secret or automatic billing was added.
Read the brief, product and benchmark, operations and payment limits.
AgentToolbox Docs Pack MCP questions
How do I add AgentToolbox Docs Pack MCP to Claude Code?
Run claude mcp add --transport http agenttoolbox https://agnttoolbx.agenttoolbox2026.workers.dev/mcp in your terminal. Add --scope user to make it available in every project.
How do I add AgentToolbox Docs Pack MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What information is included in the response?
The service returns bounded exact excerpts, source hashes, offsets, and matched headings.
Is there a way to try the service for free?
Yes, there is a free example available that requires no wallet or payment using fixed public inputs.
What happens if a source match fails?
If there is no source match or a failed source, no settlement occurs.