Skip to content

Claude 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.

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

Claude Code

Claude Code reads the CLAUDE.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.

Or save the docs in your repo and reference the file from CLAUDE.md:

bash
curl -L https://docs.avohq.io/3.0/docs-map.md --create-dirs -o docs/avo-docs-map.md

To add the Context7 MCP server to Claude Code, run:

bash
claude mcp add context7 -- npx -y @upstash/context7-mcp

MCP server in the Claude app

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

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

  1. Go to Settings > Developer

  2. Click Edit Config button

  3. Add this to the config file:

json
// claude_desktop_config.json
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp@latest"]
    }
  }
}
  1. 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:

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