Control MathiWay
from your AI assistant
Connect Claude, ChatGPT, Cursor, Codex or another assistant to your domains. Ask in plain words: it lists your domains, changes DNS records and checks whether a name is free, and it asks before it changes anything.
> Point www.example.se to 203.0.113.10 ● mathiway · list_dns_records example.se ● mathiway · add_dns_record A www 203.0.113.10 Add an A record for www with the value 203.0.113.10? > Yes ✓ Done: www.example.se now points to 203.0.113.10.
What the connector can do
Your domains
Lists the domains you can manage in all your accounts.
list_domains
“Which of my domains have DNS at MathiWay?”
DNS records
Reads, adds and deletes records: A, AAAA, CNAME, MX, TXT and NS. Changes reach the internet within the record's TTL.
list_dns_records add_dns_record delete_dns_record
“Point www at 203.0.113.10 and add the Google verification TXT record.”
Find a name
Checks whether a domain name is free to register. Ordering and paying stay on the website.
check_availability
“Is mybrand.se free? Suggest three alternatives if not.”
Scripts and automation
For cron jobs, CI and dynamic DNS, use the REST API with the same token.
API & automationWorks with your assistant
Any assistant that speaks the Model Context Protocol (MCP) over HTTP can connect, including these.
- Claude
- Claude Code
- ChatGPT
- Cursor
- VS Code
- Codex
- Gemini CLI
- Windsurf
- OpenCode
Get started in a few minutes
The quickest way
Copy the prompt and paste it into your assistant. It reads our setup instructions, does the setup and tells you the one step that is yours.
Or set it up yourself
Give your assistant the address below, as shown for each one.
A MathiWay page opens in your browser. Sign in as usual and allow the assistant: no API key to copy or keep safe.
Tell the assistant what you need. It shows every DNS change and waits for your yes before making it.
In Claude (claude.ai or the desktop app): Settings › Connectors › Add custom connector. Name it MathiWay, paste this address and choose Add, then Connect: a MathiWay page opens where you sign in and allow access.
https://mathiway.com/api/mcp
In ChatGPT: Settings › Apps & Connectors › Advanced settings, turn on Developer mode, then Create. Paste this address, choose OAuth as the authentication and create it: a MathiWay page opens where you sign in and allow access.
https://mathiway.com/api/mcp
Run this in a terminal, then start Claude Code, type /mcp, choose mathiway and Authenticate: your browser opens the MathiWay sign-in.
claude mcp add --transport http mathiway https://mathiway.com/api/mcp
Add this to ~/.cursor/mcp.json. Cursor shows a Connect button that opens the MathiWay sign-in.
{
"mcpServers": {
"mathiway": { "url": "https://mathiway.com/api/mcp" }
}
}
Add this to the workspace's .vscode/mcp.json. VS Code asks you to sign in to MathiWay when it first starts the server.
{
"servers": {
"mathiway": { "type": "http", "url": "https://mathiway.com/api/mcp" }
}
}
Run these in a terminal: the second opens the MathiWay sign-in in your browser.
codex mcp add mathiway --url https://mathiway.com/api/mcp
codex mcp login mathiway
Run this in a terminal, then type /mcp auth mathiway inside Gemini CLI to sign in.
gemini mcp add --transport http mathiway https://mathiway.com/api/mcp
Any MCP client that speaks streamable HTTP works. Clients with OAuth sign-in find it from the address alone (dynamic client registration, PKCE); others send a personal API token as a Bearer header.
URL: https://mathiway.com/api/mcp
OAuth: https://mathiway.com/.well-known/oauth-authorization-server
Token: Authorization: Bearer <your API token>
Scripts, servers and assistants without sign-in can use a personal API token instead, sent as Authorization: Bearer <token>. Create a token
Security and control
- The assistant has exactly your rights: it reaches only the domains of accounts where you are an administrator or developer.
- You sign in on MathiWay's own page, with your password and second factor; the assistant never sees them, and you see which assistant asks before you allow it.
- It cannot order, renew, transfer or pay. Those stay with you on the website.
- Disconnect it under Control panel › AI connector, or revoke its API token under API & automation. It loses access at once.
Frequently asked questions
Technical details
- Address
https://mathiway.com/api/mcp- Protocol
- Model Context Protocol over streamable HTTP (JSON responses)
- Sign-in
-
OAuth 2.1 with PKCE and dynamic client registration; access tokens last an hour and renew for 30 days. Or a personal API token:
Authorization: Bearer <token> - Limits
- Tool calls are rate limited per user; over the limit the assistant is told when to try again.
- Without an account
-
A public MCP server, without sign-in, checks domain availability and searches our help guides:
https://mathiway.com/api/mcp/public