
STS
STDIOVolcengine STS MCP server for secure temporary credential management through role assumption
Volcengine STS MCP server for secure temporary credential management through role assumption
版本 | v1.0.0 |
---|---|
描述 | 安全凭证服务,通过角色扮演获取临时访问凭证 |
分类 | 工具类 |
标签 | 角色扮演、凭证、管理与治理 |
本 MCP Server 产品提供以下 Tools:
方舟,Python,Cursor,Trae
https://console.volcengine.com/iam/identitymanage/role
仅支持本地 STDIO 模式运行
Linux/macOS:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
克隆仓库:
git clone [email protected]:volcengine/mcp-server.git
server/mcp_server_sts/src/mcp_server_sts/config/cfg.yaml
因为MCP-Server需要调用火山OpenAPI,因此要提供火山访问凭证信息
对应配置中 credential
参数:
env
: 从环境变量获取 AK、SK 进行鉴权,取值内容参考:环境变量设置transport
= stdio
、credential = env
需要准备AK、SK并设置到环境变量{ "mcpServers": { "sts": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER", "run", "mcp-server-sts" ], "env": { "VOLCENGINE_ACCESS_KEY": "your ak", "VOLCENGINE_SECRET_KEY": "your sk", "VOLCENGINE_ACCESS_SESSION_TOKEN": "your session token" } } } }
{ "mcpServers": { "sts": { "command": "uvx", "args": [ "--from", "git+https://github.com/volcengine/mcp-server#subdirectory=server/mcp_server_sts", "mcp-server-sts" ], "env": { "VOLCENGINE_ACCESS_KEY": "your ak", "VOLCENGINE_SECRET_KEY": "your sk", "VOLCENGINE_ACCESS_SESSION_TOKEN": "your session token" } } } }