This document focuses on the MCP server implementation and how to connect to it
config.json
file to declare external tools. Add an entry of type "mcp"
with the server URL and authentication header. You can also specify which tools are allowed and whether user approval is required.
tools
array of your ChatGPT project’s config.json
file. Replace <SPIKE_ACCESS_TOKEN>
with the token you generate for indidual application user. After reloading the project, ChatGPT will list spike‑health‑data in the Tools panel. Use the tool by writing natural language prompts (e.g. “Get my step count for last week”).
.mcp.json
file. The example below uses the HTTP transport, supplies a bearer token via environment variable, and names the server spike-health-data. When using environment variables, Claude will expand ${VAR}
when reading the file.