Turbot Guardrails MCP Server

Turbot Guardrails MCP Server

guardrails-mcp•byturbot

A Model Context Protocol server that connects AI assistants to Turbot Guardrails for natural language exploration, analysis, and automation across a cloud estate.

License: Not specified•Runtime: Awaiting documentation review•Category: cloud devops

WHAT IT DOES

  • •Runs read-only GraphQL queries in Guardrails and can introspect runnable-type schemas.
  • •Lists and shows resources, resource types, controls, control types, policy types, and policy settings, with optional filters.
  • •Runs a specific control by its ID and reviews compliance.
  • •Renders Nunjucks templates with provided input for dynamic configurations.

BEST FOR

  • •Asking natural language questions about cloud resources in a Guardrails environment.
  • •Generating compliance and security reports about non-compliant resources.
  • •Exploring policy and control types related to specific concerns like encryption.

ABOUT GUARDRAILS-MCP

Turbot Guardrails MCP Server is cataloged as an MCP server attributed to turbot. A Model Context Protocol server that connects AI assistants to Turbot Guardrails for natural language exploration, analysis, and automation across a cloud estate. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Turbot Guardrails MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which authentication methods does the server support?

It supports either a Turbot CLI profile or direct environment credentials, with direct credentials taking precedence when both are set.

Are legacy v0.1.x environment variable names still accepted?

Yes, legacy v0.1.x environment variable names continue to be accepted as aliases.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 3944641cda2c · 采集于 2026-11-13 10:35:44 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Turbot Guardrails Model Context Protocol (MCP) Server

Unlock the power of AI-driven cloud governance with Turbot Guardrails! This Model Context Protocol (MCP) server connects AI assistants like Claude to your Guardrails data, enabling natural language exploration, analysis, and automation across your cloud estate.

Guardrails MCP bridges AI assistants and your Guardrails environment, allowing natural language:

  • Querying and analyzing cloud resources using GraphQL
  • Listing and filtering resource, control, and policy types
  • Executing controls and reviewing compliance
  • Exploring GraphQL schemas for custom queries
  • Processing templates using Nunjucks for dynamic configurations

Installation

Prerequisites

Configuration

Guardrails MCP supports two authentication methods. Environment variable names match the Turbot CLI, so users with the CLI already configured don't need to redefine their credentials. Legacy v0.1.x names are accepted as aliases.

Preferred: Turbot CLI profile

If you use the Turbot CLI you already have a credentials.yml file with named profiles. Reference one by name:

{
  "mcpServers": {
    "turbot-guardrails": {
      "command": "npx",
      "args": ["-y", "@turbot/guardrails-mcp"],
      "env": {
        "TURBOT_PROFILE": "your-profile-name"
      }
    }
  }
}

By default the MCP reads ~/.config/turbot/credentials.yml. To use a different location set TURBOT_CLI_CREDENTIALS_PATH — ~ is expanded automatically, so ~/Documents/turbot.yml works inside JSON configs that don't go through a shell.

Example credentials.yml:

demo-acme:
  workspace: https://demo-acme.cloud.turbot.com
  accessKey: abcdefgh-1234-0808-wxyz-123456789012
  secretKey: hgfedcba-1234-0101-aaaa-aabbccddee00

Alternative: direct environment variables

Set all three credential variables directly in the MCP server configuration:

{
  "mcpServers": {
    "turbot-guardrails": {
      "command": "npx",
      "args": ["-y", "@turbot/guardrails-mcp"],
      "env": {
        "TURBOT_WORKSPACE": "https://demo-acme.cloud.turbot.com",
        "TURBOT_ACCESS_KEY": "abcdefgh-1234-0808-wxyz-123456789012",
        "TURBOT_SECRET_KEY": "hgfedcba-1234-0101-aaaa-aabbccddee00"
      }
    }
  }
}

TURBOT_WORKSPACE accepts either the bare workspace URL or a fully-qualified GraphQL endpoint. The /api/latest/graphql suffix is added automatically if missing, and trailing slashes / whitespace are normalised.

