Skip to main content
Glama
README.md
# 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.

[![npm version][npm-badge]][npm]
[![License][license-badge]][license]
[![Build Status][build-badge]][build]
[![Downloads][downloads-badge]][npm]
[![Size][size-badge]][npm]

## Installation

using npm:

```sh
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id
```

using yarn:

```sh
AGENTSET_API_KEY=your-api-key yarn dlx @agentset/mcp --ns your-namespace-id
```

using pnpm:

```sh
AGENTSET_API_KEY=your-api-key pnpm dlx @agentset/mcp --ns your-namespace-id
```

## Adding to Claude

```json
{
  "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

```sh
AGENTSET_API_KEY=your-api-key AGENTSET_NAMESPACE_ID=your-namespace-id npx @agentset/mcp
```

Passing a custom tool description

```sh
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id -d "Your custom tool description"
```

Passing a tenant id:

```sh
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id -t your-tenant-id
```

## API Reference

Visit the [full documentation](https://docs.agentset.ai) for more details.

<!-- Links -->

[docs]: https://docs.agentset.ai/
[build-badge]: https://github.com/agentset-ai/mcp-server/actions/workflows/release.yml/badge.svg
[build]: https://github.com/agentset-ai/mcp-server/actions/workflows/release.yml
[license-badge]: https://badgen.net/github/license/agentset-ai/mcp-server
[license]: https://github.com/agentset-ai/mcp-server/blob/main/LICENSE
[npm]: https://www.npmjs.com/package/@agentset/mcp
[npm-badge]: https://badgen.net/npm/v/@agentset/mcp
[downloads-badge]: https://img.shields.io/npm/dm/@agentset/mcp.svg
[size-badge]: https://badgen.net/packagephobia/publish/@agentset/mcp

TDQS

A3.7/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of confusion or overlap. The tool's purpose is clearly defined as knowledge base retrieval, making selection unambiguous.

Naming Consistency5/5

With a single tool named knowledge-base-retrieve, there is no inconsistent naming pattern. The name is descriptive and predictable, though hyphenated rather than snake_case or camelCase.

Tool Count3/5

One tool is borderline: it is sufficient for a simple read-only knowledge base retrieval service, but the 'Agentset' server name suggests a broader scope that is not reflected by a single tool.

Completeness3/5

The tool covers retrieval well, but there are no create, update, delete, or list operations. For a purely read-only knowledge base this may be sufficient, but for a general knowledge base or an agent set, the surface is incomplete.

Maintenance

ActivityInactive
ResponsivenessNo issues