<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: NodeRings</title>
    <description>The latest articles on DEV Community by NodeRings (@noderings).</description>
    <link>https://dev.to/noderings</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4254717%2F9ea2db36-1bd3-4c0e-b37f-de2a5dddfe46.png</url>
      <title>DEV Community: NodeRings</title>
      <link>https://dev.to/noderings</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/noderings"/>
    <language>en</language>
    <item>
      <title>Provisioning servers across independent providers with Terraform, Ansible and MCP</title>
      <dc:creator>NodeRings</dc:creator>
      <pubDate>Tue, 01 Dec 2026 13:25:45 +0000</pubDate>
      <link>https://dev.to/noderings/provisioning-servers-across-independent-providers-with-terraform-ansible-and-mcp-p39</link>
      <guid>https://dev.to/noderings/provisioning-servers-across-independent-providers-with-terraform-ansible-and-mcp-p39</guid>
      <description>&lt;p&gt;I work on NodeRings. This is a walkthrough of how we provision a virtual machine across independent hosting providers from the tools we already use, and how those tools share one account without sharing secrets they should not have.&lt;/p&gt;

&lt;p&gt;The awkward part of "several hosts, one workflow" is not calling an API. It is deciding which offer to buy without hard-coding a provider, configuring the guest from the same source of truth, and keeping an assistant from holding a hypervisor token or an SSH private key. The examples below use the public NodeRings Terraform provider, the &lt;code&gt;noderings.cloud&lt;/code&gt; Ansible collection, and the hosted MCP server. The same pattern applies if you are wiring any marketplace that returns a plan id and a region id.&lt;/p&gt;

&lt;h2&gt;
  
  
  What sits under the tools
&lt;/h2&gt;

&lt;p&gt;NodeRings is a marketplace, not a hypervisor. Independent providers list plans on hardware they already run. Official provider docs cover Proxmox, VirtFusion and SolusVM 2. The provider keeps the hypervisor credential and runs a scoped operator in their own environment; the marketplace sends the order over a peered channel and does not store the hypervisor password. That is described in the &lt;a href="https://docs.noderings.com/docs/provider-guides/how-it-works" rel="noopener noreferrer"&gt;provider how-it-works guide&lt;/a&gt; and in the open-source &lt;a href="https://github.com/noderings/operator" rel="noopener noreferrer"&gt;Proxmox operator&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For a buyer, every tool in this post talks to the same API, with one organization and one prepaid credit balance. Usage-based (hourly) creates need that balance. If it is short, the create fails and the error states the minimum. You can compare live plans in the browser with no account at &lt;a href="https://noderings.com/" rel="noopener noreferrer"&gt;noderings.com&lt;/a&gt;. Provisioning a VM needs an account, a payment method, prepaid credit, and an SSH key.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Terraform: pick an offer, then pin it
&lt;/h2&gt;

&lt;p&gt;The provider is &lt;code&gt;noderings/noderings&lt;/code&gt; on the &lt;a href="https://registry.terraform.io/providers/noderings/noderings" rel="noopener noreferrer"&gt;Terraform Registry&lt;/a&gt; and the &lt;a href="https://search.opentofu.org/provider/noderings/noderings" rel="noopener noreferrer"&gt;OpenTofu&lt;/a&gt; registry (v0.2.0 as of 26 Nov 2026). It authenticates with a service-account token from &lt;strong&gt;Organization &amp;gt; Access Control &amp;gt; Service accounts&lt;/strong&gt;, exported as &lt;code&gt;NODERINGS_TOKEN&lt;/code&gt;. Nothing in the Terraform configuration has to name a hosting provider.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;plan code&lt;/strong&gt; is a size that any provider can sell, for example &lt;code&gt;SC-GC-2C-4G-80&lt;/code&gt; (2 vCPU, 4 GB RAM, 80 GB disk). An &lt;strong&gt;offer&lt;/strong&gt; is one provider's price for that code in one city. The &lt;code&gt;noderings_marketplace_offer&lt;/code&gt; data source lists the current offers, drops any that lack the capabilities you asked for, and returns the cheapest by default (or the best-rated provider if you set &lt;code&gt;sort = "rating"&lt;/code&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight terraform"&gt;&lt;code&gt;&lt;span class="n"&gt;terraform&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;required_providers&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;noderings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="n"&gt;source&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"noderings/noderings"&lt;/span&gt;
      &lt;span class="n"&gt;version&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"~&amp;gt; 0.2"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;provider&lt;/span&gt; &lt;span class="s2"&gt;"noderings"&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="c1"&gt;# reads NODERINGS_TOKEN&lt;/span&gt;

&lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="s2"&gt;"noderings_marketplace_offer"&lt;/span&gt; &lt;span class="s2"&gt;"web"&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;plan_code&lt;/span&gt;            &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"SC-GC-2C-4G-80"&lt;/span&gt;
  &lt;span class="n"&gt;country&lt;/span&gt;              &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Germany"&lt;/span&gt;
  &lt;span class="n"&gt;city&lt;/span&gt;                 &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Frankfurt"&lt;/span&gt;
  &lt;span class="n"&gt;billing_type&lt;/span&gt;         &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"usage"&lt;/span&gt;
  &lt;span class="n"&gt;require_capabilities&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"guest_firewall"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;resource&lt;/span&gt; &lt;span class="s2"&gt;"noderings_ssh_key"&lt;/span&gt; &lt;span class="s2"&gt;"me"&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;name&lt;/span&gt;       &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"laptop"&lt;/span&gt;
  &lt;span class="n"&gt;public_key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;file&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"~/.ssh/id_ed25519.pub"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;resource&lt;/span&gt; &lt;span class="s2"&gt;"noderings_virtual_machine"&lt;/span&gt; &lt;span class="s2"&gt;"web"&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;hostname&lt;/span&gt;    &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"web-1"&lt;/span&gt;
  &lt;span class="n"&gt;plan_id&lt;/span&gt;     &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;noderings_marketplace_offer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;web&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;plan_id&lt;/span&gt;
  &lt;span class="n"&gt;region_id&lt;/span&gt;   &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;noderings_marketplace_offer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;web&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;region_id&lt;/span&gt;
  &lt;span class="n"&gt;distro&lt;/span&gt;      &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"ubuntu_24_04"&lt;/span&gt;
  &lt;span class="n"&gt;ssh_key_ids&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;noderings_ssh_key&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;me&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="n"&gt;tags&lt;/span&gt;        &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"web"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

  &lt;span class="n"&gt;deletion_protection&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;

  &lt;span class="c1"&gt;# Use the lookup only to create the VM; keep it on that offer afterwards.&lt;/span&gt;
  &lt;span class="n"&gt;lifecycle&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;ignore_changes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;plan_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;region_id&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two details that matter in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;deletion_protection&lt;/code&gt; stops a typo in &lt;code&gt;terraform destroy&lt;/code&gt; from deleting a running machine. Flip it back to &lt;code&gt;false&lt;/code&gt; when you really mean it.&lt;/li&gt;
&lt;li&gt;Without &lt;code&gt;lifecycle.ignore_changes&lt;/code&gt;, a later plan could pick a different provider if prices moved, and Terraform would want to replace the VM. The ignore keeps the original offer after create. If you want a specific provider from the start, set &lt;code&gt;provider_id&lt;/code&gt; or &lt;code&gt;storefront_slug&lt;/code&gt; on the data source instead.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The longer first-run write-up is &lt;a href="https://noderings.com/blog/terraform-vps" rel="noopener noreferrer"&gt;Order a VPS with Terraform and pay by the hour&lt;/a&gt;. Source and docs: &lt;a href="https://github.com/noderings/terraform-provider-noderings" rel="noopener noreferrer"&gt;github.com/noderings/terraform-provider-noderings&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Ansible: the same account, then inventory
&lt;/h2&gt;

&lt;p&gt;The collection is &lt;code&gt;noderings.cloud&lt;/code&gt;. It is not on Ansible Galaxy yet (the namespace is still being set up), so install it from GitHub:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ansible-galaxy collection install git+https://github.com/noderings/ansible-collection-noderings.git,main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It needs ansible-core 2.16 or newer and has no extra Python dependencies. Every module reads &lt;code&gt;NODERINGS_TOKEN&lt;/code&gt;. Modules support check mode, so &lt;code&gt;ansible-playbook --check --diff&lt;/code&gt; shows what would be ordered or deleted.&lt;/p&gt;

