Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GIT_TOKEN | Yes | Personal Access Token (e.g., ghp_... for GitHub or glpat-... for GitLab) | |
| LOG_LEVEL | No | Log level: debug, info, warn, error | info |
| GIT_API_URL | No | API URL (auto-detected from provider). Use for GitHub Enterprise or Self-Hosted GitLab. | |
| GIT_PROVIDER | No | Provider type: gitlab or github | gitlab |
| GIT_AUTH_TYPE | No | Auth type: bearer or private-token | bearer |
| GIT_READ_ONLY | No | Disable write operations | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_file_contents | Get the contents of a file or directory from a repository |
| get_repository_tree | List files and directories in a repository. Use recursive=true to get full tree. |
| push_files | Push multiple files to a repository in a single commit. Supports create, update, delete, and move actions. |
| create_branch | Create a new branch in the repository. Use this before making code changes to work on a separate branch. |
| list_branches | List branches in a repository. Optionally search for specific branches. |
| list_commits | List commits in a repository. Filter by branch, path, date range, or author. |
| search_code | Search for code in a repository. Returns matching files and lines. |
| get_issue | Get details of a specific issue in a project |
| list_issues | List issues in a project with optional filters |
| create_issue | Create a new issue in a project |
| update_issue | Update an existing issue in a project |
| get_pull_request | Get details of a pull request (merge request in GitLab) |
| get_pull_request_diffs | Get the changes/diffs of a pull request to see what files were modified |
| list_pull_requests | List pull requests (merge requests in GitLab) with optional filters |
| create_pull_request | Create a new pull request (merge request in GitLab) |
| merge_pull_request | Merge a pull request (merge request in GitLab) |
| get_pipeline | Get details of a specific CI/CD pipeline (workflow run in GitHub) |
| list_pipelines | List CI/CD pipelines (workflow runs in GitHub) with optional filters |
| list_pipeline_jobs | List all jobs in a CI/CD pipeline to see results |
| get_job_log | Get the log/trace output of a CI/CD job |
| create_comment | Add a comment to an issue or pull request |
| list_comments | List all comments on an issue or pull request |
| get_me | Get information about the currently authenticated user. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |