Descope Python SDK
Descope MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Descope Python SDK.
The Descope SDK for python provides convenient access to the Descope user management and authentication API for a backend written in python. You can read more on the Descope Website.
The server ships on PyPI as descope, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Once Descope is connected, these are the calls the assistant has available:
OAuth — Users can authenticate using their social logins, using the OAuth protocol. Configure your OAuth settings on the [DescopePasswords — The user can also authenticate with a password, though it's recommended to prefer passwordless authentication methods if possible. Sign up requiresHistory — You can get the current session user history. The request requires a valid refresh tokenSetup — To use the management API you'll need a Management Key along with your Project ID. Create one in the [DescopeYou will need 3 environment variables: DESCOPE_AUTH_MANAGEMENT_KEY, DESCOPE_PROJECT_ID, DESCOPE_MANAGEMENT_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
The SDK supports Python 3.9 and above.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Descope's toolset — OAuth, Passwords, History and 1 more — is a fair guide to whether it matches your workflow. It is maintained by Descope; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| OAuth | Users can authenticate using their social logins, using the OAuth protocol. Configure your OAuth settings on the [Descope console](https://app.descope.com/settings/authentication/social). To start a flow call: |
| Passwords | The user can also authenticate with a password, though it's recommended to prefer passwordless authentication methods if possible. Sign up requires the caller to provide a valid password that meets all the requirements c |
| History | You can get the current session user history. The request requires a valid refresh token. |
| Setup | To use the management API you'll need a Management Key along with your Project ID. Create one in the [Descope Console](https://app.descope.com/settings/company/managementkeys). |
{
"mcpServers": {
"descope-1": {
"command": "uvx",
"args": ["descope"],
"env": {
"DESCOPE_AUTH_MANAGEMENT_KEY": "your-value",
"DESCOPE_PROJECT_ID": "your-value",
"DESCOPE_MANAGEMENT_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
The SDK supports Python 3.9 and above.
| Variable | Description | Required |
|---|---|---|
| DESCOPE_AUTH_MANAGEMENT_KEY | Credential the server authenticates with. | Yes |
| DESCOPE_PROJECT_ID | Configuration value read at startup. | Optional |
| DESCOPE_MANAGEMENT_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.