本项目提供了一个MCP服务器,它集成了先进的JWT审计工具,其灵感源自 JWTAuditor。该服务器可与Claude Desktop、Cursor等支持MCP的客户端配合使用。
uv pip install -r pyproject.toml
uv run server.py
将以下内容添加到Claude Desktop的 mcpServers.json
文件中(或合并到你的配置中):
{
"mcpServers": {
"JWT Auditor MCP": {
"type": "stdio",
"command": "uv",
"args": ["run", "server.py"],
"cwd": "/Users/haji/mcp-servers/jwtAuditor-Mcp"
}
}
}
cwd
路径与你的项目目录相匹配。uv
在正确的环境中启动服务器。如果你想使用MCP Inspector或其他需要 mcp.json
配置的工具,请使用以下内容:
{
"mcpServers": {
"jwt-auditor": {
"type": "stdio",
"command": "uv",
"args": ["run", "server.py"],
"cwd": "/Users/haji/mcp-servers/jwtAuditor-Mcp"
}
}
}