Bring Social Media Management
to Mastra AI
Create your Vinkius account to connect Instagram (Social Media & Business) 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 Instagram (Social Media & Business) MCP Server?
Connect your Instagram Business account to any AI agent and take full control of your social media content and audience engagement through natural conversation.
What you can do
- Content Publishing — Dispatch professional photos and high-impact reels directly from your agent, including custom captions and automated scheduling flows
- Audience Insights — Query deep performance metrics for your posts and stories to understand reach, impressions, and engagement trends in real-time
- Comment Management — List, retrieve, and respond to customer comments on your media items to maintain a high-touch social presence effortlessly
- Media Inventory — Enumerate your published content library and extract detailed metadata, including permalinks and media types (IMAGE, VIDEO, CAROUSEL)
- Profile Audit — Access your Business account profile data and monitor follower counts and account biographies securely
- Token Management — Refresh long-lived access tokens directly through your agent to ensure uninterrupted service connectivity
How it works
- Subscribe to this server
- Enter your Instagram Access Token and Business Account ID
- Start managing your Instagram presence from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Social Media Managers — publish content and monitor engagement metrics through natural conversation without jumping between mobile and desktop apps
- Marketing Operations — audit account insights and manage high-volume comment responses across multiple business profiles
- Business Owners — get rapid summaries of recent post performance and respond to top customer queries efficiently
Built-in capabilities (10)
Requires a comment_id. Delete an Instagram comment
Requires a media_id — get it from instagram.media first. To reply to a comment, use instagram.comment.reply. To delete a comment, use instagram.comment.delete. Get comments on an Instagram post — text, username, timestamp, like count, and reply count
Requires a media_id — get it from instagram.media first. Only works for Business and Creator accounts. Returns: impressions (total views including repeats), reach (unique accounts), likes, comments, shares, saves. Get performance insights for an Instagram post: impressions, reach, likes, comments, shares, saves, and total interactions
Returns media_type, caption, permalink, like_count, comments_count, timestamp. For post performance metrics, use instagram.insights with the media_id. For comments, use instagram.comments with the media_id. Get recent Instagram posts — images, videos, reels, carousels — with like and comment counts
Requires a media_id. Get all photos/videos within an Instagram carousel album
Returns: username, display name, biography, followers, following, post count, website, profile picture, account type. For posts/media, use instagram.media. For post performance, use instagram.insights. Get the authenticated Instagram account profile: username, bio, follower count, following, post count, website
The image_url MUST be a publicly accessible HTTPS URL — Instagram fetches it directly. Only works for Business and Creator accounts. For videos/reels, use instagram.publish.reel. ALWAYS confirm with the user before publishing. This action is irreversible. Publish a photo to Instagram — provide a public image URL and caption
The video_url MUST be a publicly accessible HTTPS URL pointing to an MP4 file. Only works for Business and Creator accounts. For photos, use instagram.publish.photo. ALWAYS confirm with the user before publishing. This action is irreversible. Publish a Reel to Instagram — provide a public video URL and caption
Can be called any time after the token has been active for at least 24 hours. After refreshing, ALWAYS show the new access token and instruct the user to update their INSTAGRAM_ACCESS_TOKEN credential in Vinkius. The old token becomes invalid. Refresh your Instagram access token — extends validity for another 60 days
Requires a comment_id. Reply to an Instagram comment
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Instagram (Social Media & Business) 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 Instagram (Social Media & Business) 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 Instagram (Social Media & Business) 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
Instagram (Social Media & Business) in Mastra AI
Why run Instagram (Social Media & Business) with Vinkius?
The Instagram (Social Media & Business) 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 Instagram (Social Media & Business) using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Instagram (Social Media & Business) and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Instagram (Social Media & Business) 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
Instagram (Social Media & Business) for Mastra AI
Every request between Mastra AI and Instagram (Social Media & Business) 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 I publish a Reel using my AI agent?
Yes. Use the publish_reel tool. You just need to provide a public URL for the video and your caption. Your agent will handle the container creation and final publishing to your Instagram Business profile instantly.
How do I see performance metrics for a specific post?
Ask your agent to get_media_insights for a specific Media ID. You'll receive deep metrics like reach, impressions, saved counts, and engagement rate directly in your chat interface.
Can my agent help me respond to comments?
Absolutely. Use the get_media_comments tool to list recent feedback, and then use reply_to_comment to send your response. This allows you to manage community interaction without opening the Instagram app.
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 →
Rocket.Chat
10 toolsConnect your AI assistant to Rocket.Chat to seamlessly send messages, explore channels, manage directories, and orchestrate chat operations directly.

Cadmium Harvester
7 toolsManage educational event content via Cadmium — track presentations, speakers, and assets directly from any AI agent.

Winevybe
10 toolsAutomate sommelier intelligence via Winevybe — search global wine catalogs, check vineyard ratings, and manage virtual cellars directly from any AI agent.

Alipay Open Platform
10 toolsAutomate payment workflows via Alipay — create trades, process refunds, execute fund transfers, and reconcile billing ledgers natively from any AI agent.
