# Embedded MCP Servers

> Embed the StackQL MCP server directly in compiled applications across Go, Rust, Swift, and Kotlin

Source: https://stackql.io/mcp/embedded

StackQL's MCP server can be embedded directly in compiled applications - no `npx`, no separate install, no runtime dependency. The signed binary is downloaded and verified on first run (sidecar mode) or vendored into your app binary for a single self-contained executable.

All four libraries share one contract: `read_only` mode by default, a cwd-independent launch, a shared binary cache at `~/.stackql/mcp-server-bin/`, and the same four platform targets (`linux-x64`, `linux-arm64`, `windows-x64`, `darwin-universal`).

## Common contract

- Default `read_only` mode, with explicit opt-in to `safe`, `delete_safe`, or `full_access`.
- The binary is Apple-notarised on macOS and Authenticode-signed on Windows.
- sha256 pins are published per release.
- mcp-name `io.github.stackql/stackql-mcp` on the Official MCP Registry.

See the [MCP tools reference](/mcp) and the [install vectors](/installing-stackql).
