Zed
Setup Zed to correctly generate Avo code based on your prompt.
Quick use
In Thread chat type this before your prompt
@fetch https://docs.avohq.io/3.0/docs-map.mdOr in Text thread chat type this before your prompt
/fetch https://docs.avohq.io/3.0/docs-map.mdPermanent setup
Zed reads the AGENTS.md file from your repository. Add a line pointing to Avo's docs:
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 Settings → AI → MCP Servers → Add Server → Install from Extensions and pick Context7.
Or add it as a custom server in your settings.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:
create a new Avo resource for a product model. use context7