4,000+ servers built on vurb.ts
Vinkius
Mastra AISDK
Mastra AI
ThirdWeb MCP Server

Bring Web3
to Mastra AI

Learn how to connect ThirdWeb to Mastra AI and start using 29 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Broadcast Solana TransactionComplete AuthCreate Solana WalletDeploy ContractExecute Solana SwapFetch With PaymentGet Payment RequirementsGet Solana BalanceGet Solana Swap QuoteGet Transaction StatusGet User DetailsGet Wallet MeInitiate AuthLink ProfileList Solana WalletsList TransactionsPregenerate WalletQuery EventsQuery TransactionsRead ContractSend Raw TransactionsSend Solana TokensSettle PaymentSign Solana MessageSign Solana TransactionSocial AuthUnlink ProfileVerify PaymentWrite Contract

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
ThirdWeb

What is the 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.

What you can do

  • Authentication & Identity — Handle email, SMS, social, and passkey logins. Link multiple social profiles to a single wallet address using initiate_auth and link_profile.
  • Wallet Management — Retrieve authenticated user details, search for users by address or email, and pre-generate wallets for new users via get_user_details and pregenerate_wallet.
  • Smart Contract Interaction — Execute read-only multicalls or state-changing transactions across any supported chain using read_contract and write_contract.
  • Event Monitoring — Query historical contract events with advanced filtering for data analysis using query_events.

How it works

  1. Subscribe to this server
  2. Provide your ThirdWeb Secret Key and API URL
  3. Start building Web3 workflows from your favorite MCP client

Who is this for?

  • Web3 Developers — Rapidly prototype contract interactions and test auth flows directly from the IDE.
  • DApp Operators — Manage user profiles and monitor contract events without custom scripts.
  • Product Managers — Query on-chain data and user details to understand platform activity.

Built-in capabilities (29)

broadcast_solana_transaction

Broadcast a transaction on Solana

complete_auth

Verify challenge and complete login

create_solana_wallet

Create a Solana wallet

deploy_contract

Deploy a contract using bytecode and ABI

execute_solana_swap

Execute a token swap on Solana Mainnet

fetch_with_payment

Proxy a request to a paid API using x402

get_payment_requirements

Generate payment requirements for a resource (x402)

get_solana_balance

Get Solana wallet balance

get_solana_swap_quote

Get a token swap quote on Solana Mainnet

get_transaction_status

Get status of a transaction

get_user_details

Search for users in your project

get_wallet_me

Retrieve details of the authenticated user

initiate_auth

Start authentication process for email, phone, passkey, or SIWE

link_profile

Tie multiple social identities to a single wallet address

list_solana_wallets

List Solana wallets

list_transactions

List transactions

pregenerate_wallet

Create a wallet for a user before they first log in

query_events

Fetch historical events for a contract

query_transactions

Fetch transaction history for a contract

read_contract

Execute one or more read-only calls (multicall)

send_raw_transactions

Broadcast encoded transactions

send_solana_tokens

Send Solana tokens

settle_payment

Submit the payment on-chain (x402)

sign_solana_message

Sign a message on Solana

sign_solana_transaction

Sign a transaction on Solana

social_auth

OAuth flow for social providers

unlink_profile

Unlink a social identity from a wallet address

verify_payment

Validate a signed payment payload (x402)

write_contract

Execute one or more state-changing calls atomically

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and ThirdWeb tool infrastructure. Connect 29 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add ThirdWeb without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every ThirdWeb tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

ThirdWeb in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

ThirdWeb and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect ThirdWeb to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for ThirdWeb in Mastra AI

The ThirdWeb 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. All 29 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

ThirdWeb
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

The Vinkius Advantage

How Vinkius secures ThirdWeb for Mastra AI

Every tool call from Mastra AI to the ThirdWeb MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Can I read data from a smart contract without paying gas?

Yes! Use the read_contract tool. It performs read-only calls (multicall) to the blockchain, which do not require gas or state changes.

02

How do I start an authentication flow for a new user?

You can use the initiate_auth tool by specifying the method (email, sms, etc.) and the user's identifier. Then, use complete_auth with the verification code to finish the login.

03

Can I find a user's profile if I only have their wallet address?

Absolutely. Use the get_user_details tool and provide the address parameter. The agent will return any associated user IDs, emails, or phone numbers linked to that wallet in your project.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →