# Warp

URL: https://docs.hanzo.ai/docs/guides/coding/warp

> Give Warp's agents the Hanzo toolset and the hosted Hanzo MCP endpoint.

## Hanzo MCP

Two ways to give Warp Hanzo's tools. **API key** is the hosted endpoint, [`https://api.hanzo.ai/v1/mcp`](https://docs.hanzo.ai/docs/mcp-tools), with a key from [hanzo.app](https://hanzo.app) sent as `Authorization: Bearer sk-...`. **Local** is `hanzo-mcp` on your machine, started with `npx -y hanzo mcp` (needs Node.js). With no key set it uses the sign-in `hanzo login` stored, so there is no key to paste ([MCP](https://docs.hanzo.ai/docs/mcp)). Replace `sk-...` with your key.

**API key**

In Warp, open `Settings > Agents > MCP servers`, choose `+ Add` and paste this.

```json
{
  "mcpServers": {
    "hanzo-cloud": {
      "url": "https://api.hanzo.ai/v1/mcp",
      "headers": {
        "Authorization": "Bearer sk-..."
      }
    }
  }
}
```

**Local**

In Warp, open `Settings > Agents > MCP servers`, choose `+ Add` and paste this.

```json
{
  "mcpServers": {
    "hanzo": {
      "command": "npx",
      "args": ["-y", "hanzo", "mcp"]
    }
  }
}
```
