MCP Connector

Manage Descope Projects and Audit Logs

Descope MCP Server connects AI clients to Descope Management APIs for user and audit data retrieval and user management.

Works with descope

76
Spark score
out of 100
Updated Mar 2025
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Automate interactions with the Descope Management API to efficiently search and retrieve project information, including audit logs and user data.

Outcomes

What it gets done

01

Search and retrieve audit logs

02

Manage user accounts (create, invite)

03

Query project data via Descope API

04

Securely manage API credentials

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-descope | bash

Capabilities

Tools your agent gets

search-audits

Retrieves up to 10 audit log records 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

Overview

Descope MCP Server

The Descope MCP Server provides an interface for AI clients to interact with Descope's Management APIs. It enables the search and retrieval of project-related information, including audit logs and user records. The server also supports the creation and invitation of new users within a Descope project. Use the Descope MCP Server when you need to connect an AI client to your Descope project for programmatic access to user data, audit trails, or user management functionalities. It is ideal for automating workflows that involve user lifecycle management or require insights from Descope project activity.

What it does

As an AI developer, I want to integrate Descope's user and audit management capabilities into my AI applications so that I can automate user lifecycle management and access project insights.

I need to be able to search for users, create new users, invite users, and retrieve audit logs directly from my AI client.

To set this up, I can use the following Smithery install command:

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

Then, I will configure my Claude Desktop with the following JSON, replacing the placeholder values with my Descope credentials:

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

Descope MCP Server

smithery badge

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

Replace your-descope-project-id-here and your-descope-management-key-here with your actual Descope Project ID and Management Key from app.descope.com/settings/project and app.descope.com/settings/company/managementkeys.

3. Restart Claude Desktop

To apply the changes:

  1. Fully quit Claude Desktop (ensure it's not just minimized).
  2. Relaunch Claude Desktop.
  3. Check for the ๐Ÿ”Œ icon to confirm the Descope server is connected.

Claude Desktop with Descope MCP Server x5

Running the server

First, build the project:

npm run build

1. Running the server on stdio

npm run start:stdio

2. Running the server on SSE

npm run start:sse

FAQ

Common questions

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.