AI tools · Updated
What you can do
When Copilot is connected to Switro, you can check payments and create test links without leaving VS Code. Copilot signs in with your browser, so there is no API key in your project.
You need VS Code with GitHub Copilot. If you use it at work, your organization may need to allow MCP servers first.
Add the Switro MCP server
MCP address
- 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": ["*"]
}
}
}Using a remote computer or a dev container?
Approve the connection
Switro opens in your browser. Sign in, or create an account. Check the app's name and where it sends you back to, then choose Devnet, which uses test money. Untick any permission you don't need, then connect.

If your account is new, add your devnet wallet in the dashboard. Only you can do this. An AI tool can never change where you get paid.
Check that it works
Use the Switro tools to check my account. Tell me the network and what I need to fix. Do not change anything.Open the tool call in the chat, and check that it used the Switro server. An answer without a tool call does not prove that Copilot is connected.
Use it while you code
Create a devnet Switro payment link called Test order for $5. Show me the details before you create it, then give me its link.List my devnet Switro payments from today. Which ones are confirmed, and which have no final result yet?Read this project's checkout code and https://www.switro.com/docs/checkout. Check that it works out prices on the server, verifies webhook signatures, and checks each payment with the API before it marks an order as paid. Show me any problems before you change the code.Only confirmed means paid. If a payment is initiated, there is no final result yet.
Should you use MCP or the API?
| MCP server | API | |
|---|---|---|
| Used by | You, with an AI tool | Your website or server |
| Sign-in | Your browser | An API key kept on your server |
| Good for | Building, testing and managing | Taking orders from customers |
Your website still needs the API to take orders. MCP sign-ins don't work with the API. To add payments to your code, follow the website checkout tutorial.
Stay safe
Check every change before you approve it
- An AI tool cannot move your money, change your wallet or send refunds.
- Never give it a password, 2FA code, API key, recovery phrase or private key. It does not need them.
- To disconnect it, open Apps and API keys in the Switro dashboard.


