Skip to content

AI & MCP

Connect Claude Code

Copy page

Connect Claude Code to Hostino MCP — on the same machine or on a headless server

Claude Code is the tested and recommended client for Hostino MCP.

1. Add the server

Terminal window
claude mcp add --transport http --scope user hostino https://mcp.hostino.ai/mcp

With --scope user the server is available in all your projects. Drop --scope user to add it to the current project only.

Check:

Terminal window
claude mcp list

hostino shows “Needs authentication”. That’s expected: you haven’t signed in yet.

2. Sign in

In Claude Code run:

/mcp

Select hostino and choose Authenticate. Claude Code opens (or prints) the sign-in link. Sign in with your Hostino account and approve both permissions on the consent page.

Case A: Claude Code and the browser on the same machine

After approving, click Continue (same machine) on the ”✅ Signed in” page. Claude Code switches to connected.

Case B: Claude Code on a server or browserless terminal

  1. Copy the link Claude Code prints and open it in your laptop or phone browser.
  2. Sign in and approve.
  3. On the ”✅ Signed in” page, click Copy command.
  4. Run the command in another terminal on the same server as Claude Code:
Terminal window
curl 'http://localhost:PORT/callback?code=…&state=…'

Claude Code receives the code and switches to connected. The code is valid for 5 minutes; if it expires, choose Authenticate again.

3. Use it

Ask Claude Code:

  • “List my services with their due dates.”
  • “Which services are due in less than 30 days?”
  • “What’s the status of example.com?”
  • “Which of my domains are expired or expire in the next 60 days?”
  • “Show my unpaid invoices.”
  • “Suggest a plan for this project and, after I agree, request it.” (you open the approval link yourself)

Claude Code calls the right tool. All are read-only except request_order, which only creates a purchase request with an approval link. Tool details

Managing the connection

TaskCommand
Statusclaude mcp list or /mcp
Sign in again (e.g. for a new permission)/mcp → hostino → Re-authenticate
Removeclaude mcp remove hostino

Having trouble? See Troubleshooting.