Client installation
Create an API key first and replace YOUR_API_KEY below. Where a client reads environment variables, put the key into CALW_API_KEY:
export CALW_API_KEY="YOUR_API_KEY"Installation
Run in your terminal:
claude mcp add --transport http calw https://api.calw.dev/mcp --header "Authorization: Bearer YOUR_API_KEY"To share a project configuration without the key, add this to .mcp.json:
{
"mcpServers": {
"calw": {
"type": "http",
"url": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer ${CALW_API_KEY}" }
}
}
}The configuration file starts local servers, so the bridge mcp-remote (needs Node.js) connects to Calw. On macOS edit ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"calw": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.calw.dev/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": { "AUTH_HEADER": "Bearer YOUR_API_KEY" }
}
}
}Restart Claude Desktop afterwards.
Add to ~/.codex/config.toml:
[mcp_servers.calw]
url = "https://api.calw.dev/mcp"
bearer_token_env_var = "CALW_API_KEY"Save the file and restart any running codex session.
Add to .vscode/mcp.json, and keep the file out of version control if it contains the key:
{
"servers": {
"calw": {
"type": "http",
"url": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Newer Copilot setups read the same entry under the key mcpServers in a .mcp.json file.
Run zed: open settings file and add:
{
"context_servers": {
"calw": {
"url": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Add to opencode.jsonc:
{
"mcp": {
"servers": {
"calw": {
"type": "remote",
"url": "https://api.calw.dev/mcp",
"oauth": false,
"headers": { "Authorization": "Bearer {env:CALW_API_KEY}" }
}
}
}
}Run in your terminal:
grok mcp add --transport http calw https://api.calw.dev/mcp --header "Authorization: Bearer ${CALW_API_KEY}"Or add to ~/.grok/config.toml:
[mcp_servers.calw]
url = "https://api.calw.dev/mcp"
headers = { "Authorization" = "Bearer ${CALW_API_KEY}" }Run in your terminal:
agy mcp add --type http -H "Authorization: Bearer YOUR_API_KEY" calw https://api.calw.dev/mcpOr add to ~/.gemini/config/mcp_config.json:
{
"mcpServers": {
"calw": {
"serverUrl": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Add to ~/.gemini/settings.json:
{
"mcpServers": {
"calw": {
"httpUrl": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Open Settings, Agents, MCP servers and add a server, or edit ~/.warp/.mcp.json:
{
"mcpServers": {
"calw": {
"url": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Add to ~/.config/amp/settings.json:
{
"amp.mcpServers": {
"calw": {
"url": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer ${CALW_API_KEY}" }
}
}
}Add to ~/.fx/mcp.json and start fx from a terminal that has the variable set:
{
"mcpServers": {
"calw": {
"type": "http",
"url": "https://api.calw.dev/mcp",
"bearer_token_env": "CALW_API_KEY"
}
}
}Open Settings, Configuration, MCP, choose HTTP, enter https://api.calw.dev/mcp and add the header Authorization: Bearer YOUR_API_KEY. A self-hosted CloudCLI shares its servers with Claude Code.
We have not verified a configuration for Pi or Cursor against their official documentation. Clients that support remote Streamable HTTP servers with custom headers usually accept this form; check your client's documentation:
{
"mcpServers": {
"calw": {
"type": "http",
"url": "https://api.calw.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Check the connection
Ask your assistant: “Which Calw teams am I in?” The live view shows the tool call.