Descope MCP 服务器
介绍
Descope 模型上下文协议 (MCP) 服务器提供了与 Descope 的管理 API 交互的接口,从而可以搜索和检索与项目相关的信息。
Related MCP server: Discogs MCP Server
可用工具
search-audits:从您的 Descope 项目中检索最多 10 条审计日志条目。search-users:从您的 Descope 项目中检索最多 10 条用户记录。create-user:在您的 Descope 项目中创建一个新用户。invite-user:邀请新用户加入您的 Descope 项目。
要求
在继续之前,请确保您具有以下各项:
Node.js (版本 18 或更高版本)
您的系统上已安装Claude Desktop
Git 安装
要确认您的 Node.js 安装,请运行:
node --version # Expected output: v18.0.0 or later设置说明
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Descope MCP Server:
npx -y @smithery/cli install @descope-sample-apps/descope-mcp-server --client claude手动安装
克隆存储库:
git clone https://github.com/descope-sample-apps/descope-mcp-server.git cd descope-mcp-server安装必要的依赖项:
npm install构建项目:
npm run build
配置
1. 配置 Claude Desktop 以识别 Descope MCP 服务器
要找到claude_desktop_config.json文件,请打开 Claude Desktop 应用程序并从左上角的菜单栏启用开发人员模式。
启用后,转到“设置”(也在左上角菜单中),导航到“开发人员”部分,然后单击“编辑配置”按钮以访问和编辑claude_desktop_config.json 。
或者,通过终端打开配置文件:
在 macOS 上:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json在 Windows 上:
code %APPDATA%\Claude\claude_desktop_config.json2.添加Descope服务器配置:
{
"mcpServers": {
"descope": {
"command": "node",
"args": ["/path/to/descope-mcp-server/build/index.js"],
"env": {
"DESCOPE_PROJECT_ID": "your-descope-project-id-here",
"DESCOPE_MANAGEMENT_KEY": "your-descope-management-key-here"
}
}
}
}将your-descope-project-id-here和your-descope-management-key-here替换为您在app.descope.com/settings/project和app.descope.com/settings/company/managementkeys中实际的 Descope 项目 ID 和管理密钥。
3. 重启 Claude Desktop
要应用更改:
完全退出 Claude Desktop(确保它不仅仅是最小化)。
重新启动 Claude Desktop。
检查🔌图标以确认 Descope 服务器已连接。
运行服务器
首先,构建项目:
npm run build1. 在 stdio 上运行服务器
npm run start:stdio2. 在 SSE 上运行服务器
npm run start:sseResources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.