Skip to content

Zed Zed

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

Quick use

In Thread chat type this before your prompt

bash
@fetch https://docs.avohq.io/3.0/docs-map.md

Or in Text thread chat type this before your prompt

bash
/fetch https://docs.avohq.io/3.0/docs-map.md

Permanent setup

Zed reads the AGENTS.md file from your repository. Add a line pointing to Avo's docs:

bash
When working with Avo, use the docs at https://docs.avohq.io/3.0/docs-map.md as a reference.

MCP server

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

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

The easiest way is installing the Context7 extension: go to SettingsAIMCP ServersAdd ServerInstall from Extensions and pick Context7.

Or add it as a custom server in your settings.json:

json
{
  "context_servers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"],
      "env": {}
    }
  }
}

Now you can ask the agent 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