MCP Surface Lint

Statically audits MCP tool surfaces for token cost, schema quality, and design issues.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
83%
命名质量
100%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~904token 数(工具定义)
~9.8 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.71%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp-surface-lint": {
      "url": "https://mcplint-web.vercel.app/api/mcp"
    }
  }
}

远程端点

https://mcplint-web.vercel.app/api/mcpstreamable-http

它能做什么

工具清单

工具(1)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢check_mcp_server(url, headers, snapshot)

Statically audit an MCP tool surface from a public HTTPS URL or tools/list snapshot. Returns deterministic scores and findings without invoking any target tool or making LLM calls. When the user asks to check another installed MCP server, read that server's complete tool definitions from client context and pass them as snapshot (MCP `name` or Cursor-style `tool` both work; do not use file paths or $ref). If those definitions are unavailable, ask the user for its public endpoint or tools/list JSON instead of inventing an audit.

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Public HTTPS Streamable HTTP MCP endpoint to inspect."
    },
    "headers": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional HTTP headers sent only while reading the remote tools/list response."
    },
    "snapshot": {
      "description": "A tools/list JSON response, MCP Surface Lint snapshot, or client tool dump containing a tools array. Each tool needs `name`, or the Cursor-style `tool` alias. Forward another installed server's complete tool definitions here — do not invent schemas."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

输出模式

{
  "type": "object",
  "properties": {
    "staticAnalysis": {
      "type": "boolean",
      "const": true
    },
    "targetToolsInvoked": {
      "type": "boolean",
      "const": false
    },
    "grade": {
      "type": "string",
      "enum": [
        "A",
        "B",
        "C",
        "D",
        "F"
      ]
    },
    "server": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "source": {
      "type": "string"
    },
    "stats": {
      "type": "object",
      "properties": {
        "toolCount": {
          "type": "integer",
          "minimum": 0
        },
        "approxTokens": {
          "type": "integer",
          "minimum": 0
        },
        "encoding": {
          "type": "string"
        }
      },
      "required": [
        "toolCount",
        "approxTokens",
        "encoding"
      ],
      "additionalProperties": false
    },
    "scores": {
      "type": "object",
      "properties": {
        "composite": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "categories": {
          "type": "object",
          "properties": {
            "surface": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "naming": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "descriptions": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "schemas": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "annotations": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "design": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            }
          },
          "required": [
            "surface",
            "naming",
            "descriptions",
            "schemas",
            "annotations",
            "design"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "composite",
        "categories"
      ],
      "additionalProperties": false
    },
    "findingCounts": {
      "type": "object",
      "properties": {
        "bySeverity": {
          "type": "object",
          "properties": {
            "error": {
              "type": "integer",
              "minimum": 0
            },
            "warn": {
              "type": "integer",
              "minimum": 0
            },
            "info": {
              "type": "integer",
              "minimum": 0
            }
          },
          "required": [
            "error",
            "warn",
            "info"
          ],
          "additionalProperties": false
        },
        "byCategory": {
          "type": "object",
          "properties": {
            "surface": {
              "type": "integer",
              "minimum": 0
            },
            "naming": {
              "type": "integer",
              "minimum": 0
            },
            "descriptions": {
              "type": "integer",
              "minimum": 0
            },
            "schemas": {
              "type": "integer",
              "minimum": 0
            },
            "annotations": {
              "type": "integer",
              "minimum": 0
            },
            "design": {
              "type": "integer",
              "minimum": 0
            }
          },
          "required": [
            "surface",
            "naming",
            "descriptions",
            "schemas",
            "annotations",
            "design"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "bySeverity",
        "byCategory"
      ],
      "additionalProperties": false
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ruleId": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "evidence": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "error",
              "warn",
              "info"
            ]
          },
          "category": {
            "type": "string",
            "enum": [
              "surface",
              "naming",
              "descriptions",
              "schemas",
              "annotations",
              "design"
            ]
          },
          "docsUrl": {
            "type": "string"
          }
        },
        "required": [
          "ruleId",
          "message",
          "severity",
          "category",
          "docsUrl"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "staticAnalysis",
    "targetToolsInvoked",
    "grade",
    "server",
    "source",
    "stats",
    "scores",
    "findingCounts",
    "findings"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本1 个工具
已验证未记录版本1 个工具
已验证未记录版本1 个工具