Prerequisites
"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
Get your RewardSmart API token
Open the RewardSmart app. Go to Settings → Integrations → MCP Access and tap Generate Token. Copy the token.
-
2
Open Zed settings.json
Open Zed and press
Cmd+,(macOS) orCtrl+,(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
Add RewardSmart as a context server
Add the
"context_servers"block to yoursettings.json. ReplaceYOUR_TOKEN_HEREwith 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 yoursettings.jsonalready 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
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
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:
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.