Descope MCP Server

Descope MCP Server

site icon
2025.02.17 0
TypeScriptAPI 管理用户管理开发效率
Descope MCP Server 是一个基于 Model Context Protocol (MCP) 的服务,提供与 Descope 管理 API 的交互接口,用于搜索和检索项目相关信息。它支持多种工具,包括搜索审计日志、用户记录、创建用户和邀请用户等功能。
View on GitHub

Overview

基本能力

产品定位

Descope MCP Server 是一个用于与 Descope 管理 API 交互的服务,主要用于搜索和检索项目相关信息。

核心功能

  • 搜索审计日志 (search-audits): 检索最多 10 条审计日志条目。
  • 搜索用户记录 (search-users): 检索最多 10 条用户记录。
  • 创建用户 (create-user): 在 Descope 项目中创建新用户。
  • 邀请用户 (invite-user): 邀请新用户加入 Descope 项目。

适用场景

  • 需要快速检索 Descope 项目中的审计日志或用户记录。
  • 需要自动化创建或邀请用户到 Descope 项目。

工具列表

  • search-audits: 检索 Descope 项目的审计日志。
  • search-users: 检索 Descope 项目的用户记录。
  • create-user: 在 Descope 项目中创建新用户。
  • invite-user: 邀请新用户加入 Descope 项目。

常见问题解答

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

使用教程

使用依赖

  • Node.js (版本 18 或更高)
  • 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. 运行服务器 (stdio):
npm run start:stdio
  1. 运行服务器 (SSE):
npm run start:sse

许可证

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