Bring Rag Framework
to Mastra AI
Create your Vinkius account to connect Cognita (RAG Framework) to Mastra AI and start using all 7 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 Cognita (RAG Framework) MCP Server?
Connect your Cognita (TrueFoundry) instance to any AI agent and take full control of your modular RAG workflows through natural conversation.
What you can do
- Knowledge Collections — List and audit RAG collections to inspect embedding configurations, token lengths, and parser details
- Data Ingestion — Force sync remote files from SQL, Cloud Storage, or APIs into your vector space to update your knowledge base
- RAG Queries — Dispatch automated AI questions that query your vector store and synthesize accurate answers from stored context
- Chunk Auditing — Perform lexical or semantic searches to pull raw document chunks and verify precise text segments
- Model Registry — Enumerate available LLMs and embedding models registered inside your modular Cognita installation
- DataSource Management — List all connected data sources to verify which external data is mapped into your AI workflows
How it works
- Subscribe to this server
- Enter your Cognita Base URL and API Key (if required by your TrueFoundry or self-hosted setup)
- Start managing your RAG pipelines from Claude, Cursor, or any MCP-compatible client
Who is this for?
- AI Engineers — test and debug RAG queries and chunk retrieval logic without writing Python scripts
- Data Scientists — monitor ingestion pipelines and verify document chunking consistency across collections
- Product Teams — quickly audit what knowledge is being fed to AI agents during the prototyping phase
- DevOps Teams — monitor Cognita model registries and ensure that all LLM endpoints are active and reachable
Built-in capabilities (7)
Retrieve explicit Cloud logging tracing explicit Payload IDs
Provision a highly-available JSON Payload generating new Resource directories
Identify bounded routing spaces inside the Headless Cognita RAG limit
Perform structural extraction of properties driving active Buckets
Inspect deep internal arrays mitigating specific Picture constraints
Identify precise active arrays spanning rented Transformation vectors
Enumerate explicitly attached structured rules exporting active Presets
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Cognita (RAG Framework) tool infrastructure. Connect 7 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 Cognita (RAG Framework) 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 Cognita (RAG Framework) 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
Cognita (RAG Framework) in Mastra AI
Why run Cognita (RAG Framework) with Vinkius?
The Cognita (RAG Framework) 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 7 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 Cognita (RAG Framework) using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Cognita (RAG Framework) and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Cognita (RAG Framework) 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
Cognita (RAG Framework) for Mastra AI
Every request between Mastra AI and Cognita (RAG Framework) 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 perform semantic RAG queries against my collections?
Yes. The 'rag_query' tool allows you to ask questions in natural language. The agent queries your vector store via Cognita and uses an LLM to synthesize a final answer based explicitly on the retrieved context.
How can I trigger a data ingestion pipeline through the agent?
Provide the collection name and the data source FQN (Fully Qualified Name). The 'ingest_data' tool will command the Cognita backend to start a sync, updating your RAG vector space with the latest remote documents.
Can I audit the raw document chunks before LLM generation?
Absolutely. Use the 'search_chunks' tool to perform vector searches that return raw text segments and metadata without LLM synthesis. This is the perfect way to verify that your retrieval logic is pulling the correct data boundaries.
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 →
Argyle
7 toolsVerify employment and income with Argyle — track users, employments, and payouts via AI.

Postproxy
11 toolsManage your Google Business Profile posts, reviews, and local SEO presence across multiple locations from one dashboard.

DataCite REST
12 toolsManage and query DOIs (Digital Object Identifiers) via DataCite — retrieve metadata, list activities, and manage research records directly from your AI agent.

DataScope
6 toolsCreate mobile forms for field inspections, audits, and data collection that work offline and sync when connectivity returns.
