Developers often ask whether StarDomain has an API for managing an account in code. There's no general REST API with API keys for your whole account. This guide explains the supported routes, which one fits which job, and how to start safely.
StarDomain doesn't publish a REST API with API keys for domains, billing or orders, and the client area has no API-key page. For programmatic access, connect an AI assistant or any MCP client to https://stardomain.com/mcp with OAuth, or deploy App Platform apps from CI with a deploy token. For anything else, ask support.
1. What is and isn't available
| You want to | Route | Authentication |
|---|---|---|
| Check domains, invoices, renewals, tickets, websites, email, apps and Container Hosting servers | AI assistant or MCP client at https://stardomain.com/mcp | OAuth sign-in with permissions you approve |
| Change things: DNS records, email addresses and forwarding, your AI-built websites, App Platform apps, Container Hosting settings, support tickets | The same connection, with the matching "change" permission ticked | OAuth sign-in with permissions you approve |
| Deploy an App Platform app from GitHub Actions or another CI | App Platform deploy token | A per-app token from the Deploy Tokens tab |
| Register, renew or transfer domains, place orders or pay invoices by API | Not available | Use the client area |
Older versions of this page described an API address, a token menu and endpoints that do not exist. If you have code written against them, it will not work. Use one of the routes above instead.
2. Connect an assistant or MCP client
StarDomain runs a Model Context Protocol (MCP) server at https://stardomain.com/mcp. You connect with OAuth: you sign in to your StarDomain account and approve permissions on our own page. There is no API key or client ID to copy.
- Claude: in Claude's settings, open Connectors, add a custom connector, and paste
https://stardomain.com/mcp. - ChatGPT: StarDomain is not listed in ChatGPT's app directory. Add it as a custom app with the same address (developer mode).
- Claude Code: run
claude mcp add --transport http stardomain https://stardomain.com/mcp, then sign in from/mcp. - Cursor and VS Code: add an HTTP MCP server named
stardomainwith the URLhttps://stardomain.com/mcp. There is no auth field; the client opens your browser to sign in.
Each permission on the sign-in page says whether it can only see something or can also change it, including the Container Hosting permissions. Tick only what you need. Some things are never possible through this connection, whatever you approve: making a payment or placing an order, cancelling a service, changing nameservers or domain contacts, getting a domain's transfer (EPP) code, and seeing a password.
The full walkthrough, with the permission list and the steps for each assistant, is Connecting your StarDomain account to an AI assistant.
3. Deploy App Platform apps from CI
For the App Platform, the programmatic route is a deploy token. In your app's Deploy Tokens tab, click Create Token. The token is shown once, together with a ready-to-run command that already contains your token and your app's deploy address. Package your project with tar, then run that command from your terminal or CI job. A connected assistant with the Deploy apps permission can also create a deploy token for you.
- Each token works for one app only.
- There is no automatic deploy on push. Your CI job runs the command.
- Copy the command from the tab. Don't type the deploy address from memory.
4. Keep tokens and connections safe
A deploy token can replace your running app. Never put it in browser code, a public repository, a screenshot or a ticket. If one leaks, delete it straight away and create a new one.
- Least privilege. On the permission screen, tick only what the assistant needs. Leave the "change" permissions off unless you want it to act on them.
- Check the return address, not the name. On the permission screen, an app's name is only a claim. If you did not just start a connection yourself, deny the request.
- Review regularly. Check your connected apps and your deploy tokens every few months, and remove anything unused.
5. What to do when you need more
If your project needs something these routes don't cover, such as registering domains in bulk from your own software, open a ticket and describe the use case. Support will tell you what is possible. DirectAdmin hosting has no API route documented here, so ask support if you need to automate something there. Orders, payments, renewals and transfers are done in the client area.
Does StarDomain have a REST API with API keys?
No. There is no general REST API with API keys for domains, billing or orders, and the client area has no API-key page. For programmatic access, use the MCP connection at stardomain.com/mcp or App Platform deploy tokens.
How do I connect my StarDomain account to Claude or ChatGPT?
Add https://stardomain.com/mcp as a custom connector (in ChatGPT, as a custom app in developer mode), sign in to your StarDomain account, and approve the permissions you want. Some permissions only let the assistant see things; others let it make the changes you choose.
Can an AI assistant manage my Container Hosting server?
Yes, if you allow it. With the Container Hosting permissions it can see your servers and read error logs, and with the manage permission it can change PHP, cache, cron jobs, backups, Git deploys and restarts, and you confirm each change.
Can an AI assistant pay invoices or transfer my domain?
No. There is no permission for payments, orders, cancelling a service, transfer codes, nameserver or contact changes, or passwords.
How do I deploy to the App Platform from GitHub Actions?
Create a deploy token in your app's Deploy Tokens tab. It comes with a ready-to-run upload command. Store the token as a CI secret and have your pipeline package the project with tar and run that command.
Tell us what you want to automate and which services you use, and we will point you to the right tool.
Ask support