An MCP server that gives coding agents instant insight into any Git repository — no guessing, no hallucination.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add instagit --env INSTAGIT_API_KEY='<INSTAGIT_API_KEY>' -- npx -y instagit~/.codex/config.toml
[mcp_servers.instagit]
command = "npx"
args = ["-y", "instagit"]
env = { INSTAGIT_API_KEY = "<INSTAGIT_API_KEY>" }
# codex mcp add instagit --env INSTAGIT_API_KEY='<INSTAGIT_API_KEY>' -- npx -y instagit~/.cursor/mcp.json
{
"mcpServers": {
"instagit": {
"command": "npx",
"args": [
"-y",
"instagit"
],
"env": {
"INSTAGIT_API_KEY": "<INSTAGIT_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"instagit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"instagit"
],
"env": {
"INSTAGIT_API_KEY": "<INSTAGIT_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"instagit": {
"command": "npx",
"args": [
"-y",
"instagit"
],
"env": {
"INSTAGIT_API_KEY": "<INSTAGIT_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"instagit": {
"command": "npx",
"args": [
"-y",
"instagit"
],
"env": {
"INSTAGIT_API_KEY": "<INSTAGIT_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"instagit": {
"command": "npx",
"args": [
"-y",
"instagit"
],
"env": {
"INSTAGIT_API_KEY": "<INSTAGIT_API_KEY>"
}
}
}
}Environment variables
INSTAGIT_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.