mcp-server
by stacklet
Overview
The Stacklet MCP Server integrates LLMs with cloud governance and analytics by exposing tools for AssetDB SQL queries, Platform GraphQL operations, and comprehensive documentation access.
Installation
stacklet-mcp runEnvironment Variables
- STACKLET_ENDPOINT
- STACKLET_ACCESS_TOKEN
- STACKLET_IDENTITY_TOKEN
- STACKLET_MCP_DOWNLOADS_PATH
- STACKLET_MCP_ASSETDB_DATASOURCE
- STACKLET_MCP_ASSETDB_ALLOW_SAVE
- STACKLET_MCP_ASSETDB_ALLOW_ARCHIVE
- STACKLET_MCP_PLATFORM_ALLOW_MUTATIONS
Security Notes
The server can access confidential data. It directly executes LLM-generated SQL queries via `assetdb_sql_query`, which poses a high risk of SQL injection, especially with 'text' parameters that use template substitution rather than prepared statements. By default, write operations (saving queries, archiving queries, executing GraphQL mutations) are disabled, significantly reducing risk. However, enabling `_ALLOW_` environment variables grants the LLM the same powers as the authenticated user, allowing potentially destructive or data-modifying actions. Full query results are saved locally, potentially exposing sensitive data. There are no hardcoded secrets or 'eval' usage observed. Proper authentication via `stacklet-admin login` is required, and permissions are inherited from the authenticated user. The `json_guard` decorator is used to prevent accidental JSON encoding issues from LLMs, but does not prevent malicious input.
Similar Servers
logfire-mcp
Enables LLMs to retrieve and analyze application telemetry data (OpenTelemetry traces and metrics) from Pydantic Logfire, including executing arbitrary SQL queries.
DBchat
Transforms a database into an intelligent conversational partner, enabling natural language queries, instant answers, and data visualizations via MCP clients.
mcp-server-datahub
Enables AI agents to interact with DataHub for comprehensive data discovery, governance, lineage exploration, and SQL query generation across an organization's data ecosystem.
sqlite-mcp
A Model Context Protocol (MCP) server that enables LLMs to interact with SQLite databases by providing tools and resources for querying and managing data.