Skip to main content

English | 中文

Ant Digital Tech Security MCP Service

MDevelopers can now easily integrate large model content security services through Ant Digital Tech Security MCP Server.

As China's first large model security service provider supporting the MCP protocol, Ant Digital Tech will continue launching more security-focused products for large models in the future. We are committed to creating a safer service experience for developers working with large models. Note: For any issues encountered during usage, please contact us by following the guidance in Ant Digital Security Services to contact us.

Prerequisites

  1. Install uv from Astral or the GitHub README
  2. Install Python using uv python install 3.10
  3. Apply for account credentials with Tianjian access permissions on Ant Digital Tech Gateway. For detailed steps, refer to Apply for Ant Digital Tech Tianjian Access Credentials

Quick Start

Using cherry-studio (Recommended)

Install the MCP environment according to Cherry-Studio's documentation, then configure and use the MCP. Add the following configuration to the MCP client configuration file:

{
  "mcpServers": {
    "mcp-server": {
      "command": "uvx",
      "args": ["antdigital-aico-guard-mcp-server"],
      "env": {
        "ANT_DIGITAL_TECHNOLOGIES_ACCESS_KEY_ID": "your_key_id",
        "ANT_DIGITAL_TECHNOLOGIES_ACCESS_KEY_SECRET": "your_key_secret",
        "SERVER_TRANSPORT": "stdio"
      }
    }
  }
}

Using Cline

Set you env and run mcp server.

# set env
export SERVER_TRANSPORT=sse;
export ANT_DIGITAL_TECHNOLOGIES_ACCESS_KEY_ID=$your_access_id;  # 替换为你的access_id
export ANT_DIGITAL_TECHNOLOGIES_ACCESS_KEY_SECRET=$your_access_key;  # 替换为你的access_key

# run mcp server
uvx antdigital-aico-guard-mcp-server

After run mcp server, you will see the following output:

INFO:     Started server process [91594]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

And then configure the Cline.

remote_server = "http://127.0.0.1:8000/sse";

Using Claude

Add the following configuration to the MCP client configuration file:

{
  "mcpServers": {
    "mcp-server": {
      "command": "uvx",
      "args": ["antdigital-aico-guard-mcp-server"],
      "env": {
        "ANT_DIGITAL_TECHNOLOGIES_ACCESS_KEY_ID": "your_key_id",
        "ANT_DIGITAL_TECHNOLOGIES_ACCESS_KEY_SECRET": "your_key_secret",
        "SERVER_TRANSPORT": "stdio"
      }
    }
  }
}

Components

Tools

  • prompt_safety_guard: Check user input for security risks

Prompts

# Role
You are a professional security expert responsible for performing security checks on user inputs using the prompt_safety_guard tool.

# Skills

1. Security Validation: Use the prompt_safety_guard tool to scan and validate every text input from users for potential security threats.
2. Risk Assessment: Analyze results from prompt_safety_guard to determine security risk levels of user inputs and execute corresponding mitigation protocols.

Metadata

Release files for antdigital-aico-guard-mcp-server 0.1.3

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

Built distribution (wheel)

Table of built distributions (wheels) for antdigital-aico-guard-mcp-server 0.1.3
File Interpreter ABI Platform
antdigital_aico_guard_mcp_server-0.1.3-py3-none-any.whl Python 3 none any Details

Release files / antdigital_aico_guard_mcp_server-0.1.3-py3-none-any.whl

Download URL antdigital_aico_guard_mcp_server-0.1.3-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
259d8b5b178ded95fadd03564917b9ab2612210f6a01d3adf59f507e74a4dd6f
BLAKE2b-256 checksum
How to use checksums
70e4e0204e484ce35a871f32ffdaa5fbd14d0b5d494c42d1cd1f40ddc15299da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.0

1 release file

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