Lets agents look up Playwright test failures reported to Currents so they can investigate and fix them.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add currents --env CURRENTS_API_KEY='<CURRENTS_API_KEY>' -- npx -y @currents/mcp~/.codex/config.toml
[mcp_servers.currents]
command = "npx"
args = ["-y", "@currents/mcp"]
env = { CURRENTS_API_KEY = "<CURRENTS_API_KEY>" }
# codex mcp add currents --env CURRENTS_API_KEY='<CURRENTS_API_KEY>' -- npx -y @currents/mcp~/.cursor/mcp.json
{
"mcpServers": {
"currents": {
"command": "npx",
"args": [
"-y",
"@currents/mcp"
],
"env": {
"CURRENTS_API_KEY": "<CURRENTS_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"currents": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@currents/mcp"
],
"env": {
"CURRENTS_API_KEY": "<CURRENTS_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"currents": {
"command": "npx",
"args": [
"-y",
"@currents/mcp"
],
"env": {
"CURRENTS_API_KEY": "<CURRENTS_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"currents": {
"command": "npx",
"args": [
"-y",
"@currents/mcp"
],
"env": {
"CURRENTS_API_KEY": "<CURRENTS_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"currents": {
"command": "npx",
"args": [
"-y",
"@currents/mcp"
],
"env": {
"CURRENTS_API_KEY": "<CURRENTS_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http currents https://mcp.currents.dev/mcp~/.codex/config.toml
[mcp_servers.currents]
url = "https://mcp.currents.dev/mcp"
# codex mcp add currents --url https://mcp.currents.dev/mcp~/.cursor/mcp.json
{
"mcpServers": {
"currents": {
"url": "https://mcp.currents.dev/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"currents": {
"type": "http",
"url": "https://mcp.currents.dev/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"currents": {
"httpUrl": "https://mcp.currents.dev/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"currents": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.currents.dev/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"currents": {
"url": "https://mcp.currents.dev/mcp"
}
}
}需要的环境变量
CURRENTS_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。