Skip to main content

CloudTruth MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with secure access to CloudTruth configuration and secrets management.

Features

  • 14 MCP Tools for complete CloudTruth operations (projects, environments, parameters, templates, tags)
  • Secure by Default - Secrets are masked unless explicitly requested with include_secrets=true
  • Intelligent Caching - Reduces API calls with configurable TTL
  • Full CRUD Operations - Create, read, update, and delete projects, environments, and parameters
  • Template Rendering - Preview configuration files with parameter substitution
  • Point-in-Time Snapshots - Create tags for environment state snapshots

Installation

pip install cloudtruth-mcp-server

Quick Start

1. Create Configuration File

Create ~/.config/cloudtruth/mcp-config.json:

{
  "api_key": "your-cloudtruth-api-key",
  "api_base_url": "https://api.cloudtruth.io",
  "default_project": "default",
  "default_environment": "default"
}

Set secure permissions:

chmod 600 ~/.config/cloudtruth/mcp-config.json

2. Configure Your MCP Client

Claude Desktop

Add to the appropriate config file for your OS:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "cloudtruth": {
      "command": "python3",
      "args": ["-m", "cloudtruth_mcp.server"]
    }
  }
}

Claude Code (VS Code Extension)

Using the CLI (recommended):

claude mcp add --transport stdio cloudtruth -- python3 -m cloudtruth_mcp.server

Or manually edit the config file for your OS:

  • macOS: ~/Library/Application Support/Code/User/globalStorage/anthropics.claude-code/settings/cline_mcp_settings.json
  • Windows: %APPDATA%\Code\User\globalStorage\anthropics.claude-code\settings\cline_mcp_settings.json
  • Linux: ~/.config/Code/User/globalStorage/anthropics.claude-code/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "cloudtruth": {
      "command": "python3",
      "args": ["-m", "cloudtruth_mcp.server"]
    }
  }
}

Cursor

  1. Open Cursor Settings (Cmd/Ctrl + Shift + J)
  2. Go to the "MCP" tab
  3. Click "Add Server"
  4. Enter:
    • Name: cloudtruth
    • Command: python3
    • Arguments: -m cloudtruth_mcp.server

Or manually edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "cloudtruth": {
      "command": "python3",
      "args": ["-m", "cloudtruth_mcp.server"]
    }
  }
}

Cline (VS Code Extension)

Add to MCP settings via Cline extension settings or manually edit the config file:

{
  "mcpServers": {
    "cloudtruth": {
      "command": "python3",
      "args": ["-m", "cloudtruth_mcp.server"]
    }
  }
}

3. Restart Your MCP Client

  • Claude Desktop: Completely quit and restart the application
  • Claude Code / Cline: Reload VS Code window (Cmd/Ctrl + Shift + P → "Reload Window")
  • Cursor: Restart Cursor or reload the window

Usage Examples

Once configured, you can ask your AI assistant:

  • "List my CloudTruth projects"
  • "Show me the parameters in the production environment"
  • "Get the database credentials for staging" (requires include_secrets=true)
  • "Create a new environment called 'development'"
  • "Update the API_URL parameter in production"
  • "Compare parameters between dev and staging environments"

Available Tools

  • list_projects - List all accessible projects
  • create_project - Create a new project
  • delete_project - Delete a project
  • list_environments - List all environments with hierarchy
  • create_environment - Create a new environment
  • delete_environment - Delete an environment
  • get_parameter - Retrieve a single parameter value
  • get_parameters - Retrieve all parameters for a project/environment
  • set_parameter - Set or update a parameter value
  • create_parameter - Create a new parameter definition
  • delete_parameter - Delete a parameter
  • preview_template - Preview template rendering with parameters
  • export_parameters - Export parameters in JSON, YAML, or dotenv format
  • get_version - Get the CloudTruth MCP server version

Security

  • Secrets are masked by default - Only exposed when include_secrets=true
  • Secure configuration - Config file should have 600 permissions
  • HTTPS only - All API communication over encrypted connection
  • No credential leakage - Secrets are sanitized from error messages and logs

Documentation

Requirements

  • Python 3.11 or higher
  • CloudTruth account and API key
  • MCP-compatible client (Claude Desktop, Cline, etc.)

License

MIT License - See LICENSE file for details

Support

Metadata

Release files for cloudtruth-mcp-server 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudtruth-mcp-server 1.0.3
File Size Uploaded Provenance
cloudtruth_mcp_server-1.0.3.tar.gz 38.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudtruth-mcp-server 1.0.3
File Interpreter ABI Platform
cloudtruth_mcp_server-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 65.9 kB

Release files / cloudtruth_mcp_server-1.0.3.tar.gz

Download URL cloudtruth_mcp_server-1.0.3.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c2947a926425b37ede5ea36e655f7015a948e886e4417880e03744aba3811122
BLAKE2b-256 checksum
How to use checksums
db316c7a36a007c1c76c4bfe5e97d2a9c1fd63148d31d5da83bfdb154f6d8252
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / cloudtruth_mcp_server-1.0.3-py3-none-any.whl

Download URL cloudtruth_mcp_server-1.0.3-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5c86772493aa2f159b0780c9a46fd841bd9066bbf46d9bb87e4699cf5a45742
BLAKE2b-256 checksum
How to use checksums
a135503fe2e6b5cc2c24bf2ce5532791a7026aae02addedb4ac01a2d8ea7c17a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Security for cloudtruth-mcp-server 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page