Generic MCP setup - Anchor Docs
Use Anchor with any MCP-compatible agent by copying the generated .anchor/mcp-config.json server descriptor.
Many MCP clients use slightly different config locations, but the server shape is the same: command plus args.
- Writes .anchor/mcp-config.json with a portable anchor serve descriptor.
- Prints target-specific setup summaries after anchor init.
- Leaves client-specific file placement to the tool when Anchor cannot know it safely.
anchor init --target generic
anchor index --limit 200
cat .anchor/mcp-config.json