ThirdWeb MCP Server for Pydantic AIGive Pydantic AI instant access to 29 tools to Broadcast Solana Transaction, Complete Auth, Create Solana Wallet, and more
Pydantic AI brings type-safe agent development to Python with first-class MCP support. Connect ThirdWeb through Vinkius and every tool is automatically validated against Pydantic schemas. catch errors at build time, not in production.
Ask AI about this MCP Server for Pydantic AI
The ThirdWeb MCP Server for Pydantic AI is a standout in the Developer Tools category — giving your AI agent 29 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerHTTP
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
server = MCPServerHTTP(url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
agent = Agent(
model="openai:gpt-4o",
mcp_servers=[server],
system_prompt=(
"You are an assistant with access to ThirdWeb "
"(29 tools)."
),
)
result = await agent.run(
"What tools are available in ThirdWeb?"
)
print(result.data)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About ThirdWeb MCP Server
Connect your ThirdWeb account to any AI agent to build and manage Web3 applications through natural language. This server provides a comprehensive suite of tools for blockchain interaction and identity management.
Pydantic AI validates every ThirdWeb tool response against typed schemas, catching data inconsistencies at build time. Connect 29 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
What you can do
- Authentication & Identity — Handle email, SMS, social, and passkey logins. Link multiple social profiles to a single wallet address using
initiate_authandlink_profile. - Wallet Management — Retrieve authenticated user details, search for users by address or email, and pre-generate wallets for new users via
get_user_detailsandpregenerate_wallet. - Smart Contract Interaction — Execute read-only multicalls or state-changing transactions across any supported chain using
read_contractandwrite_contract. - Event Monitoring — Query historical contract events with advanced filtering for data analysis using
query_events.
The ThirdWeb MCP Server exposes 29 tools through the Vinkius. Connect it to Pydantic AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 29 ThirdWeb tools available for Pydantic AI
When Pydantic AI connects to ThirdWeb through Vinkius, your AI agent gets direct access to every tool listed below — spanning web3, smart-contracts, wallet-management, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Broadcast solana transaction on ThirdWeb
Broadcast a transaction on Solana
Complete auth on ThirdWeb
Verify challenge and complete login
Create solana wallet on ThirdWeb
Create a Solana wallet
Deploy contract on ThirdWeb
Deploy a contract using bytecode and ABI
Execute solana swap on ThirdWeb
Execute a token swap on Solana Mainnet
Fetch with payment on ThirdWeb
Proxy a request to a paid API using x402
Get payment requirements on ThirdWeb
Generate payment requirements for a resource (x402)
Get solana balance on ThirdWeb
Get Solana wallet balance
Get solana swap quote on ThirdWeb
Get a token swap quote on Solana Mainnet
Get transaction status on ThirdWeb
Get status of a transaction
Get user details on ThirdWeb
Search for users in your project
Get wallet me on ThirdWeb
Retrieve details of the authenticated user
Initiate auth on ThirdWeb
Start authentication process for email, phone, passkey, or SIWE
Link profile on ThirdWeb
Tie multiple social identities to a single wallet address
List solana wallets on ThirdWeb
List Solana wallets
List transactions on ThirdWeb
List transactions
Pregenerate wallet on ThirdWeb
Create a wallet for a user before they first log in
Query events on ThirdWeb
Fetch historical events for a contract
Query transactions on ThirdWeb
Fetch transaction history for a contract
Read contract on ThirdWeb
Execute one or more read-only calls (multicall)
Send raw transactions on ThirdWeb
Broadcast encoded transactions
Send solana tokens on ThirdWeb
Send Solana tokens
Settle payment on ThirdWeb
Submit the payment on-chain (x402)
Sign solana message on ThirdWeb
Sign a message on Solana
Sign solana transaction on ThirdWeb
Sign a transaction on Solana
Social auth on ThirdWeb
OAuth flow for social providers
Unlink profile on ThirdWeb
Unlink a social identity from a wallet address
Verify payment on ThirdWeb
Validate a signed payment payload (x402)
Write contract on ThirdWeb
Execute one or more state-changing calls atomically
Connect ThirdWeb to Pydantic AI via MCP
Follow these steps to wire ThirdWeb into Pydantic AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Pydantic AI
pip install pydantic-aiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use Pydantic AI with the ThirdWeb MCP Server
Pydantic AI provides unique advantages when paired with ThirdWeb through the Model Context Protocol.
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your ThirdWeb integration code
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
Dependency injection system cleanly separates your ThirdWeb connection logic from agent behavior for testable, maintainable code
ThirdWeb + Pydantic AI Use Cases
Practical scenarios where Pydantic AI combined with the ThirdWeb MCP Server delivers measurable value.
Type-safe data pipelines: query ThirdWeb with guaranteed response schemas, feeding validated data into downstream processing
API orchestration: chain multiple ThirdWeb tool calls with Pydantic validation at each step to ensure data integrity end-to-end
Production monitoring: build validated alert agents that query ThirdWeb and output structured, schema-compliant notifications
Testing and QA: use Pydantic AI's dependency injection to mock ThirdWeb responses and write comprehensive agent tests
Example Prompts for ThirdWeb in Pydantic AI
Ready-to-use prompts you can give your Pydantic AI agent to start working with ThirdWeb immediately.
"Read the total supply of the contract 0x123... on chain 1."
"Start an email authentication for dev@example.com."
"Search for user details associated with address 0xAbc123..."
Troubleshooting ThirdWeb MCP Server with Pydantic AI
Common issues when connecting ThirdWeb to Pydantic AI through Vinkius, and how to resolve them.
MCPServerHTTP not found
pip install --upgrade pydantic-aiThirdWeb + Pydantic AI FAQ
Common questions about integrating ThirdWeb MCP Server with Pydantic AI.
How does Pydantic AI discover MCP tools?
MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.Does Pydantic AI validate MCP tool responses?
Can I switch LLM providers without changing MCP code?
Explore More MCP Servers
View all →
ArcGIS Alternative
6 toolsAccess GIS services via ArcGIS — geocode addresses, search places, get routes, check elevation and discover basemap styles from any AI agent.

NeetoCal
12 toolsLet clients book appointments through your personalized scheduling page with calendar sync and automatic reminders.

IBKR (Interactive Brokers)
9 toolsManage your Interactive Brokers account — execute trades, monitor portfolio ledgers, and fetch real-time market data via the Client Portal API.

Bright Data
10 toolsAccess the world's #1 web data platform — bypass anti-bot protections, extract structured search engine data, and manage scraping browsers directly from your AI agent.
