SuperAPI AI Directory

ciphertrust-manager-mcp-server

ciphertrust-manager-mcp-server is an independently developed open-source MCP (Model Context Protocol) server used to let AI assistants such as Claude and Cursor interact with Thales CipherTrust Manager resources through the ksctl CLI. This project is not officially supported by Thales; it uses public APIs and documented interfaces and is independently maintained by the community. It provides a unified interface supporting operations such as key management, connection management, CTE client management, and user management, communicates via JSON-RPC over stdin/stdout, and can be configured through environment variables. The project requires Python 3.11 or later, the uv dependency management tool, and an accessible CipherTrust Manager instance with valid credentials.

Open website

About this tool

Purpose

ciphertrust-manager-mcp-server is an independently developed open-source MCP (Model Context Protocol) server designed to enable AI assistants such as Claude and Cursor to interact with Thales CipherTrust Manager resources through the ksctl CLI. It provides AI assistants with a unified interface for operating various types of CipherTrust Manager resources.

Main Capabilities

This MCP server exposes a set of tools and endpoints to clients (such as Claude Desktop and Cursor), and the supported operation purposes include:

  • CTE client management
  • User management
  • Connection management
  • Key management
  • And more CipherTrust resource operations

The server communicates via JSON-RPC over stdin/stdout and can be configured through environment variables.

Usage

Environment Requirements

  • Python 3.11 or later
  • uv for dependency management
  • An accessible CipherTrust Manager instance
  • Valid CipherTrust Manager credentials

Install Git (Windows)

If Git is not installed on Windows, you can download and install Git for Windows (https://git-scm.com/download/win),或通过 winget installation:winget install --id Git.Git -e --source winget. After installation, you can run in PowerShell git --version to verify.

Install Python and uv

Two methods are provided: Method 1 is manual installation; Method 2 is using winget (Windows) to ensure Python is available in PATH.

Environment Variable Configuration

You can choose to copy and edit the example environment file, or directly set environment variables without using a .env file. Before starting, the environment variables or .env must contain a valid CipherTrust Manager URL.

Run the Server

There are two main ways to run it:

  • Method 1: Execute directly, running the main() function in ciphertrust_mcp_server/main.py.
  • Method 2: Module execution.

The server is designed to run as a subprocess of an MCP client and communicate via JSON-RPC over stdin/stdout.

Use with Cursor

Go to Settings > MCP Tools > Add Custom MCP, and add the corresponding content in the configuration file (such as mcp.json). On Windows, use the .venv\Scripts\ciphertrust-mcp-server.exe path with double backslashes. Then disable and re-enable the CipherTrust MCP server in Cursor to apply the changes.

Use with Claude Desktop

Configuration file locations: on macOS, ~/Library/Application Support/Claude/claude_desktop_config.json; on Windows, %APPDATA%\Roaming\Claude\claude_desktop_config.json. Adjust the paths according to the example to match the actual project location and environment, then restart Claude Desktop to apply the changes.

Testing

The project includes comprehensive testing capabilities, using Model Context Protocol Inspector and Python unit tests. Available testing methods include:

  • Manual JSON-RPC testing: direct stdin/stdout communication, used for debugging and development
  • Interactive UI testing: visual Web interface for manual testing and debugging
  • CLI automated testing: command-line automation for CI/CD integration
  • Python unit testing: comprehensive unit testing of server components
  • Integration testing: end-to-end testing using a real CipherTrust Manager instance

For detailed testing instructions, see TESTING.md; for example AI assistant prompts, see EXAMPLE_PROMPTS.md. The example prompts cover scenarios such as key management operations, user and group management, system and service management, cluster management, license management, and cryptographic operations.

Dependencies

pyproject.toml contains the following dependencies: pydantic>=2.12.0, pydantic-settings>=2.0.0, python-dotenv>=1.0.0. If you encounter issues, please ensure all dependencies are installed and up to date.

Applicable Scenarios

Suitable for developers and operations personnel who need to operate CipherTrust Manager resources through an AI assistant (Claude, Cursor) using natural language or prompts, for example key management, user and group management, CTE client management, connection management, system and service management, cluster management, license management, cryptographic operations, etc.

Limitations and Notes

  • This is an independent open-source project and is not officially supported by Thales.
  • It uses public APIs and documented interfaces and is independently maintained by the community.
  • Use at your own risk; please test thoroughly in your own environment.
  • No warranty is provided; see the license for the complete terms.
  • For official CipherTrust Manager support, please contact Thales directly.
  • CipherTrust® and related trademarks belong to Thales Group and its subsidiaries. This project is not affiliated with, endorsed by, or sponsored by Thales Group.
  • This project uses the MIT license; see the LICENSE file for details.
  • For issues with this unofficial MCP server, please use the GitHub issue tracker.