beginner⏱️ 14-24 minutes📅 Updated August 2026

Step-by-step guide to integrate AgentMode MCP server with Windsurf Editor. Includes database_query and github_operations.

AgentMode + Windsurf Editor: Complete MCP Integration

AgentMode is a MCP server that Connect to dozens of databases, data warehouses, Github & more, from a single MCP server. Run the Docker image locally, in the cloud, or on-premise..

When integrated with Windsurf Editor, you can:

  • Execute SQL queries across connected databases
  • Interact with GitHub repositories and issues
  • Connect to data warehouses like Snowflake, BigQuery

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

What You'll Achieve

After completing this setup:

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

Prerequisites

Before starting, ensure you have:

  • API key from AgentMode dashboard
  • Workspace identifier
  • Windsurf Editor installed and configured
  • Compatible operating system (Desktop App)

Installation

Step 1: Install AgentMode

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": {
    "agentmode": {
      "command": "agentmode",
      "args": []
    }
  }
}

Note: If AgentMode requires environment variables, add them to the server configuration:
"env": {
  "AGENTMODE_API_KEY": "am_1234567890abcdef",
        "AGENTMODE_WORKSPACE": "my-team-workspace"
}

  1. Restart Windsurf Editor

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

Examples

Once configured, you can use AgentMode in Windsurf Editor:

Multi-Database Analytics

undefined

Ask Windsurf Editor: "Show me user engagement metrics from both databases"

Expected Result: undefined

GitHub Issue Management

undefined

Ask Windsurf Editor: "Create issues for users with failed payments"

Expected Result: undefined

Data Pipeline Monitoring

undefined

Ask Windsurf Editor: "Check status of yesterday's data pipeline runs"

Expected Result: undefined

Testing Your Setup

  1. Launch Windsurf Editor
  2. Verify AgentMode is available in the tools list
  3. Test basic AgentMode 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.

AgentMode not appearing in Windsurf Editor

Symptoms: Server not listed, Tools not available

Cause: Configuration or installation issue

Solution:

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

Next Steps

Now that AgentMode is integrated with Windsurf Editor:

  • Explore all AgentMode 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 AgentMode 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

AgentMode + Windsurf Editor: MCP Setup Guide (2026)