Connect your MCP client
Terminal
claude mcp add --transport http fern-petstore-test https://mcp-test-02.openbox.sh \ --header 'Authorization: Bearer YOUR_TOKEN' \ --header 'api_key: YOUR_KEY'
[mcp_servers."fern-petstore-test"]
url = "https://mcp-test-02.openbox.sh"
http_headers = { "Authorization" = "Bearer YOUR_TOKEN", "api_key" = "YOUR_KEY" }{
"mcpServers": {
"fern-petstore-test": {
"type": "http",
"url": "https://mcp-test-02.openbox.sh",
"headers": {
"Authorization": "Bearer YOUR_TOKEN",
"api_key": "YOUR_KEY"
}
}
}
}{
"servers": {
"fern-petstore-test": {
"type": "http",
"url": "https://mcp-test-02.openbox.sh",
"headers": {
"Authorization": "Bearer YOUR_TOKEN",
"api_key": "YOUR_KEY"
}
}
}
}https://mcp-test-02.openbox.sh Authorization: Bearer YOUR_TOKEN api_key: YOUR_KEY
Run it in a terminal. Claude Code picks the server up on its next start.A url key rather than a command is what makes it remote. codex mcp add --url writes the entry, but not the headers.Global to every project, or .cursor/mcp.json for one. Cursor lists them under Customize in the sidebar.This file is committed with the project, so put the credential in an inputs prompt rather than in the file.The endpoint and the headers to send with it, for any other client.
Tools
1 TOOLSET · 3 TOOLSpet
Toolset pet (3 tools)
- add_pet
- update_pet
- get_pet_by_id