GitKraken MCP Server CLI for GitHub, GitLab, Jira
Manage repos and issues with the GitKraken CLI MCP server that wraps GitKraken, GitHub, GitLab, and Jira APIs for streamlined workflows.
npx -y @gitkraken/gk-cli?tab=readme-ov-file#mcp-serverOverview
The GitKraken MCP Server is a lightweight local service that exposes a unified, tool-oriented API around GitKraken, GitHub, GitLab, and Jira. It implements the Model Context Protocol (MCP) pattern—providing a consistent interface that language models, automation scripts, or other tooling can call to perform repository and issue operations across multiple platforms. That makes it easier to integrate conversational agents or developer automation with real-world developer tools without wiring up each provider individually.
The MCP server is useful for developers who want to automate common workflows (create issues, open pull requests, search repos, run repository-scoped commands) or expose these operations to assistant agents safely. It centralizes authentication, rate-limiting, and error handling so your automation layer can focus on intent and orchestration rather than provider-specific API details.
Features
- Unified tool endpoints for GitHub, GitLab, Jira and GitKraken APIs
- Authentication management via environment variables or .env files
- Repository operations: list, clone metadata, branch, commit and PR/merge requests
- Issue tracking: create, update, comment, link across systems
- Search and discovery across multiple providers
- Lightweight CLI to run and manage the MCP server locally
- Extensible tool model: add custom adapters or command runners
- Designed to be used by LLM-based agents or other automation systems
Installation / Configuration
Prerequisites: Node.js (16+) or any environment supported by the project; Docker is optional.
- Clone the repository and install dependencies
# install with npm or yarn
# or
- Build and run locally
# build (if project has a build step)
# start the MCP server (example CLI subcommand)
# or if the project publishes a binary/CLI named `gk`
# ./bin/gk mcp-server start
- Configure authentication
Create a .env file in the project root (or export env vars) to provide tokens for the services you want to expose:
# GitHub
GITHUB_TOKEN=ghp_...
# GitLab
GITLAB_TOKEN=glpat-...
# Jira (cloud basic auth or API token)
[email protected]
JIRA_TOKEN=xxxxxxx
JIRA_BASE_URL=https://your-domain.atlassian.net
# Optional GitKraken personal token
GK_TOKEN=...
# Server configuration
MCP_PORT=3333
- Run with Docker (optional)
# build a container image (example)
# run exposing port 3333
Default port: 3333 (configurable via MCP_PORT or CLI flags).
Available Tools / Resources
The MCP server presents tools that map to common operations. Typical tools provided:
| Tool | Purpose |
|---|---|
| github.repos | List/inspect GitHub repositories |
| github.issues | Create/update/comment on GitHub issues |
| github.pulls | Create/update pull requests |
| gitlab.repos | List/inspect GitLab repositories |
| gitlab.issues | Create/update GitLab issues |
| jira.issues | Create/update Jira issues and transitions |
|