# MCP Server

MCP Server for interacting, editing and generating code for Terraform, Kubernetes, GithubActions and Dockerfile.<br>

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](https://stakpak.dev/)
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](https://stakpak.gitbook.io/docs/api/manage-api-keys).<br>

Link to MCP Server:\
<https://github.com/stakpak/mcp>\
For supported AI Models and IDEs check [mcp server readme](https://github.com/stakpak/mcp)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stakpak.gitbook.io/docs/api/mcp-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
