
Turbot/Steampipe-MCP 是从 https://github.com/turbot/steampipe-mcp. 导入的一个 MCP 服务器候选。
概览
Turbot/Steampipe-MCP 是从 https://github.com/turbot/steampipe-mcp. 导入的一个 MCP 服务器候选。
概述(AI 翻译)
通过Steampipe释放AI驱动基础设施分析的力量!这款模型上下文协议服务器将Claude等AI助手无缝连接至您的云基础设施数据,实现对整个云资产的自然语言探索和分析。
Steampipe MCP 连接了 AI 助手和基础设施数据,支持自然语言:
- 跨AWS、Azure、GCP和100+云服务的查询
- 安全与合规分析
- 成本与资源优化
- 查询开发协助
支持本地 Steampipe 安装和 Turbot Pipes 工作区,提供安全、只读访问您的所有云和 SaaS 数据。
安装
先决条件
- Node.js v16及以上(包括
npx) - 本地使用:安装并运行的蒸汽管(
steampipe service start) - 用于比目鱼管:比目鱼管的工作区和连接串
配置
将 Steampipe MCP 添加到你的 AI 助手配置文件中:
默认情况下,它连接到你本地的 Steampipe 安装,地址是 postgresql://steampipe@localhost:9193/steampipe。确保先运行 steampipe service start。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Steampipe Model Context Protocol (MCP) Server
Unlock the power of AI-driven infrastructure analysis with Steampipe! This Model Context Protocol server seamlessly connects AI assistants like Claude to your cloud infrastructure data, enabling natural language exploration and analysis of your entire cloud estate.
Steampipe MCP bridges AI assistants and your infrastructure data, allowing natural language:
- Queries across AWS, Azure, GCP and 100+ cloud services
- Security and compliance analysis
- Cost and resource optimization
- Query development assistance
Works with both local Steampipe installations and Turbot Pipes workspaces, providing safe, read-only access to all your cloud and SaaS data.
Installation
Prerequisites
- Node.js v16 or higher (includes
npx) - For local use: Steampipe installed and running (
steampipe service start) - For Turbot Pipes: A Turbot Pipes workspace and connection string
Configuration
Add Steampipe MCP to your AI assistant’s configuration file:
{
"mcpServers": {
"steampipe": {
"command": "npx",
"args": [
"-y",
"@turbot/steampipe-mcp"
]
}
}
}
By default, this connects to your local Steampipe installation at postgresql://steampipe@localhost:9193/steampipe. Make sure to run steampipe service start first.
To connect to a Turbot Pipes workspace instead, add your connection string to the args:
{
"mcpServers": {
"steampipe": {
"command": "npx",
"args": [
"-y",
"@turbot/steampipe-mcp",
"postgresql://my_name:[email protected]:9193/abc123"
]
}
}
}
AI Assistant Setup
| Assistant | Config File Location | Setup Guide |
|---|---|---|
| Claude Desktop | claude_desktop_config.json |
Claude Desktop MCP Guide → |
| Cursor | ~/.cursor/mcp.json |
Cursor MCP Guide → |
Save the configuration file and restart your AI assistant for the changes to take effect.
Prompting Guide
First, run the best_practices prompt included in the MCP server to teach your LLM how best to work with Steampipe. Then, ask anything!
Explore your cloud infrastructure:
What AWS accounts can you see?
Simple, specific questions work well:
Show me all S3 buckets that were created in the last week
Generate infrastructure reports:
List my EC2 instances with their attached EBS volumes
Dive into security analysis:
Find any IAM users with access keys that haven't been rotated in the last 90 days
Get compliance insights:
Show me all EC2 instances that don't comply with our tagging standards
安装
npx -y @turbot/steampipe-mcp配置
{
"mcpServers": {
"steampipe": {
"command": "npx",
"args": [
"-y",
"@turbot/steampipe-mcp"
]
}
}
}