Skip to main content
Glama
stakpak

Stakpak MCP Server

Official
by stakpak

Stakpak MCP Server

A MCP server that connects to Stakpak API.

Usage

Stakpak API Key

Before using the MCP server, you'll need to obtain a Stakpak API key. You can get your API key by:

  1. Visiting Stakpak's website

  2. Logging into your account

  3. Going to your profile and navigating to the API keys section

For detailed instructions, see the Stakpak API Key Management documentation.

Claude Desktop

  • To install in a project, add the MCP server to your claude_desktop_config.json:

{
  "mcpServers": {
    "stakpak": {
      "command": "npx",
      "args": ["@stakpak/mcp@latest", "--output=resource"],
      "env": {
        "STAKPAK_API_KEY": "<your-stakpak-api-key>"
      }
    }
  }
}

Cursor

  • To install in a project, add the MCP server to your .cursor/mcp.json:

{
  "mcpServers": {
    "stakpak": {
      "command": "npx",
      "args": ["@stakpak/mcp@latest STAKPAK_API_KEY=<YOUR_API_KEY>"]
    }
  }
}
  • To install globally, add this command to your Cursor settings:

npx @stakpak/mcp STAKPAK_API_KEY=<your-stakpak-api-key>

Windsurf

  • Add the MCP server to your ~/.codeium/windsurf/mcp_config.json file:

{
  "mcpServers": {
    "stakpak": {
      "command": "npx",
      "args": ["@stakpak/mcp@latest"],
      "env": {
        "STAKPAK_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Related MCP server: Stack AI MCP Server

Tools

This MCP server provides the following tools for interacting with the Vercel API:

Generation

  • generate_infrastructure_code - Generate infrastructure code for a project

Development

To set up the development environment:

  1. Clone the repository:

git clone https://github.com/stakpak/mcp.git
cd mcp
  1. Install dependencies:

bun install
  1. Build the project:

bun build
  1. Install the MCP server globally:

 npx @modelcontextprotocol/inspector node  <path-to-your-build-file> -e STAKPAK_API_KEY=<your-stakpak-api-key>
  1. Add the MCP server to your project:

IDE Integration

The MCP server can be integrated with various IDEs:

Cursor

Add the MCP server to your .cursor/mcp.json:

{
  "mcpServers": {
    "stakpak": {
      "command": "node",
      "args": [
        "<path-to-your-build-file> STAKPAK_API_KEY=<your-stakpak-api-key>"
      ]
    }
  }
}

Available Tools

1 tool
generate_infrastructure_codeB

Generates infrastructure code based on a natural language prompt and selected context

ParametersJSON Schema
NameRequiredDescriptionDefault
promptYesNatural language description of what infrastructure code to generate
provisionerYesTarget infrastructure platform to generate code for (e.g. Terraform for cloud resources, Kubernetes for container orchestration)
selected_contentNoArray of code selections to use as context for generation
resolve_validation_errorsNoWhether to attempt automatic fixes for any validation errors in the generated code

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure. It does not mention whether the tool modifies any state, what output is returned, or how the selected context is used. It only states the action without revealing side effects or constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence, front-loaded with the primary action and resource, with no wasted words. It is immediately understandable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has four parameters, including a complex selection array and a boolean flag, but the description does not explain expected behavior, output format, or how validation errors are handled. Given the absence of an output schema, the description is insufficient for full understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds the notion that a prompt and selected context work together, which is useful, but it does not enrich parameter semantics beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Generates') and resource ('infrastructure code'), and adds clarifying context ('based on a natural language prompt and selected context'). It clearly distinguishes the tool's function even without sibling tool names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives, prerequisites, or typical scenarios. The description is a bare statement of function, leaving the agent without context for when selection is appropriate.

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.

  1. 1 tool updatev0.0.3
    • First observedgenerate_infrastructure_code

TDQS

B3.4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap. The tool's purpose is clearly defined and distinct.

Naming Consistency5/5

The single tool name follows a clear verb_noun pattern (generate_infrastructure_code), and there are no other tools to cause inconsistency.

Tool Count3/5

One tool feels thin for a server, but it is not extreme. The tool serves a specific function, making the count borderline rather than clearly inappropriate.

Completeness2/5

The tool only covers generation, missing complementary operations such as validation, listing existing code, or managing contexts. This leaves significant gaps in the expected workflow.

Maintenance

ActivityStale
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers