How to Use the Goldsky (Web3 Data Indexing & Subgraphs) MCP in Pydantic AI
Run type-safe Web3 indexing operations using Pydantic AI and this MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Goldsky (Web3 Data Indexing & Subgraphs) MCP to Pydantic AI
Create your Vinkius account to connect Goldsky (Web3 Data Indexing & Subgraphs) to Pydantic AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Validate Web3 pipelines with Pydantic AI
The `validate_pipeline` tool verifies your deployment configuration files before they are sent to the indexing engine. Pydantic AI ensures that the returned validation schemas match your strict Python models at runtime. If the configuration is correct, the agent triggers `create_pipeline`. This MCP server ensures that any unexpected API response triggers a loud validation error.
Track indexer state with model-level validation
The `get_pipeline_status` tool fetches the live state of your subgraphs, converting the raw API response into strongly typed Python objects. Your agent uses this structured data to verify indexing progress. To inspect failures, the agent calls `get_pipeline_error_count` and `get_pipeline_logs`. Because every field is validated against Pydantic schemas, your agent never operates on corrupted or incomplete log data.
Manage pipeline lifecycles without manual scripts
The `pause_pipeline` tool allows your agent to suspend data ingestion when downstream databases are undergoing migrations. This prevents data loss and maintains strict consistency across your stack. Once the database is ready, the agent runs `resume_pipeline` or `restart_pipeline` to catch up with the blockchain. This programmatically coordinates your indexing state with your application backend.
Set up Goldsky (Web3 Data Indexing & Subgraphs) MCP in Pydantic AI
Prerequisites
- Python 3.10+ installed
-
pydantic-ai-slim[fastmcp]package - Active Vinkius subscription with a valid endpoint token
- 1
Install Pydantic AI with FastMCP
Run
pip install "pydantic-ai-slim[fastmcp]". The FastMCP toolset replaces the deprecatedMCPServerHTTPclass with full protocol support. - 2
Configure the FastMCPToolset
Pass a JSON-style config dict to
FastMCPToolsetwith your Vinkius URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. Supports Streamable HTTP, SSE, and Stdio transports. - 3
Create and run your agent
Pass the toolset to
Agent(toolsets=[toolset])and callagent.run(). Swapopenai:gpt-4ofor any supported model — Anthropic, Google, Mistral, or Groq.
from pydantic_ai import Agent
from pydantic_ai.toolsets.fastmcp import FastMCPToolset
toolset = FastMCPToolset({
"mcpServers": {
"goldsky-web3-data-indexing-subgraphs-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
})
agent = Agent(
"openai:gpt-4o",
toolsets=[toolset],
system_prompt="You have access to Goldsky (Web3 Data Indexing & Subgraphs) tools.",
)
result = await agent.run("List recent Goldsky (Web3 Data Indexing & Subgraphs) transactions")
print(result.output) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Goldsky. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Goldsky (Web3 Data Indexing & Subgraphs) MCP in Pydantic AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Goldsky (Web3 Data Indexing & Subgraphs) MCP today
We host it, we monitor it, we maintain it. You just paste one token.