Skip to main content

Claude Code Setup

Connect noBGP to Claude Code, Anthropic's CLI tool for agentic coding.

Installation

Add the noBGP MCP server to your Claude Code configuration. In your project's .mcp.json or global settings, add:

{
"mcpServers": {
"nobgp": {
"type": "url",
"url": "https://preview.nobgp.com/mcp"
}
}
}

Authentication

After adding the MCP server, authenticate with noBGP by running /mcp in Claude Code, selecting the nobgp server, and completing the OAuth flow in your browser.

Available Tools

Once connected, Claude Code can use these noBGP tools:

Networks

  • network_directory - List networks, nodes, and services
  • network_create / network_delete - Manage networks

Nodes

  • provision_node - Provision a new cloud node
  • deprovision_node - Stop and remove a provisioned node
  • register_node - Generate registration code for self-hosted nodes
  • command - Run commands and interactive shells on remote nodes

Services

  • service_publish - Expose a port or command via public URL
  • service_update / service_delete - Manage published services

Account

  • whoami - Show authenticated user info

Example Usage

Ask Claude Code to manage your infrastructure:

Show me my noBGP networks and nodes
Provision a new node called "dev-server"
Run "df -h" on my raspberry pi node
Publish port 8080 on my-node as a public web service

More Information