Examples (cURL, Python, JavaScript, MCP) for an API of official fuel prices in France, Spain, Italy & Western Australia
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add --transport http official-fuel-prices 'https://mcp.apify.com?tools=sste/official-fuel-prices' --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.official-fuel-prices]
url = "https://mcp.apify.com?tools=sste/official-fuel-prices"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add official-fuel-prices --url 'https://mcp.apify.com?tools=sste/official-fuel-prices'~/.cursor/mcp.json
{
"mcpServers": {
"official-fuel-prices": {
"url": "https://mcp.apify.com?tools=sste/official-fuel-prices",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"official-fuel-prices": {
"type": "http",
"url": "https://mcp.apify.com?tools=sste/official-fuel-prices",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"official-fuel-prices": {
"httpUrl": "https://mcp.apify.com?tools=sste/official-fuel-prices",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"official-fuel-prices": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.apify.com?tools=sste/official-fuel-prices",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"official-fuel-prices": {
"url": "https://mcp.apify.com?tools=sste/official-fuel-prices",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}