The MCP Server Protocol allows you to run a local server that can be used with Claude and other AI assistants to access your data.
Installation
Run the Agentset MCP server with your preferred package manager:
AGENTSET_API_KEY=your-api-key npx @agentset/mcp --ns your-namespace-id
Adding to Claude
To add the MCP server to Claude, include the following configuration in your Claude settings:
{
"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
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