Official SDKs
Use the NodeRings API from Python, JavaScript/TypeScript, or Go. Install the official packages and authenticate with a service account token.
The official NodeRings SDKs cover the public API: virtual machines, DNS, firewalls, snapshots and backups, the marketplace, billing, access control, and the provider side for hosts who sell on NodeRings. Each client exposes the same 485 operations in 69 services. They are generated from the API description and released as v0.1.0.
Use a service account token. Set NODERINGS_TOKEN, or pass the token to the client. Keep the token out of source code and out of the browser. To act in another organization the token can access, set NODERINGS_ORGANIZATION_ID (the X-Organization-ID header). The default API endpoint is https://api.noderings.com.
The Client API and Provider API references document every REST operation. To operate the account from an assistant instead of code, see MCP. For agents built with the Vercel AI SDK or LangChain, see Vercel AI SDK and LangChain.
To show NodeRings servers on Backstage entity pages and create them from Software Templates, see Backstage.
Python
Install the noderings package from PyPI (Python 3.10 or later):
pip install noderingsfrom noderings import NodeRings
client = NodeRings() # reads NODERINGS_TOKEN
for vm in client.virtual_machine.list_virtual_machines_all():
print(vm.hostname, vm.operation_status, vm.ipv4)There is also an asyncio client, AsyncNodeRings. Source and examples: noderings-python on GitHub. To give a LangChain or LangGraph agent NodeRings tools, see LangChain.
JavaScript and TypeScript
Install the noderings package from npm. It has no runtime dependencies and runs on Node.js 20+, Vercel (serverless and Edge), Cloudflare Workers, Deno and Bun:
npm install noderingsimport { NodeRings } from "noderings";
const client = new NodeRings(); // reads NODERINGS_TOKEN
for await (const vm of client.virtualMachine.listVirtualMachinesAll()) {
console.log(vm.hostname, vm.operationStatus, vm.ipv4);
}Source and examples: noderings-js on GitHub. To give an AI agent NodeRings tools, see Vercel AI SDK.
Go
go get github.com/noderings/noderings-goclient, err := noderings.NewClient(os.Getenv("NODERINGS_TOKEN"))
if err != nil {
log.Fatal(err)
}
for vm, err := range client.VirtualMachine.ListVirtualMachinesAll(ctx, nil) {
if err != nil {
log.Fatal(err)
}
log.Println(vm.Hostname, vm.OperationStatus, vm.Ipv4)
}Package docs: pkg.go.dev/github.com/noderings/noderings-go. Source: noderings-go on GitHub.
MCP
Connect an assistant to your NodeRings account and operate the marketplace from chat. The hosted MCP server uses your login.
Vercel AI SDK
Give an AI SDK agent NodeRings tools: search the marketplace, order and manage virtual machines, DNS records and SSH keys. Read-only by default, with tool approval for every change.
