cd /news/ai-agents/let-claude-or-chatgpt-rent-your-serv… · home › topics › ai-agents › article
[ARTICLE · art-177705] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Let Claude or ChatGPT rent your servers: an MCP server with OAuth and a spending cap

Neckrez, a crypto-paid hosting service, launched a remote MCP server at neckrez.tech/mcp that uses OAuth 2.1 with PKCE and dynamic client registration, letting AI assistants like Claude, ChatGPT and Claude Code sign in without pasting API keys into chat. The server offers five scoped permissions, short-lived one-hour tokens, and an optional hourly spending cap that limits what an agent can spend on paid resources. The server code is open-sourced on GitHub.

key takeaway

Neckrez's MCP server uses OAuth 2.1 with PKCE, dynamic client registration, one-hour tokens and a per-account hourly spending cap so agents can deploy servers without long-lived API keys.

by read2 min views5 publishedNov 28, 2026

I run Neckrez, a hosting service where you pay in crypto. This week we put a remote MCP server behind OAuth, so an AI assistant can sign in to your account without an API key ever being pasted into a chat. This post explains how it works, how to connect Claude, ChatGPT or Claude Code, and the limits that keep an agent from running up a bill.

The usual way to give an assistant access to a service is to paste an API key into its config. That key often has the same power as your login. If the assistant misreads a request, it can delete a server or spend your balance, and the key stays in a config file or a chat history.

We wanted three things instead:

The server address is https://neckrez.tech/mcp. It speaks OAuth 2.1 with PKCE and supports dynamic client registration, so clients that implement the MCP authorization flow register themselves. The first time the assistant needs your account, it opens a Neckrez page. You sign in, tick the permissions, set the cap and press Allow.

The permissions are the same five that API keys have:

Read is always on. If you tick deploy or billing, a field for an hourly spending cap appears. While the assistant creates paid things, your whole account may cost at most that much per hour.

Tokens are short-lived (an hour) and refresh quietly. A sign-in expires 30 days after its last use. Every connected app is listed under API keys -> Connected apps in the dashboard, where you can change its cap or disconnect it at once.

Claude Code:

claude mcp add --transport http neckrez https://neckrez.tech/mcp

Then run /mcp in a session and sign in.

Claude (claude.ai, Desktop, mobile): Settings -> Connectors -> Add custom connector, name it Neckrez, paste https://neckrez.tech/mcp, press Connect.

ChatGPT: Settings -> Apps -> Advanced settings, turn on developer mode, create an app with that URL and OAuth as the authentication, then sign in.

If your client cannot do OAuth, use an API key against https://neckrez.tech/api/mcp instead. Keys carry the same five permissions.

Start with read only. Ask:

Which of my servers are running, and how many days does my balance last at the current hourly rate?

When you trust it, give it deploy with a small cap, for example $1 per hour, and ask:

Create the cheapest Ubuntu server in Frankfurt and tell me its IP.

The server comes back in about a minute with root access and a dedicated IPv4. Hourly billing means a test costs cents.

Neckrez is pay-as-you-go from a prepaid crypto balance, with no card on file. That makes it a natural fit for agents: the balance is the hard ceiling, and the hourly cap is a second one on top.

The MCP docs have the full tool list, and the API docs describe the permissions. The server code is open at github.com/Sauberr/neckrez-mcp.

If you try it and something is unclear, tell me in the comments.

── more in #ai-agents 4 stories · sorted by recency
── more on @neckrez 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/let-claude-or-chatgp…] indexed:0 read:2min 2026-11-28 · —