{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "name": "Developer resources: API, CLI, MCP and SDKs",
  "headline": "Developer resources: API, CLI, MCP and SDKs",
  "description": "Everything for building on Edge Network: REST API, OpenAPI spec, Agent API, MCP server, CLI, SDKs and machine-readable discovery files at stable URLs.",
  "url": "https://edge.network/developers",
  "image": "https://edge.network/og/developers.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Developers",
        "item": "https://edge.network/developers"
      }
    ]
  },
  "section": "developers",
  "articleBody": "Developers\n\n Build on Edge from wherever you write code\n\n Human documentation, machine-readable specifications and agent tooling, all published at predictable URLs. Use the CLI, the REST API, an S3 SDK or an AI agent: it&#x27;s the same platform underneath. Create a free account Read the docs No card needed to sign up. Agents can even sign themselves up.\n\n Start here\n\n Four ways in \n\n Readable documentation for every surface: the products, the REST API, the Agent API and the CLI. Documentation\n\n Guides and reference for Compute, CDN, DNS, Storage, Shield, Assist and Pulse. Read the docs \n REST API\n\n A conventional JSON API with API-key auth, typed errors and rate-limit headers. API reference \n Agent API\n\n Discovery-first design, dry runs, idempotency keys, budget caps and self-signup. Agent API docs \n CLI\n\n Script deployments, DNS, storage and VMs. One-line install on Linux, macOS and Windows. CLI docs \n Start in one line\n\n Install, discover or download \n\n Install the CLI, point an agent at the self-describing API, or pull the spec into your own tooling. Prefer npm? npm install -g @edge/cli \n\n terminal Copy # Install the Edge Network CLI\ncurl -fsSL https://edge.network/install.sh | sh\n\n# Or point any agent at the self-describing API\ncurl https://edge.network/agent\n\n# Or fetch the OpenAPI spec\ncurl https://edge.network/openapi.json Edge CLI\n\n Every product from your terminal\n\n A single binary with no dependencies. Manage VMs, CDN, DNS, storage and Shield, with table, JSON or YAML output for scripting. macOS, Linux and Windows, amd64 and arm64 \n Set EDGE_API_KEY in CI and pipelines \n Shell completion for Bash, Zsh and Fish \n CLI actions tagged in your activity log \n Installation Authentication ~/project Copy # Authenticate with an API key\nedge auth login\n\n# Create a VM\nedge compute create --name web-1 --size s-2vcpu-4gb --image ubuntu-24\n\n# Upload to Storage\nedge storage cp ./backup.tar.gz my-bucket/backups/\n\n# Purge CDN cache\nedge cdn purge my-deployment --path /images/*\n\n# Add bot protection to a form\nedge shield create --name \"Contact form\" --hostname example.com REST API\n\n The same API the console uses\n\n Everything you can do in the console, you can do over HTTPS at https://edge.network/api . There&#x27;s no cut-down surface for programmatic access. Bearer authentication with ek_live_ API keys \n Stable, machine-readable error codes \n 600 requests a minute per IP, with X-RateLimit headers \n Versioned with X-API-Version and at least six months&#x27; notice on deprecations \n API reference Errors Create a VM Copy curl -X POST https://edge.network/api/compute/vms \\\n -H \"Authorization: Bearer ek_live_...\" \\\n -H \"Content-Type: application/json\" \\\n -d &#x27;{\n \"name\": \"web-01\",\n \"osTemplate\": \"ubuntu-24.04\",\n \"vcpu\": 2,\n \"ram\": 4,\n \"disk\": 80,\n \"region\": \"london\"\n }&#x27; Error response Copy {\n \"error\": \"VM not found\",\n \"code\": \"NOT_FOUND\"\n} Authentication\n\n The right credential for each integration\n\n API keys carry full account access, so keep one per integration and revoke individually. For AI agents and third-party tools, use an agent access code: per-product permissions and a monthly budget cap. Keys start with ek_live_, with optional expiry \n Manage keys programmatically at /api/account/keys \n Agent codes start with ea_live_, scoped and revocable instantly \n Auth guide Access codes API key ek_live_ ek_live_abc1••••••••••••\n\n Scope Full account Expiry 90 days /api/* edge CLI Agent access code ea_live_ Products ✓ Compute ✓ CDN ✓ Storage ✓ DNS Shield Assist Permissions Deploy Manage Delete Hard budget cap $12.40 / $50 /agent/* MCP Agent API and MCP\n\n An API designed for how agents work \n\n The official MCP server gives Cursor, Windsurf, Claude Desktop and any MCP client 59 native tools. Every call runs through the same Agent API, so scopes, budget caps and audit logging apply identically. Discovery first. One call to GET /agent returns limits, budget, projects and a self-describing schema. \n Dry run everything. Add X-Dry-Run: true to preview any mutation with a cost estimate. \n Safe retries. Idempotency keys on every mutating endpoint. \n tell_user on every response. A plain-English summary the agent can relay as is. \n Self-signup. With no code set, the MCP server creates a free explore-tier account with a hard $0 cap. \n Connect your tool All 59 tools mcp.json (local, stdio) Copy {\n \"mcpServers\": {\n \"edge\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@edge-network/mcp\"],\n \"env\": { \"EDGE_AGENT_CODE\": \"ea_live_...\" }\n }\n }\n} Remote, streamable HTTP Copy POST https://edge.network/mcp\nContent-Type: application/json\nAuthorization: Bearer ea_live_...\n\n{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"tools/list\" } SDKs\n\n Use the libraries you already know \n\n Edge Storage speaks S3, so the official AWS SDKs work with a new endpoint. For agents, official wrappers hand the Edge tool set to LangChain, LlamaIndex, CrewAI and the Vercel AI SDK. JavaScript Storage The official AWS SDK. Change the endpoint and keys; nothing else. Python Storage Works with boto3, rclone, s3cmd and any S3 tooling you already run. LangChain Agents The Edge tool set as LangChain tools. LlamaIndex and CrewAI are in the same package. Vercel AI SDK Agents Tools and the starter prompt are fetched live, so they never go stale. @aws-sdk/client-s3 Copy import { S3Client } from &#x27;@aws-sdk/client-s3&#x27;\n\nconst client = new S3Client({\n endpoint: &#x27;https://storage.edge.network&#x27;,\n region: &#x27;us-east-1&#x27;,\n forcePathStyle: true,\n credentials: {\n accessKeyId: process.env.EDGE_ACCESS_KEY,\n secretAccessKey: process.env.EDGE_SECRET_KEY\n }\n}) The official AWS SDK. Change the endpoint and keys; nothing else.\n\n More S3 SDK examples boto3 Copy import boto3\nimport os\n\nclient = boto3.client(\n &#x27;s3&#x27;,\n endpoint_url=&#x27;https://storage.edge.network&#x27;,\n aws_access_key_id=os.environ[&#x27;EDGE_ACCESS_KEY&#x27;],\n aws_secret_access_key=os.environ[&#x27;EDGE_SECRET_KEY&#x27;],\n region_name=&#x27;us-east-1&#x27;\n) Works with boto3, rclone, s3cmd and any S3 tooling you already run.\n\n More S3 SDK examples edge-network-agent Copy pip install \"edge-network-agent[langchain]\"\n\nfrom edge_network_agent import EdgeAgentTools\nfrom langchain.agents import create_react_agent\n\nedge = EdgeAgentTools(agent_code=\"ea_live_...\")\nagent = create_react_agent(model, tools=edge.langchain_tools()) The Edge tool set as LangChain tools. LlamaIndex and CrewAI are in the same package.\n\n All framework wrappers @edge-network/ai-tools Copy npm install @edge-network/ai-tools ai\n\nimport { generateText } from &#x27;ai&#x27;\nimport { createEdgeTools, fetchStarterPrompt } from &#x27;@edge-network/ai-tools&#x27;\n\nconst tools = await createEdgeTools({ agentCode: &#x27;ea_live_...&#x27; })\n\nconst { text } = await generateText({\n model,\n system: await fetchStarterPrompt(),\n tools,\n prompt: &#x27;Deploy the ./dist folder as a static site and report the URL&#x27;,\n}) Tools and the starter prompt are fetched live, so they never go stale.\n\n All framework wrappers Machine-readable\n\n Specs and discovery files at stable URLs \n\n For tools, agents and integrations. Point a client at the URL and it gets structured answers, not HTML to scrape. OpenAPI specification The full Agent API as OpenAPI 3.0: unique operationIds, typed parameters and response schemas. GET /openapi.json \n MCP server Call Edge from Claude, Cursor and other MCP clients over streamable HTTP, or locally via npx. POST https://edge.network/mcp \n MCP manifest Standard discovery manifest for the Edge MCP server, also listed in the official MCP registry. GET /.well-known/mcp.json \n llms.txt A structured guide to Edge for agents and LLMs: products, pricing, docs and when to use each service. GET /llms.txt \n Markdown variants Every page has a markdown twin at the same URL with .md, or send Accept: text/markdown. GET /pricing.md \n Versioning and deprecation What counts as breaking, and how deprecations are signalled with Sunset headers and six-month windows. X-API-Version: 1 \n https://edg...",
  "headings": [
    {
      "level": 1,
      "text": "Build on Edge from wherever you write code"
    },
    {
      "level": 3,
      "text": "Documentation"
    },
    {
      "level": 3,
      "text": "REST API"
    },
    {
      "level": 3,
      "text": "Agent API"
    },
    {
      "level": 3,
      "text": "CLI"
    },
    {
      "level": 2,
      "text": "Every product from your terminal"
    },
    {
      "level": 2,
      "text": "The same API the console uses"
    },
    {
      "level": 2,
      "text": "The right credential for each integration"
    },
    {
      "level": 2,
      "text": "Build something on Edge"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Installation",
      "url": "https://edge.network/docs/cli/installation"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/cli/authentication"
    },
    {
      "@type": "WebPage",
      "name": "API reference",
      "url": "https://edge.network/docs/api"
    },
    {
      "@type": "WebPage",
      "name": "Errors",
      "url": "https://edge.network/docs/api/errors"
    },
    {
      "@type": "WebPage",
      "name": "Auth guide",
      "url": "https://edge.network/docs/api/authentication"
    },
    {
      "@type": "WebPage",
      "name": "Access codes",
      "url": "https://edge.network/docs/agent/access-codes"
    },
    {
      "@type": "WebPage",
      "name": "Connect your tool",
      "url": "https://edge.network/docs/agent/connect"
    },
    {
      "@type": "WebPage",
      "name": "All 59 tools",
      "url": "https://edge.network/docs/agent/mcp-tools"
    },
    {
      "@type": "WebPage",
      "name": "More S3 SDK examples",
      "url": "https://edge.network/docs/storage/sdk-examples"
    },
    {
      "@type": "WebPage",
      "name": "All framework wrappers",
      "url": "https://edge.network/docs/agent/frameworks"
    },
    {
      "@type": "WebPage",
      "name": "Get support",
      "url": "https://edge.network/support"
    },
    {
      "@type": "WebPage",
      "name": "Agent self-signup",
      "url": "https://edge.network/docs/agent/self-signup"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/cdn"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/compute"
    },
    {
      "@type": "WebPage",
      "name": "Storage",
      "url": "https://edge.network/storage"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/dns"
    },
    {
      "@type": "WebPage",
      "name": "Shield",
      "url": "https://edge.network/shield"
    },
    {
      "@type": "WebPage",
      "name": "Assist",
      "url": "https://edge.network/assist"
    },
    {
      "@type": "WebPage",
      "name": "Pulse",
      "url": "https://edge.network/pulse"
    },
    {
      "@type": "WebPage",
      "name": "Agent API &amp; MCP",
      "url": "https://edge.network/docs/agent"
    },
    {
      "@type": "WebPage",
      "name": "Academy",
      "url": "https://edge.network/academy"
    },
    {
      "@type": "WebPage",
      "name": "Case Studies",
      "url": "https://edge.network/case-studies"
    },
    {
      "@type": "WebPage",
      "name": "Releases",
      "url": "https://edge.network/releases"
    },
    {
      "@type": "WebPage",
      "name": "Roadmap",
      "url": "https://edge.network/roadmap"
    },
    {
      "@type": "WebPage",
      "name": "Status",
      "url": "https://edge.network/status"
    },
    {
      "@type": "WebPage",
      "name": "About",
      "url": "https://edge.network/about"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/developers",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-12-01T16:23:02.242Z"
}