Skip to content

Read BlockVectra docs from Python — no API key

Latest

Choose a tag to compare

@gjwang gjwang released this 06 Nov 12:35
07b2d89

Read BlockVectra documentation from a Python agent with the official MCP Python SDK. No BlockVectra API key, wallet or model API is needed.

git clone https://github.com/blockvectra/agent-quickstart.git
cd agent-quickstart
uv run examples/mcp_docs.py

Requires Python 3.11+ and uv. The script pins mcp==2.3.0, connects to the documentation-only Streamable HTTP endpoint, lists search_docs and read_doc, and reads the English quickstart page. Its JSON output includes the complete Markdown text for an agent to use. Tool errors and empty text fail visibly; it does not run chain RPC or provision an account.

Read the example · MCP setup guide

Validated against the deployed docs endpoint with Python 3.14.8 and SDK 2.3.0. This is one compatibility check, not a performance benchmark or evidence of customer adoption. The script uses a 40-second cooperative Python timeout; package installation is outside it. The separate standard-library RPC example remains available without third-party packages.