Bring Distributed Database
to Mastra AI
Create your Vinkius account to connect OceanBase 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 OceanBase MCP Server?
Empower your AI agent to orchestrate your entire database infrastructure with OceanBase, the premier enterprise distributed relational database. By connecting OceanBase to your agent, you transform complex cluster management, tenant resource allocation, and database auditing into a natural conversation. Your agent can instantly list your database clusters, retrieve detailed configuration for tenants, monitor resource usage statistics, and browse available databases without you ever needing to navigate the OceanBase Cloud console. Whether you are conducting a capacity planning review or auditing database health across a global deployment, your agent acts as a real-time database reliability assistant, keeping your data infrastructure accurate and your systems performant.
What you can do
- Cluster Orchestration — List all database clusters and retrieve detailed configuration and status information.
- Tenant Management — Browse logical tenants within clusters and retrieve detailed resource allocation metadata.
- Database Auditing — List all databases within specific tenants to identify data assets and structures.
- Resource Monitoring — Retrieve aggregate resource usage statistics to audit system performance and capacity.
- Organization Insights — Browse projects, instances, and workspaces to maintain a unified view of your database ecosystem.
How it works
- Subscribe to this server
- Enter your OceanBase Access Key ID and Secret
- Start managing your distributed database through Claude, Cursor, or any MCP-compatible client
Who is this for?
- DBAs & Infrastructure Engineers — automate cluster auditing and monitor resource usage through natural language queries.
- Data Architects — coordinate tenant strategies and audit database structures directly from your AI-powered workspace.
- Backend Developers — retrieve instance details and browse database catalogs via a unified AI interface.
- OceanBase Cloud Users — integrate your existing database workflows into your AI-driven daily routines.
Built-in capabilities (10)
Get cluster details
Get instance details
Get resource statistics
Get tenant details
Get account workspaces
List OceanBase clusters
List tenant databases
List OB instances
List OB projects
List cluster tenants
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and OceanBase 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 OceanBase 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 OceanBase 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
OceanBase in Mastra AI
Why run OceanBase with Vinkius?
The OceanBase 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 OceanBase using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
OceanBase and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect OceanBase 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
OceanBase for Mastra AI
Every request between Mastra AI and OceanBase 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 find my OceanBase Access Key and Secret?
Log in to your OceanBase Cloud console, go to [Security] → [Access Keys], and you will find your unique Access Key ID and Secret Key there. Ensure you keep them confidential.
Can I list databases for a specific tenant through this server?
Yes. Use the list_databases tool with the cluster ID and tenant ID. Your agent will retrieve the full list of logical databases belonging to that specific resource pool.
Is it possible to check organization-wide resource usage?
Yes! Use the get_resource_stats tool to retrieve aggregate statistics across your OceanBase account, helping you monitor total CPU, memory, and storage consumption.
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 →
Wellhub
8 toolsManage employee eligibility, gym check-ins, bookings, and partner locations for your Wellhub (Gympass) corporate wellness program through natural conversation.

Databricks
8 toolsManage lakehouse via Databricks — monitor compute clusters, track job executions, audit SQL warehouses, and explore Unity Catalog directly from any AI agent.

JSON Merge Patch
1 toolsStop losing data when updating massive files. Apply surgical JSON patches (RFC 7396) securely to large datasets.

Officevibe
10 toolsManage employee engagement via Officevibe — track pulse survey scores, feedback, and NPS directly from your AI agent.
