DS

descope-sample-apps/descope-mcp-server-stdio

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

38 stars 7 forks 质量 66 趋势 12MIT

Descope 模型上下文协议(MCP)服务器提供了与 Descope 管理 API 交互的接口,支持搜索和检索项目相关信息。

概览

Descope 模型上下文协议(MCP)服务器提供了与 Descope 管理 API 交互的接口,支持搜索和检索项目相关信息。 - 搜索审计:从你的 Descope 项目中检索最多 10 条审计日志条目。- 搜索用户:从你的 Descope 项目中获取最多 10 条用户记录。- 创建用户:在你的 Descope 项目中创建新用户。- 邀请用户:邀请新用户加入你的 Descope 项目。 在继续之前,请确保你具备以下条件: - Node.js(版本18或更高版本)- 已安装在你的系统上- 有效的Descope项目ID和管理密钥- 已安装Git。 要确认您的Node.js安装,请运行: 通过Smithery自动安装Descope MCP Server for Claude Desktop: 要找到claude_desktop_config.json文件,打开Claude桌面应用,并从左上角菜单栏启用开发者模式。

概述(AI 翻译)

引言

Descope 模型上下文协议(MCP)服务器提供了与 Descope 管理 API 交互的接口,支持搜索和检索项目相关信息。

可用工具

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

要求

在继续之前,请确保你具备以下条件:

  • Node.js(版本18或更高)
  • 在您的系统中安装了 Claude Desktop
  • 有效的Descope项目ID和管理密钥
  • 安装了 Git

要确认您的Node.js安装,请运行:

设置说明

通过Smithery安装

通过Smithery自动安装Descope MCP Server for Claude Desktop:

手动安装

  1. 克隆仓库:

  2. 安装必要的依赖:

  3. 建设项目:

配置

1.配置 Claude Desktop 以识别 Descope MCP 服务器

为了找到’claude_desktop_config。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Descope MCP Server

Introduction

The Descope Model Context Protocol (MCP) server provides an interface to interact with Descope’s Management APIs, enabling the search and retrieval of project-related information.

Available Tools

  • search-audits: Retrieves up to 10 audit log entries from your Descope project.
  • search-users: Retrieves up to 10 user records from your Descope project.
  • create-user: Creates a new user in your Descope project.
  • invite-user: Invites a new user to your Descope project.

Requirements

Before proceeding, make sure you have the following:

To confirm your Node.js installation, run:

node --version  # Expected output: v18.0.0 or later

Setup Instructions

Installing via Smithery

To install Descope MCP Server for Claude Desktop automatically via Smithery:

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

Manual Installation

  1. Clone the repository:

    git clone https://github.com/descope-sample-apps/descope-mcp-server.git
    cd descope-mcp-server
    
  2. Install the necessary dependencies:

    npm install
    
  3. Build the project:

    npm run build
    

Configuration

1. Configure Claude Desktop to recognize the Descope MCP server

To locate the claude_desktop_config.json file, open the Claude Desktop app and enable Developer Mode from the top-left menu bar.

Once enabled, go to Settings (also in the top-left menu), navigate to the Developer section, and click the Edit Config button to access and edit claude_desktop_config.json.

Alternatively, to open the configuration file via terminal:

On macOS:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows:

code %APPDATA%\Claude\claude_desktop_config.json

2. Add the Descope server configuration:

{
  "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"
      }
    }
  }
}
在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @descope-sample-apps/descope-mcp-server --client claude
新手?先看 mcpskill.org 教程 →

配置

{ "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" } } } }