Bring Rag
to Mastra AI
Create your Vinkius account to connect Vectara 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 Vectara MCP Server?
Connect your Vectara environment to any AI agent to unlock enterprise-grade Retrieval-Augmented Generation (RAG) and semantic search directly inside your conversational IDE or workspace.
What you can do
- Semantic Search — Query your indexed private corpora naturally and return highly relevant, grounded documents without traditional keyword matching limitations.
- Conversational RAG — Execute fully-fledged interactive chats leveraging Vectara's backend to provide detailed, cited answers strictly based on your secure documents.
- Corpus Management — List all available data corpora, retrieve unique keys, and discover the shape of your indexed data environment on the fly.
- Document Auditing — Monitor specific document indexes within a corpus, verify correct ingestions, or permanently delete obsolete files avoiding polluted search results.
How it works
- Subscribe to this server
- Enter your Vectara API Key and Customer ID
- Start retrieving knowledge from Claude, Cursor, or any MCP-compatible client
Your AI agent becomes an elite cognitive search gateway to all your internal data.
Who is this for?
- Software Engineers — debug RAG implementation challenges by directly testing
queryresponses via chat instead of writing disposable test scripts. - Data Engineers — securely remove stale database context arrays manually inserted into Vectara via quick conversational text commands.
- Product Leads — ask questions against internal product manuals stored as a Vectara corpus without waiting for the frontend UI development.
- Technical Writers — locate specific passages traversing across thousands of embedded documents effortlessly leveraging contextual semantic queries.
Built-in capabilities (7)
This action is irreversible. Permanently removes a document from a corpus
Provide corpus keys and the user query to get a summarized AI response with citations. Executes a RAG-powered chat completion
Retrieves metadata and configuration for a specific corpus
Lists previous RAG chat sessions
Lists all corpora (searchable datasets) in the Vectara account
Lists all indexed documents within a specific corpus
Provide one or more comma-separated corpus keys and the query text. Executes a semantic search across one or more corpora
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Vectara 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 Vectara 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 Vectara 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
Vectara in Mastra AI
Why run Vectara with Vinkius?
The Vectara 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 Vectara using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Vectara and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Vectara 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
Vectara for Mastra AI
Every request between Mastra AI and Vectara 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 query my internal documents directly using just conversational chat?
Yes. If your data is indexed in a Vectara corpus, simply ask your agent: search the 'employee-handbook' corpus for remote work policies. The agent uses the queryTool to pass your question to Vectara's semantic engine, effortlessly bringing back precisely matching paragraph citations instantly.
How do I remove outdated context files destroying the accuracy of my RAG model?
You don't need to rebuild APIs or use cURL. Tell your AI: delete document ID 'doc-992a' from my Sales corpus. It automatically formats the mutation and wipes the poisoned embedding from Vectara's nodes permanently, restoring high accuracy.
Will the RAG Chat tool provide accurate source citations?
Yes. When you instruct the agent to run execute_rag_chat, Vectara processes the query against its internal LLM and index, returning a synthesized natural language answer appended solidly with exact document citations, proving the AI isn't hallucinating facts.
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 →
PreciseFP
13 toolsCollect client financial data digitally with compliant intake forms designed for wealth management and financial planning firms.

MainWP
8 toolsManage multiple WordPress sites, updates, and security via the MainWP REST API.

QuickNode
18 toolsManage blockchain infrastructure via QuickNode — create data streams, configure webhooks, and interact with RPC nodes directly from your AI agent.

Beisen (iTalentX)
10 toolsComprehensive HR cloud platform — manage employees, attendance, and recruitment via AI.