&lt;p&gt;You can create the VM in a playbook, or let Terraform create it and let Ansible only configure it. A playbook that does the create itself looks like this. Note that the distro value is &lt;code&gt;ubuntu_24_04&lt;/code&gt;, the same string Terraform uses, not the MCP enum you will see later.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;hosts&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;localhost&lt;/span&gt;
  &lt;span class="na"&gt;gather_facts&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="na"&gt;tasks&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;My SSH key&lt;/span&gt;
      &lt;span class="na"&gt;noderings.cloud.ssh_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;laptop&lt;/span&gt;
        &lt;span class="na"&gt;public_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"{{ lookup('ansible.builtin.file', '~/.ssh/id_ed25519.pub') }}"&lt;/span&gt;

    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;The server&lt;/span&gt;
      &lt;span class="na"&gt;noderings.cloud.virtual_machine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;hostname&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;web-1&lt;/span&gt;
        &lt;span class="na"&gt;plan_code&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;SC-GC-2C-4G-80&lt;/span&gt;
        &lt;span class="na"&gt;country&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Germany&lt;/span&gt;
        &lt;span class="na"&gt;city&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Frankfurt&lt;/span&gt;
        &lt;span class="na"&gt;billing_type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;usage&lt;/span&gt;
        &lt;span class="na"&gt;distro&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu_24_04&lt;/span&gt;
        &lt;span class="na"&gt;ssh_keys&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;laptop&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="na"&gt;tags&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;web&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="na"&gt;state&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;running&lt;/span&gt;
      &lt;span class="na"&gt;register&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;vm&lt;/span&gt;

    &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Wait for SSH&lt;/span&gt;
      &lt;span class="na"&gt;ansible.builtin.wait_for&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;host&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"{{ vm.virtual_machine.ipv4 }}"&lt;/span&gt;
        &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If Terraform already created the machine and tagged it &lt;code&gt;web&lt;/code&gt;, skip the create and use the inventory plugin. Create a file whose name ends in &lt;code&gt;noderings.yml&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;plugin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;noderings.cloud.noderings&lt;/span&gt;
&lt;span class="na"&gt;tags&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;web&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;states&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;running&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;compose&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;ansible_user&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"'root'"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ansible-inventory -i inventory/noderings.yml --graph
ansible -i inventory/noderings.yml noderings_tag_web -m ping
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each host gets &lt;code&gt;ansible_host&lt;/code&gt; set to its IPv4 (or IPv6 with &lt;code&gt;connect_via: ipv6&lt;/code&gt;) and groups such as &lt;code&gt;noderings_tag_web&lt;/code&gt;, &lt;code&gt;noderings_city_frankfurt&lt;/code&gt; and &lt;code&gt;noderings_provider_&amp;lt;name&amp;gt;&lt;/code&gt;. On a standard OS image the selected SSH key is installed for &lt;code&gt;root&lt;/code&gt;. A custom cloud-init profile can use a different user; the API does not report that user, so do not assume one.&lt;/p&gt;

&lt;p&gt;The first-run playbook write-up is &lt;a href="https://noderings.com/blog/ansible-vps" rel="noopener noreferrer"&gt;Order and configure a VPS with one Ansible playbook&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. MCP: ad-hoc changes, with a tight tool list
&lt;/h2&gt;

&lt;p&gt;The hosted Model Context Protocol server is at &lt;code&gt;https://mcp.noderings.com/mcp&lt;/code&gt;. It is listed in the official MCP Registry as &lt;code&gt;com.noderings/mcp&lt;/code&gt;. The assistant signs in with your NodeRings account over OAuth. It does not get a separate admin account, and it never sees your password. The session is bound to one organization. A client organization sees marketplace and VM tools; a provider organization sees fleet tools instead. Sign in again after you change organization.&lt;/p&gt;

&lt;p&gt;This path is for "create a small hourly Ubuntu VM in Ashburn and give me the IPv4," not for replacing Terraform. Write tools run only when you ask, and a delete still requires an explicit request.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cursor is the only client that should send the public client id &lt;code&gt;noderings-mcp&lt;/code&gt;:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"noderings"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://mcp.noderings.com/mcp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"auth"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"CLIENT_ID"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"noderings-mcp"&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude (web, desktop, or &lt;code&gt;claude mcp add --transport http noderings https://mcp.noderings.com/mcp&lt;/code&gt;), ChatGPT, VS Code, Codex, Windsurf and the other documented clients sign in as themselves. Leave the client id and secret empty. Saving ChatGPT or Codex with &lt;code&gt;noderings-mcp&lt;/code&gt; fails with &lt;code&gt;redirect_uri is not registered&lt;/code&gt;. Delete that connector and add it again without the client id.&lt;/p&gt;

