Exposes a self-hosted AppCrane instance's deploy and ops tools so agents can deploy apps, manage secrets, read logs and roll back on your own server.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add appcrane --env APPCRANE_KEY='<APPCRANE_KEY>' --env APPCRANE_GITHUB_TOKEN='<APPCRANE_GITHUB_TOKEN>' -- npx -y appcrane-mcp~/.codex/config.toml
[mcp_servers.appcrane]
command = "npx"
args = ["-y", "appcrane-mcp"]
env = { APPCRANE_KEY = "<APPCRANE_KEY>", APPCRANE_GITHUB_TOKEN = "<APPCRANE_GITHUB_TOKEN>" }
# codex mcp add appcrane --env APPCRANE_KEY='<APPCRANE_KEY>' --env APPCRANE_GITHUB_TOKEN='<APPCRANE_GITHUB_TOKEN>' -- npx -y appcrane-mcp~/.cursor/mcp.json
{
"mcpServers": {
"appcrane": {
"command": "npx",
"args": [
"-y",
"appcrane-mcp"
],
"env": {
"APPCRANE_KEY": "<APPCRANE_KEY>",
"APPCRANE_GITHUB_TOKEN": "<APPCRANE_GITHUB_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"appcrane": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"appcrane-mcp"
],
"env": {
"APPCRANE_KEY": "<APPCRANE_KEY>",
"APPCRANE_GITHUB_TOKEN": "<APPCRANE_GITHUB_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"appcrane": {
"command": "npx",
"args": [
"-y",
"appcrane-mcp"
],
"env": {
"APPCRANE_KEY": "<APPCRANE_KEY>",
"APPCRANE_GITHUB_TOKEN": "<APPCRANE_GITHUB_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"appcrane": {
"command": "npx",
"args": [
"-y",
"appcrane-mcp"
],
"env": {
"APPCRANE_KEY": "<APPCRANE_KEY>",
"APPCRANE_GITHUB_TOKEN": "<APPCRANE_GITHUB_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"appcrane": {
"command": "npx",
"args": [
"-y",
"appcrane-mcp"
],
"env": {
"APPCRANE_KEY": "<APPCRANE_KEY>",
"APPCRANE_GITHUB_TOKEN": "<APPCRANE_GITHUB_TOKEN>"
}
}
}
}Environment variables
APPCRANE_KEYAPPCRANE_GITHUB_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.