🔷 VS Code Copilot

Connect RewardSmart
to VS Code Copilot

Use your credit card intelligence directly in GitHub Copilot Chat inside VS Code. Configure once with an .vscode/mcp.json file and ask Copilot about your cards anytime.

🔷

Prerequisites

⭐

Elite Subscription

MCP requires a RewardSmart Elite plan. Upgrade here →

🔑

API Token

Generate in the RewardSmart app under Settings → Integrations → MCP Access.

🔷

VS Code 1.99+

MCP support requires VS Code 1.99 or later. Download from code.visualstudio.com.

🤖

GitHub Copilot

Requires an active GitHub Copilot subscription and the Copilot Chat VS Code extension.

đŸ“Ļ

Node.js 18+

Required to run the MCP server. Download from nodejs.org.

1 Setup Instructions

  1. 1

    Get your RewardSmart API token

    Open the RewardSmart app. Go to Settings → Integrations → MCP Access and tap Generate Token. Copy the token.

  2. 2

    Create the MCP config file

    VS Code supports MCP configuration in two locations. Choose one:

    Option A — Workspace config (recommended): Create a .vscode/mcp.json file in your project root. This config applies only to that workspace and can be committed to version control (without your token).

    Option B — User settings: Add the MCP server config directly to your VS Code settings.json under the "mcp" key for global availability across all projects.

  3. 3

    Add the RewardSmart MCP server

    If using .vscode/mcp.json:

    .vscode/mcp.json
    {
      "servers": {
        "rewardsmart": {
          "command": "npx",
          "args": ["-y", "@rewardsmart/mcp-server"],
          "env": {
            "REWARDSMART_API_KEY": "YOUR_TOKEN_HERE"
          }
        }
      }
    }

    If using VS Code settings.json:

    settings.json
    {
      "mcp": {
        "servers": {
          "rewardsmart": {
            "command": "npx",
            "args": ["-y", "@rewardsmart/mcp-server"],
            "env": {
              "REWARDSMART_API_KEY": "YOUR_TOKEN_HERE"
            }
          }
        }
      }
    }
    âš ī¸ Replace YOUR_TOKEN_HERE with your actual API token. If committing .vscode/mcp.json to git, use an environment variable or add the file to .gitignore.
  4. 4

    Reload VS Code

    Press Ctrl+Shift+P (or Cmd+Shift+P) and run Developer: Reload Window. VS Code will pick up the new MCP config.

  5. 5

    Test in Copilot Chat

    Open Copilot Chat (Ctrl+Alt+I or click the chat icon). In agent mode (@workspace), ask: "Which of my cards gives the best cashback at grocery stores?"

    ✅ Copilot will call the RewardSmart MCP tool and respond with your personalized card recommendations.
    â„šī¸ MCP tools are available in Copilot Chat's Agent mode. Make sure you're in the chat panel (not inline suggestions).

What You Can Ask

Ask GitHub Copilot Chat about your credit card rewards:

Which card should I use at Target today?
What's my best card for dining out?
Do I have any offers expiring this week?
How much cashback did I earn last month?
Which card maximizes rewards for travel?
Show me all my active bonus categories.
Best card for AWS / cloud subscriptions?
Summarize my card wallet.

Troubleshooting

MCP tools not available in Copilot Chat

Make sure you're using VS Code 1.99+. Check the Output panel (View → Output) and select "GitHub Copilot" to see MCP-related errors. Also ensure you've reloaded the window after saving the config.

Server fails to start / npx error

Node.js 18+ must be installed. After installing, reload VS Code. On Windows, ensure Node.js is in your system PATH (not just user PATH). Run node --version in VS Code's integrated terminal to verify.

Authentication error

Double-check your API token is copied correctly. Tokens are case-sensitive. Regenerate a new token in the RewardSmart app if needed.

Works in workspace but not globally

When using settings.json, make sure the JSON structure is exactly as shown — the "mcp" key at the top level with "servers" nested inside.

Back to all MCP integrations