⚡ Zed Editor

Connect RewardSmart
to Zed

Add RewardSmart as a context server in Zed's settings.json. Ask Zed's AI assistant about your credit card rewards without leaving your editor.

Prerequisites

ℹ️ Zed calls MCP servers "context servers" and configures them under the "context_servers" key in settings.json. The behavior is the same as standard MCP.

Elite Subscription

MCP requires a RewardSmart Elite plan. Upgrade here →

🔑

API Token

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

Zed Editor

Download from zed.dev. Context server support requires a recent stable release.

📦

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

    Open Zed settings.json

    Open Zed and press Cmd+, (macOS) or Ctrl+, (Linux/Windows) to open Settings. Click Open Settings.json to edit the raw JSON, or use the Command Palette and run zed: open settings.

    The file is located at:

    Path (macOS)
    ~/.config/zed/settings.json
  3. 3

    Add RewardSmart as a context server

    Add the "context_servers" block to your settings.json. Replace YOUR_TOKEN_HERE with your API token.

    ~/.config/zed/settings.json
    {
      "context_servers": {
        "rewardsmart": {
          "command": {
            "path": "npx",
            "args": ["-y", "@rewardsmart/mcp-server"],
            "env": {
              "REWARDSMART_API_KEY": "YOUR_TOKEN_HERE"
            }
          }
        }
      }
    }
    ⚠️ If your settings.json already has a "context_servers" key, merge the "rewardsmart" entry inside it. The Zed config uses a nested "command" object instead of top-level fields.
  4. 4

    Save and reload

    Save the file. Zed will detect the change automatically. If it doesn't pick it up, reload the window via Command Palette → workspace: reload.

  5. 5

    Test with Zed AI

    Open the AI assistant panel in Zed (Cmd+? or click the AI icon). The RewardSmart context server should appear in the context menu. Ask: "Which of my cards gives the best rewards at grocery stores?"

    Zed will query the RewardSmart MCP context server and return personalized card recommendations.

What You Can Ask

Use Zed's AI assistant to ask 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 developer tools / GitHub?
Compare my cards for gas station spending.

Troubleshooting

Context server not appearing in Zed AI

Check the JSON structure in settings.json — Zed uses "context_servers" (not "mcpServers") and the command is nested inside a "command" object. Verify with a JSON validator like jsonlint.com.

npx command not found

Zed may not inherit your shell's PATH on macOS. Try using the full path to npx: run which npx in Terminal to find it (usually /usr/local/bin/npx or /opt/homebrew/bin/npx), then use that full path in the "path" field.

Authentication error

Verify your token is correct. Tokens are long alphanumeric strings — make sure no whitespace was added when copying. Regenerate in the RewardSmart app if needed.

Server starts but returns no card data

Make sure you have at least one card in your RewardSmart wallet and your Elite subscription is active. Check under Account → Subscription in the app.

Back to all MCP integrations