Bring Generative Ai
to Mastra AI
Create your Vinkius account to connect Midjourney to Mastra AI and start using all 9 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 Midjourney MCP Server?
Connect Midjourney image generation to any AI agent and create stunning visuals through natural conversation. Generate images from text prompts, upscale to high resolution, create variations, blend images, and even reverse-engineer prompts from existing images.
What you can do
- Text-to-Image — Generate high-quality images from descriptive prompts
- Upscale — Enhance any of the 4 grid images to full resolution
- Variations — Explore creative alternatives based on any generated image
- Blend — Combine 2-5 images into a new composition
- Describe — Reverse-engineer a prompt from any image
- Inpaint — Edit specific regions of images with masks
- Task Monitoring — Track generation progress and retrieve completed images
How it works
- Subscribe to this server
- Enter your Midjourney API key (via Ace Data Cloud)
- Start generating images from Claude, Cursor, or any MCP client
Who is this for?
- Designers — Rapidly prototype visual concepts and explore variations
- Content Creators — Generate custom images for social media, blogs, and presentations
- Developers — Integrate AI image generation into apps and workflows
Built-in capabilities (9)
Provide URLs of existing images to blend together. Optionally add a text prompt to guide the blend. Blend multiple images together into one composition
Useful for understanding how to recreate styles and compositions. Generate a text prompt from an image (reverse engineer)
Returns progress percentage, image URLs when ready, and available actions (upscale/variation). Check the status of an image generation task
Useful for monitoring ongoing generations and finding image IDs for upscale/variation. List recent image generation tasks
The prompt should be in English and can include style modifiers like "--ar 16:9" for aspect ratio, "--v 6" for version, "--s" for stylization. Returns a task ID and thumbnail URL. Use the task ID to check generation progress. Generate an image from text prompt using Midjourney
The rest of the image remains unchanged. Edit a specific region of a generated image using a mask
Useful when none of the initial 4 images are satisfactory. Regenerate 4 new images with the same prompt
Returns the upscaled image URL. Upscale one of the 4 generated images to higher resolution
Useful for exploring different interpretations of a concept. Create a variation of one of the 4 generated images
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Midjourney tool infrastructure. Connect 9 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 Midjourney 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 Midjourney 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
Midjourney in Mastra AI
Why run Midjourney with Vinkius?
The Midjourney 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 9 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 Midjourney using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Midjourney and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Midjourney 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
Midjourney for Mastra AI
Every request between Mastra AI and Midjourney 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 a Midjourney API key?
Sign up at Ace Data Cloud and subscribe to the Midjourney Imagine API service. You'll receive an API key that works with this MCP server.
What's the difference between upscale and variation?
Upscale increases resolution of a specific grid image (1-4) to full quality. Variation creates 4 new creative alternatives based on that image's style and composition. Use upscale for final output, variation for exploration.
How long does image generation take?
Typically 30-60 seconds. Use get_task_status to check progress. The API returns a task ID immediately, and you can poll for completion or set a callback URL for async notification.
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 →
BallotReady
10 toolsCivic data and election information — track upcoming elections, candidates, and districts via AI.

Teamwork Projects
17 toolsManage projects, tasks, milestones, time entries, and messages via Teamwork API.

Katalon TestOps (AI Test Management)
10 toolsManage test orchestration via Katalon TestOps — rerun test runs, monitor execution results, and audit software releases.

ZIP Codes API
6 toolsManage ZIP code data — audit locations, distances, and regions via AI.
