· Client setup
Cursor MCP env variables: keep the API key out of mcp.json
Use ${env:NAME} in Cursor's mcp.json to read an MCP server's API key from the environment, and fix the header that arrives as a literal string.
One setup question per post, answered with the command or config that works and the date it was checked against the client's own docs.
RSS feed· Client setup
Use ${env:NAME} in Cursor's mcp.json to read an MCP server's API key from the environment, and fix the header that arrives as a literal string.
· Client setup
Claude Code stores an MCP server in local, project or user scope. Which one to use for a fetch server, where each is stored, and how to keep the key out of git.
· Debugging
Use MCP Inspector's CLI mode to list a server's tools and call one in two commands, for local stdio servers and remote servers with a bearer header.