Bring Baas
to Mastra AI
Create your Vinkius account to connect AntChain to Mastra AI and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the AntChain MCP Server?
Connect your AntChain (蚂蚁链) BaaS platform account to any AI agent and gain complete visibility and control over your enterprise blockchain operations through natural conversation. AntChain is Alibaba Group's blockchain-as-a-service platform, designed for consortium chains, enterprise smart contracts, and secure decentralized applications.
What you can do
- Block Exploration — Query detailed information about any block by height or hash, including transaction counts and timestamps
- Transaction Tracking — Inspect individual transactions by hash or ID, verifying status, gas consumption, and execution results
- Smart Contract Management — Deploy new contracts, invoke contract methods, and query contract metadata and ABIs
- Account Inspection — Check account balances, nonce values, and metadata for any wallet address on the chain
- Network Monitoring — View network topology, node status, consensus state, and chain health metrics
- Chain Discovery — List all blockchain networks available to your organization with their configurations
- Recent Activity — Monitor the latest transactions and network activity in real-time
How it works
- Subscribe to this server
- Enter your AntChain Access Key and Secret Key
- Start querying your blockchain networks from Claude, Cursor, or any MCP-compatible client
Your AI agent becomes your blockchain operations center, handling contract deployment, transaction verification, and network monitoring without complex CLI tools.
Who is this for?
- Blockchain Developers — Deploy and interact with smart contracts directly from your IDE using natural language
- Enterprise Ops — Monitor consortium chain health, node status, and network metrics through conversational queries
- Auditors & Compliance — Verify transaction finality, inspect account balances, and audit contract executions
- Product Teams — Query blockchain data for dApps without writing boilerplate API integration code
Built-in capabilities (10)
Requires the contract bytecode (compiled bytecode in hex format) and optionally the ABI (Application Binary Interface) for interaction. Returns the deployed contract address and deployment transaction details. The contract will be available under the specified name. Deploy a smart contract on AntChain
Returns chain IDs, names, creation dates, status, and basic configuration. Use this to discover which blockchains you have access to before performing operations. List all available blockchain networks in your AntChain account
Provide the contract name, method name, and any required arguments. Returns the execution result including return values, gas consumption, and transaction status. Use this to interact with deployed contracts. Invoke a smart contract method on AntChain
Use this to inspect account state and activity. Query account information on AntChain
Returns the available balance and any locked/pending amounts. Useful for checking if an account has sufficient funds for transactions or contract interactions. Query account balance on AntChain
Returns block metadata including timestamp, transaction count, hash, and previous block reference. Use either blockHeight or blockHash to identify the block. Query block details from an AntChain blockchain
Useful for inspecting contract configuration before invocation. Query smart contract information on AntChain
Useful for monitoring network activity, auditing recent transactions, or getting a snapshot of current blockchain operations. Returns a list of recent transactions with their status and metadata. Query the latest transactions on an AntChain blockchain
Useful for monitoring blockchain infrastructure health. Query blockchain network information on AntChain
Returns transaction status, sender, receiver, gas used, block inclusion, and execution result. Useful for verifying transaction finality and inspecting transaction details. Query a transaction on AntChain
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and AntChain tool infrastructure. Connect 10 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 AntChain 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 AntChain 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
AntChain in Mastra AI
Why run AntChain with Vinkius?
The AntChain connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect AntChain using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
AntChain and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect AntChain to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
AntChain for Mastra AI
Every request between Mastra AI and AntChain is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get my AntChain Access Key and Secret Key?
Log in to the AntChain BaaS console, navigate to the API Management or Developer Center section, and create a new API credential pair. You'll receive an Access Key (public identifier) and a Secret Key (used for HMAC-SHA256 signature generation). The Secret Key is shown only once — save it immediately. These credentials authenticate all your API requests.
What's the difference between querying a block and querying a transaction?
A block query returns information about the container itself — block height, hash, timestamp, transaction count, and the previous block hash. A transaction query returns details about a specific operation within a block — sender/receiver addresses, gas used, execution status, return values, and whether the transaction succeeded or reverted. Use blocks to explore the chain structure, and transactions to verify individual operations.
Can I deploy smart contracts through this MCP server?
Yes! Use the deploy_contract tool to upload and deploy compiled smart contract bytecode to your AntChain network. You'll need the contract bytecode (in hex format), a name for the contract, and optionally the ABI for future interactions. After deployment, you can invoke contract methods using the invoke_contract tool. Make sure your account has sufficient permissions and balance for deployment.
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.
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.
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.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
HubSpot Lead Creator
1 toolsThis MCP does exactly one thing: it extracts customer data from conversations and creates a new Contact in your HubSpot CRM. That's its only function. Incredible for turning your AI into an automated sales assistant.

Country Data Resolver
1 toolsResolve ISO country codes to full names, alpha-3, and numeric codes in 4 languages. Essential for CRM and international data.

AT&T IoT
10 toolsIoT Control Center -- Manage SIM devices, activation, data pools, shared plans, and connectivity diagnostics via AT&T IoT API.

Climatiq Carbon Calculations
10 toolsCalculate carbon footprints via Climatiq — search thousands of emission factors and estimate emissions for any activity.
