Claude
Setup Claude Code and the Claude app to correctly generate Avo code based on your prompt.
Quick use
Paste the link in the prompt and write your prompt. Claude will fetch the docs pages it needs from the map.
https://docs.avohq.io/3.0/docs-map.mdClaude Code
Claude Code reads the CLAUDE.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.Or save the docs in your repo and reference the file from CLAUDE.md:
curl -L https://docs.avohq.io/3.0/docs-map.md --create-dirs -o docs/avo-docs-map.mdTo add the Context7 MCP server to Claude Code, run:
claude mcp add context7 -- npx -y @upstash/context7-mcpMCP server in the Claude app
MCP (Model Context Protocol) connects AI applications to external tools and context. Claude can use MCP servers to look up documentation while working.
I suggest using Context7 MCP server which provides many libraries including Avo's docs.
Go to Settings > Developer
Click
Edit ConfigbuttonAdd this to the config file:
// claude_desktop_config.json
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"]
}
}
}- Fully quit and reopen the Claude app so the server loads.
Now you can ask AI 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