Back to Home
stacklet icon

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

Run Command
stacklet-mcp run

Environment 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

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2026-01-14

Tags

Cloud GovernanceLLM IntegrationSQL QueryingGraphQL APICloud Security