Connect MyQRx to VS Code.
GitHub Copilot agent mode in Visual Studio Code. With MyQRx connected, it can make dynamic QR codes in your account, change where they point after printing and tell you which one worked.
Get an API token.
Sign in to MyQRx (Free works), open Settings → API tokens, name it "VS Code" and tick what it may do. Copy the token: it is shown once.
Add the server.
Add this to .vscode/mcp.json in your workspace. VS Code asks for the token once and stores it securely, so it never sits in the file. Replace mqx_your_token with your token.
{
"inputs": [
{ "type": "promptString", "id": "myqrx-token", "description": "MyQRx API token", "password": true }
],
"servers": {
"myqrx": {
"type": "http",
"url": "https://myqrx.com/mcp",
"headers": { "Authorization": "Bearer ${input:myqrx-token}" }
}
}
}
Check it works.
-
1
Create .vscode/mcp.json with the configuration above and click Start above the server.
-
2
Paste your token when VS Code asks for it.
-
3
Open Copilot Chat in Agent mode and ask: "List my MyQRx QR codes."
Things to try in VS Code.
A dynamic code uses one slot of your plan's quota; static codes (Wi-Fi, vCard, plain text) are unlimited. Which to choose.
Fixes for VS Code.
The tools don't appear
Make sure Copilot Chat is in Agent mode and the myqrx tools are ticked in the tools picker.
You pasted the wrong token
Run "MCP: List Servers", select myqrx and restart it, or clear the stored input and start again.
An error says quota_exceeded
Your plan's dynamic codes are used up. Static codes still work; upgrade or buy a code pack for more.
An error says missing_ability
The token can't do that. Create a token with that ability ticked and use it instead.
What VS Code gets.
| create_code | Create a QR code |
|---|---|
| list_codes | List QR codes |
| update_destination | Change where a dynamic code points |
| rename_code | Rename a QR code |
| get_code_image | Get a QR code image |
| get_scan_analytics | Scan analytics for one code |
| compare_codes | Compare QR codes |
| check_url_safety | Check a URL for phishing and malware |
Other apps: Claude Code · Cursor · Claude Desktop · Windsurf · All tools and details
MyQRx in VS Code, answered.
How do I add MyQRx to VS Code?
Create an API token under MyQRx Settings → API tokens, then add the server https://myqrx.com/mcp to VS Code with the token in an Authorization: Bearer header, as shown on this page.
What can VS Code do with MyQRx?
Create dynamic and static QR codes, rename them, change where dynamic codes point after printing, show a code image, read scan analytics and compare codes to see which placement worked.
How do I disconnect MyQRx from VS Code?
Revoke the token under Settings → API tokens. VS Code loses access on its next call; your codes keep working.