Guides
Connect an AI tool with MCP
Run your payments, invoices and online store with Claude, GitHub Copilot, Cursor and other AI tools.
MCP address
MCP address
Add this address to your AI tool, then sign in to Switro in your browser. If you are new, you can create an account there. You never need to give an AI tool a password or an API key.
| Setting | Value |
|---|---|
| Connection type | HTTP (Streamable HTTP) |
| Sign-in | OAuth, with automatic registration |
| Client ID and secret | Not needed. Leave them empty |
Only use this address
https://www.switro.com/. Another website could use a similar name to get into your account.Claude
Claude Code: use the plugin
The plugin adds the Switro connection, and skills that help Claude run your account, build stores and add Switro to your code. In Claude Code, run these one at a time:
/plugin marketplace add https://www.switro.com/claude/marketplace.json/plugin install switro@switro/reload-pluginsThen run /mcp, choose the Switro server and sign in.
Claude Code: only the connection
claude mcp add --transport http switro https://www.switro.com/mcpThen run /mcp in Claude Code to sign in. If you use the plugin, you don't need this.
Claude on the web, and the desktop app
- Open your connectors. Choose Add, then Add custom connector.
- Enter Switro and the MCP address, then continue. If it asks how to sign in, choose to use Claude's published identity or to register automatically.
- Add it, choose Connect, then sign in to Switro.
- In a chat, open the + menu, choose Connectors, and check that Switro is on.
Claude's Free plan allows one custom connector. In a Team or Enterprise plan, an owner must add it for your organization first.
GitHub Copilot in VS Code
- Open the Command Palette and run MCP: Add Server.
- Choose HTTP, then enter the MCP address and the name
switro. - Choose Global, then Copilot Global, to use it in all your projects.
- Check any trust request, then sign in to Switro when VS Code asks you to.
The names can be different in your version of VS Code. You can also add it to ~/.copilot/mcp-config.json yourself. If that file already exists, add only the switro part.
{
"mcpServers": {
"switro": {
"type": "http",
"url": "https://www.switro.com/mcp",
"tools": ["*"]
}
}
}Cursor and other tools
For Cursor, use .cursor/mcp.json in your project, or ~/.cursor/mcp.json for all your projects. If the file already exists, add only the switro part.
{
"mcpServers": {
"switro": {
"url": "https://www.switro.com/mcp"
}
}
}Other tools work if they support remote MCP servers over HTTP, with OAuth sign-in. They must use https or http://localhost to bring you back after you sign in.
Approve the connection
Sign in or create an account
When you finish, Switro takes you back to the approval page.
Check the app
An app can choose any name, so also check the website or computer that it sends you back to.

