Bring Api Design
to Mastra AI
Create your Vinkius account to connect Apiary 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 Apiary MCP Server?
Connect your Apiary workspace to your AI agent and take full control of your API design, specification, and validation processes through natural conversation.
What you can do
- Read API Blueprints — Fetch raw Markdown-based API Blueprints or Swagger files defining endpoints, methods, and parameters without leaving your editor
- Publish Documentation — Instantly update your Apiary projects with new markdown code. Mock servers and public documentation sync automatically
- Run Dredd Tests — Validate your backend implementation against the blueprint specifications using integrated tests
- Team Management — Query team API projects, list team members, and manage your engineering ecosystem intuitively
How it works
- Subscribe to this server
- Enter your Personal Apiary Token
- Start querying your APIs or instruct Claude/Cursor to refactor endpoints instantly
No copying and pasting back and forth to the Apiary browser editor.
Who is this for?
- Backend Engineers — ask your assistant to fetch the current blueprint, write new endpoint specifications, and publish them back automatically
- Technical Writers — easily review and fix API documentation formatting and submit changes directly to the remote server
- Engineering Managers — list all active APIS under your team, oversee member permissions, and check the testing status
Built-in capabilities (10)
Get the full API Blueprint source code of an Apiary API project
Get the documentation and mock server URLs for an Apiary API project
Get the authenticated Apiary user profile
Get details of a specific Apiary team
Apiary is an API design-first platform. List all API projects on Apiary
List all API projects belonging to a specific Apiary team
List all members of an Apiary team
List all teams the authenticated user belongs to on Apiary
Use with valid Markdown blueprint/Swagger. Publish (update) the API Blueprint of an Apiary API project
Get or run Dredd-style API tests against an Apiary project
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Apiary 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 Apiary 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 Apiary 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
Apiary in Mastra AI
Why run Apiary with Vinkius?
The Apiary 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 Apiary using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Apiary and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Apiary 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
Apiary for Mastra AI
Every request between Mastra AI and Apiary 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
Can the agent fetch the exact mock server endpoints for one of my APIs?
Yes. You can use the get_doc_url capability to retrieve both the public facing documentation url and the private mock server endpoint string. Your agent can immediately use this url to simulate requests internally using other modules or tests.
Am I able to update the Blueprint markup completely through the agent?
Absolutely. Instruct your AI agent to fetch the blueprint with get_api. Once read into context, prompt the agent to make your desired changes (e.g. 'Add a new POST route for user creation'). Then, instruct it to use publish_blueprint to upload the newly revised markdown.
How does the team feature list function mapping work?
Apiary enables collaboration. Utilizing list_teams, the agent finds the slugs of your organizations. Then, using list_team_apis, it fetches all collaborative APIs available for that precise team. This hierarchy avoids hallucinating random endpoint repositories.
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 →
Humaans
10 toolsManage employees, leaves, and organization data via Humaans HRIS API.

Paperform
10 toolsManage online forms and submissions via Paperform — list forms, track submissions, and configure webhooks directly from any AI agent.

Reverb
30 toolsManage your Reverb shop — create listings, track orders, handle payouts, and communicate with buyers directly via AI.

PeerTube (YouTube Alternative)
10 toolsInteract with decentralized PeerTube instances — manage video feeds, download content, and handle user registration via AI.
