Bring Team Chat
to Mastra AI
Create your Vinkius account to connect Flock 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 Flock MCP Server?
Connect your Flock bot to any AI agent and take full control of your team communication, private groups, and organizational roster through natural conversation.
What you can do
- Rich Messaging Orchestration — Provision massively fast payloads strictly into Flock chats, utilizing `` to render rich enterprise attachments and formatted layouts natively
- Public Channel Discovery — Enumerate explicitly attached public channels and execute bulk iterations to capture global namespaces and routing configurations synchronously
- Private Group Management — Identify bounded private groups and retrieve precise physical definitions detailing exactly how hidden groups operate within your enterprise
- Organizational Roster Auditing — Discovers global identity blocks mapping direct
@aliases to absolute string UUIDs to solve accurate routing for the entire company - Identity Metadata Retrieval — Perform structural extraction of profile metadata linked to Flock users, resolving time zones and LDAP/SSO properties securely
- Chat Log Ingestion — Pull chronological asynchronous logs from any room, extracting raw JSON objects mapping historical strings natively from chat fetchers
- Membership Oversight — Audit IAM boundaries and identify explicit active UUIDs directly attached to channels or groups to verify intended audiences flawlessly
How it works
- Subscribe to this server
- Enter your Flock Bot Token (found in the Flock Developer Dashboard > My Apps > Bot Token)
- Start managing your team communication from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Team Leads & Managers — send announcements and coordinate private groups without leaving the chat interface
- Developers — test bot messaging logic and verify FlockML rendering directly from the IDE or chat
- IT Admins — audit channel memberships and verify organizational roster mappings using natural language
- Ops Teams — monitor public channels and manage private team communication in real-time
Built-in capabilities (10)
Retrieve explicit Channel descriptions and banner logic mappings
Identify explicit Active UUIDs directly attached evaluating Channel ingress
Enumerate explicitly attached `public` channels active within Flock
Extracts raw JSON objects mapping historical strings natively returned by `chat.fetchMessages`. Read recent structural Chat payloads targeting a Flock Room
Detects if formatted `<flockml>` definitions are passed and converts the payload dynamically bypassing standard Markdown limits rendering rich enterprise attachments. Provision a massively fast payload strictly into an established Flock Chat
Inspect deep internal credentials identifying a precise Private Group
Crucial for verifying sensitive message targets. Audit IAM boundaries explicitly granting read permissions to a Group
Returns arrays necessary to retrieve correct routing UUIDs. Identify bounded Private Groups tracking strict IAM boundaries
Returns explicit array definitions mapping direct `@` aliases to absolute string UUIDs solving accurate routing natively. Identify precise active Human constraints navigating the entire Flock company
Perform structural extraction of metadata linked to a Flock Identity
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Flock 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 Flock 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 Flock 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
Flock in Mastra AI
Why run Flock with Vinkius?
The Flock 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 Flock using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Flock and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Flock 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
Flock for Mastra AI
Every request between Mastra AI and Flock 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 my agent send formatted messages using FlockML?
Yes. Use the 'chat_send_message' tool and provide your XML string in the 'flockml' parameter. The agent will bypass standard Markdown limits to render rich enterprise attachments and layouts natively in Flock.
How do I list all members of a specific private group via chat?
Use the 'groups_list_members' tool. Provide the Group UUID. Your agent will surface the explicitly mapped profiles within that group, helping you verify sensitive message targets securely.
Can I search for a user's UUID using their '@' alias through the agent?
Absolutely. The 'roster_list_directory' tool discovers global identity blocks mapping direct aliases to absolute string UUIDs, ensuring you can route messages accurately to anyone in your company.
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 →
Stability AI
10 toolsConnect your AI to Stability AI's powerful image generation models. Create, upscale, and edit high-quality images directly and efficiently.

Mem0
4 toolsGive your AI agent persistent memory — store, search, and recall facts, preferences, and context across sessions using the leading agent memory platform.

Gainsight CS
12 toolsManage customer success, track health scores, and oversee the timeline via AI agents with Gainsight CS.

Hacker News
3 toolsExplore tech news via Hacker News — fetch top and new stories, retrieve detailed item contents, and read comments directly from any AI agent.
