Connect RAG knowledge base to Agentset platform
MCP server connecting Claude and AI clients to Agentset's open-source RAG platform for retrieval-augmented generation over document collections.
Why it matters
Enable retrieval-augmented generation by connecting your knowledge base to the Agentset platform, allowing AI agents to query and retrieve relevant information from indexed documents and data sources.
Outcomes
What it gets done
Index documents and data into a searchable knowledge base
Retrieve relevant context from stored knowledge for AI queries
Connect knowledge base operations to Agentset workflows
Enable semantic search across your organization's information
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-agentset | bash Overview
Agentset MCP Server
Agentset MCP Server is an MCP connector that bridges AI clients like Claude with Agentset's open-source RAG platform. It enables developers to build intelligent applications that combine language models with proprietary knowledge bases stored in Agentset namespaces. Use this server when you need an AI assistant to answer questions grounded in your own document collections or knowledge bases stored in Agentset. It's ideal for building customer support bots, internal knowledge assistants, or any application where the AI must retrieve and cite specific information from curated documents.
What it does
Agentset MCP Server is an MCP connector that exposes Agentset's Retrieval-Augmented Generation (RAG) platform to AI clients like Claude. It enables developers to build intelligent, document-based applications that combine large language models with proprietary or domain-specific knowledge bases stored in Agentset namespaces.
When to use - and when NOT to
Use Agentset MCP Server when you need an AI assistant to answer questions grounded in your own document collections, technical documentation, or knowledge bases. It's ideal for building customer support bots, internal knowledge assistants, or any application where you want to connect AI clients to curated document sets stored in Agentset. Use it when you already have or plan to maintain documents in Agentset namespaces.
Do NOT use this connector if you don't have an Agentset account or namespace set up - the server requires both an API key and namespace ID to function. Avoid it if your use case doesn't involve document retrieval or if you need real-time data that isn't stored in static documents.
Inputs and outputs
You provide an Agentset API key and namespace ID as environment variables or command-line arguments. Optionally, you can specify a tenant ID for multi-tenant scenarios and a custom tool description.
The server connects to the Agentset platform API to perform operations on your namespace.
Integrations
The connector can be added to Claude Desktop by configuring your MCP servers file:
{
"mcpServers": {
"agentset": {
"command": "npx",
"args": ["-y", "@agentset/mcp@latest"],
"env": {
"AGENTSET_API_KEY": "agentset_xxx",
"AGENTSET_NAMESPACE_ID": "ns_xxx"
}
}
}
}
The server is distributed via npm and can be run with npx, yarn dlx, or pnpm dlx. It connects to the Agentset platform API to perform retrieval operations.
Who it's for
This connector is designed for developers building document-based AI applications who want to leverage RAG without building retrieval infrastructure from scratch. It's particularly suited for teams using Agentset as their RAG platform. Product teams building internal tools, customer support automation, or knowledge management systems will find it useful for connecting their document repositories to conversational AI interfaces.
Installation is straightforward with package managers:
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id
For advanced configurations, you can pass environment variables separately or customize the tool description:
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id -d "Your custom tool description"
Source README
Agentset MCP
MCP server for Agentset, an open-source platform for Retrieval-Augmented Generation (RAG). Designed for developers who want to build intelligent, document-based applications quickly and efficiently.
Installation
using npm:
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id
using yarn:
AGENTSET_API_KEY=your-api-key yarn dlx @agentset/mcp --ns your-namespace-id
using pnpm:
AGENTSET_API_KEY=your-api-key pnpm dlx @agentset/mcp --ns your-namespace-id
Adding to Claude
{
"mcpServers": {
"agentset": {
"command": "npx",
"args": ["-y", "@agentset/mcp@latest"],
"env": {
"AGENTSET_API_KEY": "agentset_xxx",
"AGENTSET_NAMESPACE_ID": "ns_xxx"
}
}
}
}
Tips
Passing namespace id as an environment variable
AGENTSET_API_KEY=your-api-key AGENTSET_NAMESPACE_ID=your-namespace-id npx @agentset/mcp
Passing a custom tool description
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id -d "Your custom tool description"
Passing a tenant id:
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id -t your-tenant-id
API Reference
Visit the full documentation for more details.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.