AgentHubAgentHub

mcp-server

MCP ServerMCP Registry官方收录

io.github.spanlens/mcp-server · v0.1.2

Query Spanlens LLM observability from Cursor, Claude Desktop, or Continue via MCP.

概览

mcp-server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@spanlens/mcp-server"
      ],
      "env": {
        "SPANLENS_API_KEY": "<SPANLENS_API_KEY>"
      }
    }
  }
}

环境变量

SPANLENS_API_KEY必填secret

Spanlens API key. Must be a scope=public key (sl_live_pub_*) issued from the Public Keys card at https://spanlens.io/projects — the server refuses to start with a full-access sl_live_* key.

SPANLENS_BASE_URL可选

Override the API endpoint for self-hosted Spanlens. Default: https://api.spanlens.io

相关资源

统一 Manifest

{
  "id": "io.github.spanlens/mcp-server",
  "type": "mcp-server",
  "version": "0.1.2",
  "displayName": "mcp-server",
  "description": "Query Spanlens LLM observability from Cursor, Claude Desktop, or Continue via MCP.",
  "repository": {
    "url": "https://github.com/spanlens/Spanlens",
    "source": "github",
    "subfolder": "packages/mcp-server"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@spanlens/mcp-server",
        "version": "0.1.2",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "SPANLENS_API_KEY",
            "description": "Spanlens API key. Must be a scope=public key (sl_live_pub_*) issued from the Public Keys card at https://spanlens.io/projects — the server refuses to start with a full-access sl_live_* key.",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "SPANLENS_BASE_URL",
            "description": "Override the API endpoint for self-hosted Spanlens. Default: https://api.spanlens.io"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.spanlens/mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.spanlens%2Fmcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
mcp-server — MCP Server 安装与配置 · AgentHub