Skip to content

Windsurf Windsurf

Setup Windsurf to correctly generate Avo code based on your prompt.

Quick use

In chat window type this and write your prompt.

bash
@web https://avohq.io/llms.txt

MCP server

MCP is a an API to communicate with AI models. You can add MCP servers and Windsurf will communicate with them to get more accurate results.

I suggest using Context7 MCP server which provides many libraries including Avo's docs.

  1. Press⌘ CMD+⇧ Shift+P(or⌃ Ctrl+⇧ Shift+Pon Windows)

  2. Type Windsurf: MCP Configuration Panel

  3. Click Add custom server +

  4. Add this:

json
// mcp_config.json
{
  "mcpServers": {
   "context7": {
     "command": "npx",
     "args": ["-y", "@upstash/context7-mcp@latest"]
   }
  }
}

Now you can ask AI anything about Avo, and write use context7 at the end of your prompt.

For example:

bash
create a new Avo resource for a product model. use context7