reference
Use this if
连接您首选的 AI 提供商和 MCP 客户端,以便团队可以运行辅助分类和安全审核工作流程。
Audience: 安全平台管理员和集成工程师Typical time: 20-30分钟
连接您首选的 AI 提供商和 MCP 客户端,以便团队可以运行辅助分类和安全审核工作流程。 受众: 安全平台管理员和集成工程师. 典型配置时长: 20-30分钟.
连接您首选的 AI 提供商和 MCP 客户端,以便团队可以运行辅助分类和安全审核工作流程。
步骤 1
将模型提供程序机密保留在您自己的机密管理器中,并从 BlackShield 配置中引用它们。
What success looks like
仅启用您的团队打算使用的 AI 任务。
步骤 2
从高价值工作流程开始,并对生产决策实施人工审查。
What success looks like
设置与风险策略一致的模型、令牌、超时和温度限制。
步骤 3
配置您的MCP客户端以调用BlackShield工具,同时保持模型推理在您的控制之下。
What success looks like
将提供程序密钥保留在您自己的运行时中,并需要人工批准才能进行生产更改。
Demonstration only
This configuration is designed for ease of use. To deploy scanner clients at scale, please plan your deployment architecture accordingly or contact us for enterprise best practices.
curl -X POST https://api.blackshield.chaplau.com/api/v1/ai-gateway/oauth/token \
-H "Content-Type: application/json" \
-d '{
"grant_type": "client_credentials",
"client_id": "your-client-id",
"client_secret": "your-client-secret"
}'curl -X POST https://api.blackshield.chaplau.com/api/v1/ai-gateway/openai/v1/chat/completions \
-H "Authorization: Bearer <your_short_lived_token>" \
-H "Content-Type: application/json" \
-d '{
"provider": "openai",
"model": "gpt-4o-mini",
"messages": [
{
"role": "user",
"content": "List the security requirements for the tenant onboarding flow."
}
]
}'{
"mcpServers": {
"blackshield-gateway": {
"command": "blackshield-mcp",
"args": [
"--client-id", "<your-client-id>",
"--client-secret", "<your-client-secret>",
"--url", "https://api.blackshield.chaplau.com/api/v1/mcp"
]
}
}
}