The approval page. Shown with sample data. Only approve an app you are connecting now
If someone sent you the link, choose Cancel. It could give them access to your account.Choose an account and permissions
Start with Devnet for testing. Mainnet uses real money. Untick anything the app does not need. To use the other network later, disconnect Switro in your AI tool, then connect it again.
Add your wallet
If your account is new, add your Solana wallet in the dashboard. Only you can do this. An AI tool can never change where you get paid.
Try it
Copy one of these to your AI tool:
Check my Switro account, and tell me the network and what I need to fix.Create a devnet Switro payment link for a $24 ceramic mug. Show me the details before you create it.Create a devnet Switro invoice for Sample Cafe for 6 plates at $58 each. Show me the details before you create it.Help me build a devnet Switro store. Ask me for my products, prices, stock and delivery options. Show me everything before you publish it.Add my PDF guide to my devnet Switro store for $20. Give me a link to upload the file, and show me the product before you save it.Add pictures and files
The server cannot read files on your computer. For each file, your AI tool gets an upload link that works once, for 15 minutes. You can open the link and choose the file. A tool that can run commands can upload it for you.
| Kind | Who can see it | Largest size |
|---|---|---|
| Store picture | Anyone | 5 MB (JPEG, PNG, GIF or WebP) |
| File to sell | Customers who have paid for it | 50 MB |
Keep the upload link private
What it can do
There are 36 tools. Those marked Yes can change your account or store.
| Tool | What it does | Changes data |
|---|---|---|
check_integration | Shows what to fix before you take payments | No |
get_configuration | Shows your settings and wallet | No |
update_configuration | Changes settings, such as turning SOL payments into USDC, but not your wallet | Yes |
create_payment_link | Creates a payment link | Yes |
update_payment_link | Changes a payment link, or stops it taking payments | Yes |
list_payment_links | Lists payment links | No |
get_payment_link | Shows one payment link | No |
create_invoice | Creates an invoice, but does not email it | Yes |
list_invoices | Lists invoices | No |
get_invoice | Shows one invoice | No |
void_invoice | Cancels an unpaid invoice. This cannot be undone | Yes |
list_payments | Lists payments | No |
get_payment | Shows one payment | No |
get_report | Shows sales totals | No |
| Tool | What it does | Changes data |
|---|---|---|
get_store | Shows the store, and what to fix | No |
build_store | Creates or updates the whole store | Yes |
update_store_settings | Changes the store's details and design | Yes |
publish_store | Opens or hides the store | Yes |
create_upload_link | Creates a link to upload one picture or file | Yes |
get_upload | Checks if an upload is finished | No |
delete_unused_file | Deletes a private file that is not on a product. This cannot be undone | Yes |
list_products | Lists products, options and stock | No |
get_product | Shows one product | No |
save_product | Creates or updates a physical product, download or service | Yes |
archive_product | Archives or restores a product | Yes |
update_stock | Sets stock | Yes |
list_categories | Lists categories | No |
save_category | Creates or updates a category | Yes |
delete_category | Deletes a category, but keeps its products. This cannot be undone | Yes |
list_shipping_methods | Lists delivery options | No |
save_shipping_method | Creates, updates or turns off a delivery option | Yes |
list_orders | Lists orders, and shows if each is paid | No |
get_order | Shows one order | No |
update_order | Changes an order's status or tracking. Cancelling cannot be undone | Yes |
create_store_checkout | Creates an order and a link to pay for it | Yes |
list_customers | Lists customers with store accounts | No |
update_configuration and list_customers use sensitive permissions. You must tick them yourself on the approval page.
Stay safe
Check every change before you approve it
- An AI tool cannot move your money, change your wallet or send refunds.
- It can see the information you allow, such as customer details. Check its privacy settings before you connect it.
- To disconnect it straight away, open Apps and API keys in the dashboard.
- Never give an AI tool your password, 2FA code, recovery phrase or private key.
If it does not connect
| Problem | What to do |
|---|---|
| It does not ask you to sign in | Check the address, and that the type is HTTP. In Claude Code, run /mcp |
| “This app could not be connected” | Remove Switro from your AI tool, then add it again |
| “This request has expired” | Go back to your AI tool and connect again. You have one hour to finish |
| It needs another permission | Approve it in your browser. If nothing opens, connect again |
| It uses the wrong network | Disconnect Switro in your AI tool, then connect it again and choose the other one |
| It is missing a wallet | Choose the same network in the dashboard, then add your wallet in Settings |
For MCP developers
Protected resource details
Authorization server details
- It supports MCP 2026-07-28, and clients that use the 2025 versions.
- Use the authorization code flow, with PKCE (
S256) and no client secret. Sendhttps://www.switro.com/mcpas theresource, and checkissin the answer. - Use a Client ID Metadata Document, or register automatically. Return addresses must match exactly. Only apps on the user's computer can change the port.
- Access tokens last one hour. Refresh tokens last 60 days and work once, so save the new one each time. Using an old one again can end the connection.
- If a tool needs another permission, the answer is
403withinsufficient_scope. Ask the user for it, and keep the permissions they have already approved. - These tokens only work with the MCP server. For the API, use an API key.
