A MCP server that connects to Stakpak API.
Before using the MCP server, you'll need to obtain a Stakpak API key. You can get your API key by:
- Visiting Stakpak's website
- Logging into your account
- Going to your profile and navigating to the API keys section
For detailed instructions, see the Stakpak API Key Management documentation.
- 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>"
}
}
}
}
- 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>
- 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"
}
}
}
}
This MCP server provides the following tools for interacting with the Vercel API:
generate_infrastructure_code
- Generate infrastructure code for a project
To set up the development environment:
- Clone the repository:
git clone https://github.com/stakpak/mcp.git
cd mcp
- Install dependencies:
bun install
- Build the project:
bun build
- Install the MCP server globally:
npx @modelcontextprotocol/inspector node <path-to-your-build-file> -e STAKPAK_API_KEY=<your-stakpak-api-key>
- Add the MCP server to your project:
The MCP server can be integrated with various IDEs:
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>"
]
}
}
}