# Stakpak MCP
> Stakpak's standalone local MCP server connects an AI client to Stakpak's API for infrastructure code generation. Official Stakpak docs describe generation and editing for Terraform, Kubernetes, GitHub Actions, and Dockerfile configurations.
Canonical: https://www.mcpfolio.com/servers/stakpak-mcp-server
Last updated: 2026-10-28
## Catalog record

- Publisher: Stakpak
- Categories: development, productivity, version-control, cloud-service

## Website

https://stakpak.dev/

## Repository

https://github.com/stakpak/mcp

## Authentication

Requires a Stakpak API key (STAKPAK_API_KEY), created after signing in to a Stakpak account. Store it in the client's local environment configuration; do not put it in a shared project file.

## Tools

- **generate_infrastructure_code**: Generate infrastructure code for a project. Stakpak documentation says the integration supports Terraform, Kubernetes, GitHub Actions, and Dockerfile configurations.

## Sources

- [publisher_repository](https://github.com/stakpak/mcp)
- [publisher_documentation](https://stakpak.gitbook.io/docs/api/mcp-server)
- [publisher_documentation](https://stakpak.gitbook.io/docs/api/manage-api-keys)
- [package_registry](https://app.unpkg.com/@stakpak/mcp@0.0.4)
- [official_cli_repository](https://github.com/stakpak/agent)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/stakpak-mcp-server) to view instructions for each supported client.