Stakpak MCP Server
@stakpak
Lightweight MCP server to give you access to the Stakpak API.
Overview
What is Stakpak MCP Server?
Stakpak MCP Server is an MCP server that connects to the Stakpak API to generate infrastructure code for projects. It is intended for developers using AI assistants to provision infrastructure.
How to use Stakpak MCP Server?
Obtain a Stakpak API key from your account on Stakpak’s website. Install the server via npx @stakpak/mcp@latest and set the STAKPAK_API_KEY environment variable. Configuration examples are provided for Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json or global command), and Windsurf (mcp_config.json). The server exposes one tool: generate_infrastructure_code.
Key features of Stakpak MCP Server
- Connects directly to the Stakpak API.
- Generates infrastructure code for projects.
- Installable via npx with zero configuration.
- Supports Claude Desktop, Cursor, and Windsurf.
- Requires only a Stakpak API key for authentication.
Use cases of Stakpak MCP Server
- Automatically generate infrastructure code when describing a project to an AI assistant.
- Provision cloud resources through natural language interactions in compatible IDEs.
FAQ from Stakpak MCP Server
How do I get a Stakpak API key?
Visit Stakpak’s website, log into your account, go to your profile, and navigate to the API keys section. Full instructions are at the Stakpak API Key Management documentation.
What tool does the server provide?
The server provides one tool: generate_infrastructure_code, which generates infrastructure code for a project.
How do I configure the server for Claude Desktop?
Add the server to your claude_desktop_config.json with command npx, args ["@stakpak/mcp@latest", "--output=resource"], and environment variable STAKPAK_API_KEY.
How do I configure the server for Cursor?
Add it to .cursor/mcp.json with command npx and args including the API key, or use a global Cursor command: npx @stakpak/mcp STAKPAK_API_KEY=<your-key>.
Is there any runtime dependency or local installation required?
The server runs via npx (Node.js). No local installation is needed; you only need the API key and a compatible MCP client (Claude Desktop, Cursor, or Windsurf).

