Codeium's AI-powered IDE with MCP support. Configure MCP servers via ~/.windsurf/mcp.json to extend Windsurf's AI with custom tools, databases, and API integrations.
Windsurf is Codeium's AI-native IDE designed from the ground up for AI-assisted development. It features deep code understanding, intelligent autocomplete, and a powerful AI assistant called Cascade that can perform complex multi-step coding tasks. Windsurf supports the Model Context Protocol (MCP), allowing you to extend Cascade's capabilities with external tools, file system access, database connections, GitHub integration, and custom tooling.
Windsurf reads MCP server configurations from a global configuration file at ~/.windsurf/mcp.json. When Windsurf starts, it launches the configured servers and makes their tools available to Cascade, the AI assistant. Cascade can then use these tools to fetch data, interact with APIs, query databases, and perform file operations beyond what Windsurf provides natively.
The global configuration approach means your MCP servers are available across all projects - you configure them once and they work everywhere. This is different from project-level approaches used by Cursor or VS Code, but convenient if you use the same set of tools across projects.
mkdir -p ~/.windsurf~/.windsurf/mcp.json with your MCP server definitions. The file uses an mcpServers object where each key is a server name.Windsurf uses a single global configuration at ~/.windsurf/mcp.json. All configured servers are available in every project you open. If you need project-specific setups, you can use wrapper scripts or conditionally configure servers based on environment variables. Check the latest Windsurf documentation for updates on project-level MCP configuration support, as this feature may be added in future releases.
Pass API keys and tokens through the env field in each server configuration. For security, store secrets in your system environment or a secrets manager rather than hardcoding them in the config file. The env values are passed only to the specific server process.
Windsurf supports stdio transport (the default) using command and args. For remote servers, SSE transport may be available - check the current Windsurf documentation for the latest transport support. Stdio is recommended for local servers due to lower latency and simpler configuration.
Cascade is Windsurf's AI assistant that handles multi-step coding workflows. When MCP servers are configured, Cascade can use their tools as part of complex operations. For example, it might query a PostgreSQL database to understand your schema, then generate code that matches the database structure, then use the GitHub server to create a pull request with the changes - all in a single workflow.
~/.windsurf/mcp.json exists and contains valid JSON. Common mistake: placing the file in a project directory instead of the home directory. Use cat ~/.windsurf/mcp.json in a terminal to verify.~/.windsurf/mcp.json, you must fully restart Windsurf (quit and reopen, not just reload).These MCP servers work well with Windsurf's AI-assisted development workflow:
Explore all available servers in our MCP server directory.
For a comparison of MCP setup across different editors, read our MCP Servers for Cursor, VS Code, and Claude guide. Our tutorials section has step-by-step walkthroughs for common setups.
npm install -g to avoid the download step that npx -y triggers on each startup. This significantly speeds up Windsurf's startup time.ps aux | grep mcp to see running MCP server processes and their resource usage.MCP servers in Windsurf run as local processes with your user permissions. Since the configuration is global, all servers have access regardless of which project you have open. Follow these best practices:
~/.windsurf/mcp.json may contain API keys and tokens. Ensure appropriate file permissions (chmod 600 ~/.windsurf/mcp.json) and consider using environment variables instead of hardcoded secrets.Windsurf excels with its Cascade AI assistant that handles complex multi-step workflows. If you prefer a VS Code-based experience, try Cursor or VS Code with GitHub Copilot. For terminal-based development, Claude Code CLI offers a powerful command-line alternative. For a standalone AI chat, Claude Desktop provides a clean interface. All these clients support the same MCP server ecosystem.
Config file location: ~/.windsurf/mcp.json
Install Windsurf from codeium.com/windsurf. Available on macOS, Windows, and Linux.
Create the config directory if it does not exist: mkdir -p ~/.windsurf
Create or edit ~/.windsurf/mcp.json with your MCP server configurations under the mcpServers key.
Save the file and restart Windsurf completely (quit and reopen).
Open the Cascade AI panel and verify your MCP servers are detected and their tools are available.
Start coding with Cascade - it will use your MCP servers to assist with relevant tasks automatically.
Need help setting up Windsurf?
Check our step-by-step IDE setup guide with troubleshooting tips.
All 60 servers in our directory work with Windsurf.
Secure file operations with configurable access controls
Knowledge graph-based persistent memory system
Privacy-focused web search capabilities
File storage and document collaboration
Location services and mapping integration
Embedded SQL database operations
PostgreSQL database integration
Team communication and collaboration
Version control operations
Extract transcripts from YouTube videos
Browser automation and web scraping
Official GitHub integration with comprehensive API coverage
Find the best MCP servers for Windsurf in each category.
MCP servers for secure file operations, directory management, and document processing. These servers provide sandboxed access to local and remote file systems with configurable permissions.
MCP servers for connecting AI assistants to SQL and NoSQL databases. Query, analyze, and manage your data through natural language with support for PostgreSQL, SQLite, MongoDB, Redis, and more.
MCP servers that connect AI assistants to external APIs and web services. Search the web, fetch data, interact with third-party platforms, and automate API workflows through natural language.
MCP servers for managing cloud infrastructure across AWS, Google Cloud, Azure, and platforms like Vercel, Netlify, and Cloudflare. Deploy, monitor, and manage cloud resources through AI assistants.
MCP servers for software development workflows including version control, CI/CD, code analysis, browser testing, and project management. Supercharge your development process with AI-powered tooling.
MCP servers for monitoring, observability, and data analytics. Connect AI assistants to Grafana, Datadog, and search platforms to analyze metrics, logs, and business data in real time.
MCP servers for messaging, video conferencing, and team collaboration platforms. Connect AI assistants to Slack, Discord, and Zoom for automated communication workflows.
MCP servers for CRM, e-commerce, project management, and business automation platforms. Connect AI to Shopify, Stripe, Salesforce, HubSpot, Notion, and more to streamline business operations.
Explore MCP setup guides for other AI-powered editors and clients.
Anthropic's official desktop app for Claude with built-in MCP server support. Configure servers via a JSON config file to extend Claude with file access, databases, APIs, and more.
Anthropic's command-line coding agent with native MCP support. Configure servers via project settings or the --mcp flag for terminal-based AI development workflows.
The AI-first code editor with built-in MCP support. Configure MCP servers via .cursor/mcp.json to give Cursor's AI access to databases, APIs, file systems, and custom tools.
Visual Studio Code with GitHub Copilot supports MCP servers for extending AI capabilities. Configure servers in VS Code settings to connect Copilot to databases, APIs, and local tools.
An autonomous AI coding agent for VS Code with MCP support. Configure MCP servers through Cline's VS Code settings to give it access to external tools and data sources.
Browse our complete directory of 60+ MCP servers, read our setup guides, and start building with the Model Context Protocol today.