Descope MCP Server

Descope MCP Server

site icon
2025.03.24 0
TypeScript开发效率开发效率
Descope MCP Server 是一个基于 Model Context Protocol (MCP) 的服务器,用于与 Descope 的管理 API 进行交互,实现项目相关信息的搜索和检索。它提供了多种工具来管理用户和审计日志,适用于需要集成 Descope 管理功能的开发场景。
View on GitHub

Overview

基本能力

产品定位

Descope MCP Server 是一个接口服务器,用于与 Descope 的管理 API 交互,提供项目相关信息的搜索和检索功能。

核心功能

  • 搜索审计日志:检索最多 10 条审计日志条目。
  • 搜索用户:检索最多 10 条用户记录。
  • 创建用户:在 Descope 项目中创建新用户。
  • 邀请用户:邀请新用户加入 Descope 项目。

适用场景

  • 需要集成 Descope 管理功能的开发项目。
  • 需要自动化管理用户和审计日志的场景。

工具列表

  • search-audits:检索审计日志条目。
  • search-users:检索用户记录。
  • create-user:创建新用户。
  • invite-user:邀请新用户。

常见问题解答

  • 确保 Node.js 版本为 18 或更高。
  • 确保已安装 Claude Desktop 并配置正确。
  • 确保提供有效的 Descope 项目 ID 和管理密钥。

使用教程

使用依赖

  • Node.js (v18 或更高)
  • Claude Desktop
  • Git

验证 Node.js 安装:

node --version  # 预期输出: v18.0.0 或更高

安装教程

通过 Smithery 安装

npx -y @smithery/cli install @descope-sample-apps/descope-mcp-server --client claude

手动安装

  1. 克隆仓库:
git clone https://github.com/descope-sample-apps/descope-mcp-server.git
cd descope-mcp-server
  1. 安装依赖:
npm install
  1. 构建项目:
npm run build

调试方式

  1. 构建项目:
npm run build
  1. 运行服务器:
  2. stdio 模式:
npm run start:stdio
  • SSE 模式:
npm run start:sse

许可证

该项目遵循 MIT 开源许可条款,请参阅 MIT 了解完整条款。