steampipe-mcp
Сервер протокола контекста модели Steampipe (MCP)
Откройте для себя возможности анализа инфраструктуры на основе искусственного интеллекта с помощью Steampipe ! Этот сервер Model Context Protocol легко подключает помощников искусственного интеллекта, таких как Клод, к данным вашей облачной инфраструктуры, обеспечивая возможность исследования и анализа всего вашего облачного хранилища на естественном языке.
Steampipe MCP объединяет помощников ИИ и данные вашей инфраструктуры, позволяя использовать естественный язык:
Запросы в AWS, Azure, GCP и более чем 100 облачных сервисах
Анализ безопасности и соответствия
Оптимизация затрат и ресурсов
Помощь в разработке запросов
Работает как с локальными установками Steampipe , так и с рабочими пространствами Turbot Pipes , обеспечивая безопасный доступ только для чтения ко всем вашим облачным и SaaS-данным.
Установка
Предпосылки
Node.js v16 или выше (включая
npx)Для локального использования: Steampipe установлен и запущен (
steampipe service start)Для Turbot Pipes: рабочее пространство Turbot Pipes и строка подключения
Конфигурация
Добавьте Steampipe MCP в файл конфигурации вашего ИИ-помощника:
{
"mcpServers": {
"steampipe": {
"command": "npx",
"args": [
"-y",
"@turbot/steampipe-mcp"
]
}
}
}По умолчанию это подключается к вашей локальной установке Steampipe по адресу postgresql://steampipe@localhost:9193/steampipe . Обязательно сначала запустите steampipe service start .
Чтобы подключиться к рабочему пространству Turbot Pipes , добавьте строку подключения к аргументам:
{
"mcpServers": {
"steampipe": {
"command": "npx",
"args": [
"-y",
"@turbot/steampipe-mcp",
"postgresql://my_name:my_pw@workspace-name.usea1.db.pipes.turbot.com:9193/abc123"
]
}
}
}Настройка помощника ИИ
Помощник | Расположение файла конфигурации | Руководство по настройке |
Клод Десктоп |
| |
Курсор |
|
Сохраните файл конфигурации и перезапустите ИИ-помощника, чтобы изменения вступили в силу.
Related MCP server: tailpipe-mcp
Руководство по подсказкам
Сначала запустите подсказку best_practices , включенную в сервер MCP, чтобы научить вашего LLM, как лучше всего работать со Steampipe. Затем спрашивайте что угодно!
Изучите свою облачную инфраструктуру:
What AWS accounts can you see?Хорошо работают простые, конкретные вопросы:
Show me all S3 buckets that were created in the last weekСоздание отчетов по инфраструктуре:
List my EC2 instances with their attached EBS volumesПогрузитесь в анализ безопасности:
Find any IAM users with access keys that haven't been rotated in the last 90 daysПолучите информацию о соответствии:
Show me all EC2 instances that don't comply with our tagging standardsИзучите потенциальные риски:
Analyze my S3 buckets for security risks including public access, logging, and encryptionНе забудьте:
Укажите конкретно, какие облачные ресурсы вы хотите проанализировать (EC2, S3, IAM и т. д.)
Укажите регионы или счета, если вас интересуют конкретные из них.
Начните с простых запросов, прежде чем добавлять сложные условия.
Используйте естественный язык — LLM выполнит перевод SQL
Будьте смелы и исследовательски активны — степень магистра права поможет вам открыть для себя новые идеи во всей вашей инфраструктуре!
Возможности
Инструменты
steampipe_query
Запросы к облачным журналам и журналам безопасности с помощью SQL.
Для лучшей производительности: используйте CTE вместо соединений, ограничьте количество запрашиваемых столбцов.
Все запросы доступны только для чтения и используют синтаксис PostgreSQL.
Ввод:
sql(строка): SQL-запрос для выполнения с использованием синтаксиса PostgreSQL.
steampipe_table_list
Список всех доступных таблиц Steampipe.
Необязательный ввод:
schema(строка): Фильтрация таблиц по определенной схемеНеобязательный ввод:
filter(строка): Фильтрация таблиц по шаблону ILIKE (например, '%ec2%')
steampipe_table_show
Получите подробную информацию о конкретной таблице, включая определения столбцов, типы данных и описания.
Ввод:
name(строка): имя таблицы, для которой необходимо отобразить сведения (может быть указано с помощью схемы, например, «aws_account» или «aws.aws_account»).Необязательный ввод:
schema(строка): Схема, содержащая таблицу
steampipe_plugin_list
Список всех плагинов Steampipe, установленных в системе. Плагины обеспечивают доступ к различным источникам данных, таким как AWS, GCP или Azure.
Входные параметры не требуются
steampipe_plugin_show
Получите подробную информацию о конкретной установке плагина Steampipe, включая версию, ограничения памяти и конфигурацию.
Ввод:
name(строка): Имя плагина, для которого нужно отобразить сведения.
Подсказки
лучшие_практики
Лучшие практики работы с данными Steampipe
Содержит подробные рекомендации по:
Стиль ответа и правила форматирования
Использование CTE (предложения WITH) вместо объединений
Синтаксис и соглашения по стилю SQL
Выбор и оптимизация столбцов
Исследование и понимание схемы
Структура и организация запроса
Вопросы производительности и кэширования
Обработка ошибок и устранение неполадок
Ресурсы
статус
Представляет текущее состояние соединения Steampipe.
В число объектов недвижимости входят:
connection_string: Текущая строка подключения к базе данных
status: Состояние соединения (подключено/отключено)
Этот ресурс позволяет инструментам ИИ проверять и подтверждать статус подключения к вашему экземпляру Steampipe.
Разработка
Клонирование и настройка
Клонируйте репозиторий и перейдите в каталог:
git clone https://github.com/turbot/steampipe-mcp.git
cd steampipe-mcpУстановите зависимости:
npm installСоздайте проект:
npm run buildТестирование
Чтобы протестировать локальную сборку разработки с помощью инструментов ИИ, поддерживающих MCP, обновите конфигурацию MCP, чтобы использовать локальный dist/index.js вместо пакета npm. Например:
{
"mcpServers": {
"steampipe": {
"command": "node",
"args": [
"/absolute/path/to/steampipe-mcp/dist/index.js",
"postgresql://steampipe@localhost:9193/steampipe"
]
}
}
}Или используйте MCP Inspector для проверки реализации сервера:
npx @modelcontextprotocol/inspector dist/index.jsПеременные среды
Для настройки сервера MCP можно использовать следующие переменные среды:
STEAMPIPE_MCP_LOG_LEVEL: Управление уровнем детализации журнала сервера (по умолчанию:info)STEAMPIPE_MCP_WORKSPACE_DATABASE: Переопределить строку подключения Steampipe по умолчанию (по умолчанию:postgresql://steampipe@localhost:9193/steampipe)
Открытый исходный код и содействие
Этот репозиторий опубликован под лицензией Apache 2.0 . Ознакомьтесь с нашим кодексом поведения . Мы с нетерпением ждем сотрудничества с вами!
Steampipe — это продукт, созданный на основе этого программного обеспечения с открытым исходным кодом, исключительно Turbot HQ, Inc. Он распространяется на наших коммерческих условиях. Другие лица имеют право самостоятельно распространять программное обеспечение, но не могут использовать никакие товарные знаки Turbot, облачные сервисы и т. д. Вы можете узнать больше в нашем разделе FAQ по программному обеспечению с открытым исходным кодом .
Примите участие
Присоединяйтесь к #steampipe в Slack →
Хотите помочь, но не знаете с чего начать? Выберите один из вопросов help wanted :
Available Tools
5 toolssteampipe_plugin_listA
List all Steampipe plugins installed on the system. Plugins provide access to different data sources like AWS, GCP, or Azure.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It describes what the tool does (lists plugins) and provides useful context about plugins providing access to data sources, but doesn't disclose behavioral traits like whether this requires specific permissions, how results are formatted, or if there are any rate limits. It adds some value but lacks operational details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences with zero waste. First sentence states the core purpose, second adds helpful context about plugins. Well-structured and front-loaded with the essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and moderate complexity (listing operation), the description is adequate but incomplete. It explains what the tool does and provides context about plugins, but lacks details about return format, error conditions, or operational constraints that would be helpful for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters with 100% schema description coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, maintaining focus on the tool's purpose. Baseline for 0 parameters is 4, as it avoids unnecessary parameter discussion.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('List all') and resource ('Steampipe plugins installed on the system'), with additional context about what plugins provide. It distinguishes from siblings like steampipe_plugin_show (detail view) and steampipe_table_list (different resource type).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when needing to see installed plugins, but doesn't explicitly state when to use this vs. alternatives like steampipe_plugin_show for detailed plugin information or steampipe_table_list for table listings. No explicit exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
steampipe_plugin_showA
Get details for a specific Steampipe plugin installation, including version, memory limits, and configuration.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the plugin to show details for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions what details are returned (version, memory limits, configuration) but does not cover other important aspects such as error handling (e.g., what happens if the plugin doesn't exist), permissions required, or whether it's a read-only operation. This leaves significant gaps for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that efficiently conveys the tool's purpose and key details. It is front-loaded with the main action and resource, and every part of the sentence adds value without redundancy or unnecessary information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (simple read operation with one parameter) and the lack of annotations and output schema, the description is moderately complete. It specifies what details are retrieved, but it does not fully compensate for the missing behavioral context (e.g., error handling, permissions) or describe the return format, which would be needed for higher completeness in the absence of an output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the parameter 'name' clearly documented in the schema as 'Name of the plugin to show details for.' The description does not add any additional meaning or context beyond what the schema provides, such as format examples or constraints. With high schema coverage, the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Get details') and resource ('a specific Steampipe plugin installation'), distinguishing it from siblings like 'steampipe_plugin_list' (which lists all plugins) and 'steampipe_table_show' (which shows table details). It explicitly mentions what details are included: version, memory limits, and configuration.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context by specifying 'a specific Steampipe plugin installation,' suggesting it should be used when details for a particular plugin are needed. However, it does not explicitly state when not to use it or name alternatives like 'steampipe_plugin_list' for listing all plugins, which would be required for a score of 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
steampipe_queryA
Query cloud infrastructure, SaaS, APIs, code and more with SQL.
Queries are read-only and must use PostgreSQL syntax.
For best performance: limit columns requested, use materialized CTEs instead of joins. Trust the search path unless sure you need to specify a schema.
Check available tables and columns before querying using steampipe_table_list and steampipe_table_show.
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL query to execute. Must use PostgreSQL syntax and be read-only. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key traits: queries are 'read-only,' must use 'PostgreSQL syntax,' and includes performance tips (limit columns, use CTEs, trust search path). This covers safety, syntax, and optimization, though it lacks details on error handling or output format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded, starting with the core purpose. Each sentence adds value: purpose, constraints, performance tips, and sibling tool references. There is no wasted text, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (querying multiple data sources) and lack of annotations/output schema, the description does a good job covering key aspects: purpose, constraints, performance, and sibling tool integration. However, it doesn't explain return values or error cases, leaving some gaps for a tool with no output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with the parameter 'sql' fully documented in the schema. The description adds minimal semantics beyond this, only reiterating that SQL must be 'read-only' and use 'PostgreSQL syntax,' which is already in the schema. This meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Query cloud infrastructure, SaaS, APIs, code and more with SQL.' It specifies the verb ('query') and resources, but doesn't explicitly differentiate from sibling tools like steampipe_table_list/show, which are mentioned for checking tables rather than querying. This makes it clear but not fully sibling-distinguished.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool vs alternatives: it instructs to 'Check available tables and columns before querying using steampipe_table_list and steampipe_table_show.' This clearly defines a usage sequence and distinguishes it from sibling tools, offering practical alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
steampipe_table_listB
List all available Steampipe tables. Use schema and filter parameters to narrow down results.
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Optional schema name to filter tables by. If not provided, lists tables from all schemas. | |
| filter | No | Optional filter pattern to match against table names. Use ILIKE syntax, including % as a wildcard. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions that the tool 'lists' tables, which implies a read-only operation, but doesn't specify whether this requires authentication, how results are returned (e.g., pagination, format), or any rate limits. The description adds minimal behavioral context beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise with just two sentences that are front-loaded and waste-free. The first sentence states the core purpose, and the second adds essential usage guidance, making every word earn its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (2 optional parameters, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and hints at parameter usage but lacks details on behavioral aspects like authentication, result format, or error handling, which would be helpful for an agent to use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description mentions that 'schema and filter parameters' can be used to 'narrow down results,' which adds some context about their purpose. However, with 100% schema description coverage, the input schema already fully documents both parameters, including their types, optionality, and usage details (e.g., ILIKE syntax for filter). The description provides only marginal value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('List all available Steampipe tables') and the resource ('Steampipe tables'), making the purpose immediately understandable. However, it doesn't explicitly differentiate this tool from its sibling 'steampipe_table_show' which likely shows details of a specific table rather than listing all tables.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides implied usage guidance by mentioning that schema and filter parameters can be used to 'narrow down results,' suggesting this tool is for listing tables with optional filtering. However, it doesn't explicitly state when to use this tool versus alternatives like 'steampipe_table_show' or 'steampipe_query,' nor does it provide exclusion criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
steampipe_table_showB
Get detailed information about a specific Steampipe table, including column definitions, data types, and descriptions.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the table to show details for. Can be schema qualified (e.g. 'aws_account' or 'aws.aws_account'). | |
| schema | No | Optional schema name. If provided, only searches in this schema. If not provided, searches across all schemas. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It describes the tool's function but lacks details on behavioral traits such as error handling (e.g., what happens if the table doesn't exist), performance characteristics, or output format. This is a significant gap for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that efficiently conveys the tool's purpose and scope without unnecessary words. It's front-loaded with the main action and resource, making it easy to understand at a glance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (2 parameters, no output schema, no annotations), the description is minimally adequate. It covers the purpose but lacks behavioral context and output details, which are important for a tool that retrieves metadata. Without annotations or output schema, more completeness would be beneficial.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents both parameters ('name' and 'schema') with clear descriptions. The description doesn't add any parameter-specific information beyond what's in the schema, such as examples or constraints. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get detailed information') and resource ('specific Steampipe table'), and specifies the scope of information returned ('including column definitions, data types, and descriptions'). It distinguishes from the sibling 'steampipe_table_list' by focusing on details for a single table rather than listing tables. However, it doesn't explicitly contrast with 'steampipe_query' which might also return table information through queries.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when detailed metadata about a specific table is needed, but doesn't provide explicit guidance on when to use this tool versus alternatives like 'steampipe_table_list' for listing tables or 'steampipe_query' for querying data. It mentions the resource type ('Steampipe table') but lacks context on prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
- First observed
steampipe_plugin_list - First observed
steampipe_plugin_show - First observed
steampipe_query - First observed
steampipe_table_list - First observed
steampipe_table_show
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose with no overlap: listing plugins vs. showing plugin details vs. executing queries vs. listing tables vs. showing table details. The descriptions reinforce these distinctions, making misselection unlikely.
All tools follow a consistent 'steampipe_' prefix with a clear verb_noun pattern (plugin_list, plugin_show, query, table_list, table_show). This uniformity makes the tool set predictable and easy to navigate.
Five tools is well-scoped for the server's purpose of interacting with Steampipe. It covers plugin management, query execution, and table metadata without being overly sparse or bloated, with each tool earning its place.
The tool set provides strong coverage for querying and exploring Steampipe data, including plugin and table metadata. A minor gap exists in lacking direct plugin installation or configuration management tools, but agents can work around this using existing query capabilities.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- mcpOAuthcom.vibgrate
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
- mcpOAuthcom.keboola
Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
Connects AI assistants to CloudQuell multi-cloud and AI cost, savings, anomaly, and budget data.
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Supabase projects, enabling them to manage tables, query data, deploy Edge Functions, handle migrations, and access project resources through natural language commands.Apache 2.0

tailpipe-mcpofficial
AlicenseNot gradedqualityDmaintenanceConnects AI assistants to cloud and SaaS logs via Tailpipe, enabling natural language querying and analysis of log data.167Apache 2.0- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query databases using natural language, with automatic schema discovery and SQL compilation.9953,162Apache 2.0
- AlicenseNot gradedqualityCmaintenanceConnects AI assistants to Turbot Guardrails for natural language exploration, analysis, and automation of cloud governance.154Apache 2.0