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 33956 servers in our directory work with Windsurf.
A comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Production-ready platform for agentic workflow development.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
Enables interaction with Slack workspaces through comprehensive channel management, messaging, user management, file uploads, and Block Kit formatting. Features secure credential storage via macOS Keychain and supports all major Slack operations incl
Model Context Protocol Servers
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.
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.
MCP servers for browser automation, web testing, scraping, screenshot capture, and PDF generation. Control Playwright, Puppeteer, Skyvern, and more through AI assistants.
MCP servers for web search, data extraction, and content retrieval. Connect AI assistants to Brave Search, Exa, Firecrawl, and 385+ other search and extraction tools.
MCP servers for persistent memory, knowledge graphs, vector databases, and context management. Give AI assistants long-term memory and access to structured knowledge.
MCP servers for financial services, payment processing, trading, and cryptocurrency. Connect AI assistants to Stripe, banking APIs, market data, and blockchain tools.
MCP servers for security monitoring, authentication, vulnerability scanning, and compliance. Connect AI assistants to Sentry, auth providers, and security scanners.
MCP servers for data science, machine learning, and scientific computing. Connect AI assistants to Jupyter notebooks, pandas, ML frameworks, and data processing pipelines.
MCP servers for version control systems including Git, GitHub, and GitLab. Manage repositories, pull requests, code reviews, and CI/CD pipelines through AI assistants.
MCP servers for AI coding agents, code generation, task management, and automated testing. Enhance your development workflow with intelligent coding assistants.
MCP servers for marketing automation, SEO optimization, content management, and social media. Connect AI assistants to analytics platforms, SEO tools, and marketing workflows.
MCP servers for monitoring, observability, and logging. Connect AI assistants to Grafana, Datadog, Sentry, and other tools for intelligent incident response and system analysis.
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 33956+ MCP servers, read our setup guides, and start building with the Model Context Protocol today.