If both methods are set, the direct credentials win (matches the Turbot CLI's precedence). The profile is used when at least one direct variable is missing.

Backward compatibility (v0.1.x env var names)

Existing v0.1.x configurations continue to work without change. The legacy names map to the CLI-aligned names as follows:

CLI-aligned (preferred)Legacy alias (still accepted)
TURBOT_PROFILETURBOT_CLI_PROFILE
TURBOT_WORKSPACETURBOT_GRAPHQL_ENDPOINT
TURBOT_ACCESS_KEYTURBOT_ACCESS_KEY_ID
TURBOT_SECRET_KEYTURBOT_SECRET_ACCESS_KEY

When both names are set for the same field, the CLI-aligned name wins. New configurations should use the CLI-aligned names.

AI Assistant Setup

AssistantConfig File LocationSetup Guide
Claude Desktopclaude_desktop_config.jsonClaude Desktop MCP Guide →
Cursor~/.cursor/mcp.jsonCursor MCP Guide →

Save the configuration file and restart your AI assistant for the changes to take effect.

Prompting Guide

Start by asking about your Guardrails environment, for example:

What AWS accounts can you see in Guardrails?

Simple, specific questions work well:

Show me all S3 buckets created in the last week

Generate compliance and security reports:

List all EC2 instances that are non-compliant with our tagging standards

Explore policy and control types:

Show me all policy types related to encryption
List all control types for S3 buckets

Dive into resource details:

Show details for resource ID 1234567890

Remember to:

  • Be specific about which resources, controls, or policies you want to analyze
  • Use filters for categories, titles, or tags
  • Start with simple queries before adding complex conditions
  • Use natural language – the LLM will handle the GraphQL translation

Capabilities

Tools

Core Query & Template Tools

  • guardrails_query
    • Run any read-only GraphQL query in Guardrails.
    • Input: query (string, required), variables (object, optional)
  • guardrails_query_runnable
    • Run a GraphQL query against a specific runnable type and resource.
    • Input: runnableTypeUri (string), resourceId (string), query (string), variables (object, optional)
  • guardrails_query_runnable_introspection
    • Introspect the schema of a runnable type.
    • Input: runnableTypeUri (string), section (string, optional: 'queryType', 'types', 'type'), typeName (string, required if section is 'type')
  • guardrails_process_template
    • Render a Nunjucks template with provided input.
    • Input: template (string), input (object, optional)

Resource Operations

  • guardrails_resource_list
    • List resources, with optional filter.
    • Input: filter (string, optional)
  • guardrails_resource_show
    • Show details for a specific resource.
    • Input: id (string)
  • guardrails_resource_type_list
    • List resource types, with optional filter.
    • Input: filter (string, optional)
  • guardrails_resource_type_show
    • Show details for a specific resource type.
    • Input: id (string)

Control Operations

  • guardrails_control_list
    • List controls, with optional filter.
    • Input: filter (string, optional)
  • guardrails_control_show
    • Show details for a specific control.
    • Input: id (string)
  • guardrails_control_run
    • Run a control by its ID.
    • Input: controlId (string)
  • guardrails_control_type_list
    • List control types, with optional filter.
    • Input: filter (string, optional)
  • guardrails_control_type_show
    • Show details for a specific control type.
    • Input: id (string)

Policy Operations

  • guardrails_policy_type_list
    • List policy types, with optional filter.
    • Input: filter (string, optional)
  • guardrails_policy_type_show
    • Show details for a specific policy type.
    • Input: id (string)
  • guardrails_policy_setting_list
    • List policy settings, with optional filter.
    • Input: filter (string, optional)
  • guardrails_policy_setting_show
    • Show details for a specific policy setting.
    • Input: id (string)

Development

Clone and Setup

  1. Clone the repository and navigate to the directory:

    git clone https://github.com/turbot/guardrails-mcp.git
    cd guardrails-mcp
    
  2. Install dependencies:

    npm install
    
  3. Create a .env file with your credentials. You can use either method:

    Preferred — Turbot CLI profile:

    echo "TURBOT_PROFILE=your-profile-name" > .env
    

    Alternative — direct credentials:

    cat > .env <<'EOF'
    TURBOT_WORKSPACE=https://demo-acme.cloud.turbot.com
    TURBOT_ACCESS_KEY=your-access-key
    TURBOT_SECRET_KEY=your-secret-key
    EOF
    
  4. Build the project:

    npm run build
    
  5. For development with auto-recompilation:

    npm run watch
    
  6. To use your local development version with Claude Desktop, update your config to point at the built dist/index.js:

    {
      "mcpServers": {
        "turbot-guardrails": {
          "command": "node",
          "args": ["/full/path/to/guardrails-mcp/dist/index.js"],
          "env": {
            "TURBOT_PROFILE": "your-profile-name"
          }
        }
      }
    }
    

    Replace /full/path/to/guardrails-mcp with the absolute path to your local development directory.

Debugging

  • MCP Inspector
    • Test the server with the MCP Inspector:
      npm run build
      npx @modelcontextprotocol/inspector node dist/index.js
      

Troubleshooting

The server logs which credential method resolved at startup, so you can confirm the right path was taken:

Authenticated via Turbot CLI profile 'demo-acme' (from /Users/you/.config/turbot/credentials.yml)

or

Authenticated via direct environment variables

A warning is logged if the resolved endpoint does not use HTTPS, since Basic auth credentials would travel in plaintext.

  • Missing credentials: Set either TURBOT_PROFILE or all three direct credential variables (TURBOT_WORKSPACE, TURBOT_ACCESS_KEY, TURBOT_SECRET_KEY). Legacy v0.1.x names are also accepted (TURBOT_CLI_PROFILE, TURBOT_GRAPHQL_ENDPOINT, TURBOT_ACCESS_KEY_ID, TURBOT_SECRET_ACCESS_KEY).
  • Profile not found: Verify the profile name matches an entry in your credentials file, and that the file path is correct (~/.config/turbot/credentials.yml by default).
  • Profile missing fields: Each profile in credentials.yml must include workspace, accessKey, and secretKey.
  • Authentication errors: Ensure your API key is correct and has the necessary permissions. Credential values are redacted from any error message returned to your AI assistant.
  • Connection issues: Verify the Guardrails endpoint URL is correct.
  • API errors: Check the server logs for detailed GraphQL error messages.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Turbot Guardrails MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/guardrails-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related cloud devops MCP Servers

Alternative and complementary servers in the same category

View all in cloud devops →
Huawei MCP Server
mcp-server-huaweiclouddeveloper•huaweiclouddeveloper

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

Repository stats unavailable
Cloud & DevOps
Coolify MCP Server
coolify-mcp-server•wrediam

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

Repository stats unavailable
Cloud & DevOps

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

Repository stats unavailable
Cloud & DevOps