Claude desktop

As an example we’re using Claude desktop client. It’s free and possible to download from https://claude.ai/download.

Step 1: install mcp proxy

First thing is to install MCP proxy tooling to your local machine. Tools like mcp-proxy can be used. It’s generic purpose and open source. Source code can be found on https://github.com/sparfenyuk/mcp-proxy, it could be installed by running a brew command explained on https://formulae.brew.sh/formula/mcp-proxy. Copying command from below will trigger install on your OS.
brew install mcp-proxy

Step 2: configure desktop client

Assuming you already have (or installed following the url above) Claude client - run it and configure it to use your local mcp proxy server. To do so, follow into the settings menu, Developer tab, there will find a button to editing a config file.
Claude config menus
Once clicked, it will open file explorer with a configuration file already highlighted - open it. Following config needs to be added to this config file
{
  "mcpServers": {
    "mcp-proxy": {
      "command": "mcp-proxy",
      "args": [
        "-H",
	"Authorization",
	"Bearer <SPIKE_ACCESS_TOKEN>",
	"--transport",
	"streamablehttp",
	"https://app-api.spikeapi.com/v3/mcp"
      ]
    }
  }
}
Save and close the file. Restart you Claude client.

Step 3: run the prompt

Once restarted, try running something simple just to make sure it’s all connected and working. For example
how well did I sleep last night?
You should notice query_sleep tools being used and you might be prompted for approval.
Claude config menus
Allow the connection and just like that your personalised results (JWT token defines the application user being queried) will be returned.
Claude config menus