Print Hive for Grok Bot

Print Hive connects to Grok Bot as a remote MCP plugin. OAuth keeps tokens in Grok's credential storage and binds every call to the Print Hive organization you select. Product overview: printhiv3d.com/integrations/grok-bot.

Prerequisites

  • A Grok Bot account that can install plugins
  • A Print Hive account with access to the organization you want to manage
  • HiveLink online for any printer you want to inspect

Quick setup: ask Grok Bot

Grok Bot adds a remote MCP server when you ask for a custom MCP server in chat. Copy this prompt and paste it into a Grok Bot chat:

Add a custom MCP server called print-hive at https://api.printhiv3d.com/v1/mcp.

It is the Print Hive remote MCP server for my 3D print farm. It uses OAuth, so do not add an API key or x-api-key header. Show me the server name and URL to confirm, then give me the Authorize card. I will sign in to Print Hive, pick my organization, and approve access myself. Never ask me to paste tokens, API keys, claim codes, or printer access codes into chat. Setup guide: https://www.printhiv3d.com/docs/mcp/grok-bot

After I authorize, verify the connection with a read-only call: list my printers, separating connectivity from print activity. Do not start, stop, heat, or move a printer to test it. Do not claim the connection works until that call succeeds.
  1. Paste the prompt into a Grok Bot chat and send it.
  2. Check the server name and URL that Grok Bot shows, then confirm Add it.
  3. Open the Authorize card that Grok Bot shows.
  4. Sign in to Print Hive, pick the organization the agent may see, and approve access in your browser.
  5. Grok Bot verifies the connection with a read-only call that lists your printers. Do not start, stop, or heat a printer to test it.

If Grok Bot cannot add the server from chat, use Add by URL below.

Install via Add by URL

Print Hive is not in the Grok Bot plugin directory yet. The path that works is Plugins → Add by URL.

  1. Open Plugins in the Grok Bot sidebar. It sits above your account / profile picture.
  2. Choose Add by URL.
  3. Paste https://api.printhiv3d.com/v1/mcp.

Grok discovers OAuth from the MCP endpoint. Do not add an x-api-key header, and do not paste API keys or printer access codes into chat.

Authorize Print Hive

  1. Sign in to Print Hive when the browser prompt appears.
  2. Review the requested permissions. The consent page includes printer control and job write (printers:write, jobs:write). Select the correct organization and approve the connection.
  3. Return to Grok Bot and confirm that Print Hive is installed.

If Grok shows a short claim code instead of opening the browser, complete the claim on app.printhiv3d.com. Do not paste the code back into chat.

Verify the installation

Start with a read-only ask:

What do I do next on the farm?

Or list printers:

List my printers and separate connectivity from print activity.

You are connected when Print Hive shows as installed, you picked the correct organization, and a read-only ask returns your named printers. Do not start, stop, or heat a printer to test the connection.

Directory fallback

When Print Hive appears in the Grok Bot plugin directory, you can open Plugins, search for Print Hive, and complete the same OAuth flow. Until then, use Add by URL.

Security boundaries

  • OAuth access is bound to your selected Print Hive organization and granted scopes.
  • Printer access codes and local host credentials are entered only in the Print Hive web app.
  • Write and printer-control tools resolve an explicit target and may require confirmation before execution.
  • Do not paste API keys, printer access codes, or OAuth claim codes into Grok chat.

Troubleshooting

  • Print Hive is not in the directory — use Plugins → Add by URL with https://api.printhiv3d.com/v1/mcp.
  • Cannot find Plugins — look in the Grok Bot sidebar above your account / profile picture. Plugins is not a Settings tab.
  • Authorization loops — remove the plugin, add it again by URL, and complete OAuth in the same browser session. If authorization stalls, reopen the browser flow.
  • Insufficient OAuth scope — a read grant cannot call printers_set_ready or job_duplicate_last_on_printer. Remove the Print Hive plugin. Add it again by URL. On the consent page, approve printer control and job write. Then retry release and duplicate with confirm:true and frozen targets.
  • Insufficient API-key scope — insufficient_scope with granted read means the connector is an API key. OAuth reconnect cannot fix it. The error's reconnect text names the scope to choose. In Print Hive Settings → API Keys, mint or Change access to that scope. For library work, such as model_create and model_tags_set, choose Library write (models:write). Control also works, but it also operates printers. With an API key, hardware_home and hardware_auto_level need Dangerous, and a Control key gets insufficient_scope. An OAuth connection uses printers:write for them. One case is different. For model_files_move_preview and model_files_move_get the text names Library read (models:read), and no API key can hold that scope. Connect through OAuth to call those two tools. The tool reference has the details of each tool. For a new key, an agent can send a request link with the scope filled in. Check the scopes and the expiry on that page before you press Create key. Do not replace OAuth with an empty or read-only API key. Do not paste the key into chat.
  • Printer offline — verify HiveLink and network health before retrying.