&lt;p&gt;A prompt that matches the documented tools:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Find a small usage-based plan, Ubuntu 24.04, and create a VM with my SSH key. When it has an address, tell me the IPv4.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Under the hood, &lt;code&gt;list_marketplace_offerings&lt;/code&gt; returns a plan id and region id, &lt;code&gt;list_distros&lt;/code&gt; returns a value such as &lt;code&gt;DISTRO_UBUNTU_24_04&lt;/code&gt;, and &lt;code&gt;create_virtual_machine&lt;/code&gt; needs the hostname, plan, region, distro, and one or more SSH key ids. It does not accept a password. &lt;code&gt;get_virtual_machine&lt;/code&gt; returns &lt;code&gt;ipv4&lt;/code&gt; and &lt;code&gt;ipv6&lt;/code&gt; once the platform has allocated them; during provisioning those fields can be empty.&lt;/p&gt;

&lt;p&gt;Then SSH from your own machine with the private key that never left it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh root@&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;ipv4&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What the server will not do, from the &lt;a href="https://docs.noderings.com/docs/client-guides/mcp" rel="noopener noreferrer"&gt;MCP guide&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run commands on the guest, open a console, or hold an SSH session.&lt;/li&gt;
&lt;li&gt;Accept a root password or a pasted private key, or return public key material.&lt;/li&gt;
&lt;li&gt;Call an arbitrary NodeRings URL. Each tool is a fixed operation.&lt;/li&gt;
&lt;li&gt;Change firewall rules. It can list rulesets and read one by id. Use Terraform or Ansible to change them.&lt;/li&gt;
&lt;li&gt;Restore a backup. It can list backups and create a snapshot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Cursor-specific walkthrough is &lt;a href="https://noderings.com/blog/create-vm-from-cursor-mcp" rel="noopener noreferrer"&gt;Create a VM from Cursor with the NodeRings MCP server&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Putting the three together
&lt;/h2&gt;

&lt;p&gt;A workflow that has held up for us:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keep offer filters, the SSH key, the VM, the firewall and DNS in Terraform. Pin the offer with &lt;code&gt;ignore_changes&lt;/code&gt; after create. Tag the VM so other tools can find it.&lt;/li&gt;
&lt;li&gt;Point Ansible inventory at those tags and configure the guest (packages, users, app deploy). Do not also create the same VM from a playbook, or you will have two writers.&lt;/li&gt;
&lt;li&gt;Use the MCP server for read-backs and for one-off power or DNS changes, not as the source of truth. The assistant can see the machine Terraform created, because it is the same API.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All three can spend money. &lt;code&gt;terraform destroy&lt;/code&gt; (once &lt;code&gt;deletion_protection&lt;/code&gt; is off) and &lt;code&gt;state: absent&lt;/code&gt; in Ansible stop hourly billing when the VM is deleted. The MCP &lt;code&gt;delete_virtual_machine&lt;/code&gt; tool does the same, and only when you ask it to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pointers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Terraform provider: &lt;a href="https://registry.terraform.io/providers/noderings/noderings" rel="noopener noreferrer"&gt;registry.terraform.io/providers/noderings/noderings&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Ansible collection: &lt;a href="https://github.com/noderings/ansible-collection-noderings" rel="noopener noreferrer"&gt;github.com/noderings/ansible-collection-noderings&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;MCP docs: &lt;a href="https://docs.noderings.com/docs/client-guides/mcp" rel="noopener noreferrer"&gt;docs.noderings.com/docs/client-guides/mcp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;How the provider-side operator is scoped: &lt;a href="https://docs.noderings.com/docs/provider-guides/how-it-works" rel="noopener noreferrer"&gt;docs.noderings.com/docs/provider-guides/how-it-works&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If something above does not match what you see in the registry or the API, tell me in the comments.&lt;/p&gt;

&lt;p&gt;NodeRings Team&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>ansible</category>
      <category>mcp</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
