beginner⏱️ 16-26 minutes📅 Updated June 2026

Step-by-step guide to integrate Agentset MCP server with Windsurf Editor. Includes search_knowledge_base and get_document.

Agentset + Windsurf Editor: Complete MCP Integration

Agentset is a MCP server that RAG for your knowledge base connected to Agentset..

When integrated with Windsurf Editor, you can:

  • Search through indexed documents using RAG
  • Retrieve specific document by ID
  • Perform semantic search across knowledge base

This guide provides step-by-step instructions to set up Agentset in Windsurf Editor, including configuration, examples, and troubleshooting.

What You'll Achieve

After completing this setup:

  • Agentset will be fully integrated and operational
  • You can use Agentset tools directly in Windsurf Editor
  • All Agentset capabilities will be available for your workflows
  • Access to 4 different tools

Prerequisites

Before starting, ensure you have:

  • API key from Agentset dashboard
  • Namespace identifier for knowledge base
  • Windsurf Editor installed and configured
  • Compatible operating system (Desktop App)

Installation

Step 1: Install Agentset

Configuration

Step 2: Configure Windsurf Editor

  1. Locate your configuration file:

    • Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
    • macOS: ~/.codeium/windsurf/mcp_config.json
    • Linux: ~/.codeium/windsurf/mcp_config.json
  2. Add server configuration:

{
  "mcpServers": {
    "agentset": {
      "command": "agentset",
      "args": []
    }
  }
}

Note: If Agentset requires environment variables, add them to the server configuration:
"env": {
  "AGENTSET_API_KEY": "as_1234567890abcdef",
        "AGENTSET_NAMESPACE_ID": "ns_workspace123",
        "AGENTSET_TENANT_ID": "tenant_abc123"
}

  1. Restart Windsurf Editor

Completely quit and restart Windsurf Editor to load the new configuration.

Examples

Once configured, you can use Agentset in Windsurf Editor:

Technical Documentation Search

undefined

Ask Windsurf Editor: "How do I configure SSL certificates in our system?"

Expected Result: undefined

Code Example Retrieval

undefined

Ask Windsurf Editor: "Show me examples of error handling in our codebase"

Expected Result: undefined

Policy and Procedure Lookup

undefined

Ask Windsurf Editor: "What's our deployment approval process?"

Expected Result: undefined

Testing Your Setup

  1. Launch Windsurf Editor
  2. Verify Agentset is available in the tools list
  3. Test basic Agentset functionality

Troubleshooting

Common Issues

Tools Not Appearing

Symptoms: Cascade does not see new tools, Hammer icon missing

Cause: Configuration syntax error or server failed to start.

Solution:

  • Check the JSON configuration for syntax errors.
  • Verify the command (e.g., npx, python) is in your system PATH.
  • Check Windsurf logs for MCP connection errors.

Environment Variables

Symptoms: Authentication failed, Permission denied

Cause: Missing API keys in configuration.

Solution:

  • Ensure env block is correctly defined inside the server config.
  • Restart Windsurf after changing environment variables.

Agentset not appearing in Windsurf Editor

Symptoms: Server not listed, Tools not available

Cause: Configuration or installation issue

Solution:

  • Verify configuration syntax
  • Check Agentset installation
  • Restart Windsurf Editor
  • Check logs for error messages

Next Steps

Now that Agentset is integrated with Windsurf Editor:

  • Explore all Agentset capabilities through Windsurf Editor
  • Check out other MCP servers that work with Windsurf Editor
  • Join the MCP community for tips and support
  • Consider contributing to Agentset development

Need Help?

Related Resources

More Integrations

Explore other MCP servers that work with Windsurf Editor

Need Help?

Join the MCP community for support and discussions

Agentset + Windsurf Editor: MCP Setup Guide (2026)