Queries A/B test and experiment data from the Hackle API.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add hackle --env API_KEY='<API_KEY>' --env HACKLE_API_KEY='<HACKLE_API_KEY>' -- npx -y @hackle-io/hackle-mcp@latest~/.codex/config.toml
[mcp_servers.hackle]
command = "npx"
args = ["-y", "@hackle-io/hackle-mcp@latest"]
env = { API_KEY = "<API_KEY>", HACKLE_API_KEY = "<HACKLE_API_KEY>" }
# codex mcp add hackle --env API_KEY='<API_KEY>' --env HACKLE_API_KEY='<HACKLE_API_KEY>' -- npx -y @hackle-io/hackle-mcp@latest~/.cursor/mcp.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"hackle": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"@hackle-io/hackle-mcp@latest"
],
"env": {
"API_KEY": "<API_KEY>",
"HACKLE_API_KEY": "<HACKLE_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http hackle https://mcp.hackle.io/mcp~/.codex/config.toml
[mcp_servers.hackle]
url = "https://mcp.hackle.io/mcp"
# codex mcp add hackle --url https://mcp.hackle.io/mcp~/.cursor/mcp.json
{
"mcpServers": {
"hackle": {
"url": "https://mcp.hackle.io/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"hackle": {
"type": "http",
"url": "https://mcp.hackle.io/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hackle": {
"httpUrl": "https://mcp.hackle.io/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"hackle": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.hackle.io/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"hackle": {
"url": "https://mcp.hackle.io/mcp"
}
}
}需要的环境变量
API_KEYHACKLE_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。