> For the complete documentation index, see [llms.txt](https://developers.madkudu.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.madkudu.com/madkudu-mcp/install-in-ai-platforms-in-2min/windsurf.md).

# Windsurf

[Windsurf](https://windsurf.com/) (formerly Codeium) is an AI-native IDE that helps developers build faster with smart autocompletion, context-aware agents, and in-editor previews.\
With MadKudu integrated, technical teams can fetch account insights, enrich leads, or automate sales workflows—directly from their code editor, using agents that connect to MadKudu intelligence.

## Pre-requisite&#x20;

You'll need your API key. Refer to [this article](/getting-started/quickstart.md) to get your API key.&#x20;

### Add MadKudu MCP to Windsurf <a href="#add-madkudu-mcp-to-cursor" id="add-madkudu-mcp-to-cursor"></a>

1. Navigate to Windsurf > Settings > Windsurf Settings and go to Cascade tab&#x20;
2. Click **Manage plugins** then **View raw config**
3. Add the following JSON to the MCP configuration: &#x20;

```json
{
  "mcpServers": {
    ... OTHER MCP SERVERS
    
    --- ADD THIS PART, DON'T FORGET TO REPLACE THE API KEY ---
    "MadMCP": {
      "serverUrl": "https://mcp.madkudu.com/YOUR_API_KEY/sse",
      "disabled": false
    }
  }
}
```

4. Save the file&#x20;
5. Go back to manage plugins and click **Refresh**&#x20;

You should now see the MadMCP tools

## **Enable Turbo Mode (Optional)**&#x20;

The Turbo mode allows the MCP tools to execute automatically without you having to confirm each step all the time

Refer to the [official Windsurf documentation](https://docs.windsurf.com/windsurf/terminal#turbo-mode) to turn it ont

## **Verify the Integration**

Open a Cascade chat and ask "Get account details about Walmart"&#x20;

For more information please follow the official[ Windsurf documentation](https://docs.windsurf.com/windsurf/cascade/mcp)&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers.madkudu.com/madkudu-mcp/install-in-ai-platforms-in-2min/windsurf.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
