Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TIMEOUT | No | Request timeout in milliseconds | 30000 |
| API_TOKEN | Yes | Your GitHub or GitLab API token | |
| MAX_RETRIES | No | Maximum number of retry attempts | 3 |
| API_BASE_URL | Yes | The base URL for the API (e.g., https://api.github.com for GitHub or https://gitlab.com/api/v4 for GitLab) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch_pull_request | Fetch pull request details from GitHub/GitLab |
| fetch_code_diff | Fetch code diff for a pull request or commit |
| add_review_comment | Add a review comment to a pull request |
| analyze_code_quality | Analyze code quality and provide suggestions with detailed metrics |
| get_supported_languages | Get list of supported programming languages for code analysis |
| get_language_rules | Get available analysis rules for a specific language |
| get_repository_info | Get repository information |
| analyze_files_batch | Analyze multiple files for code quality issues |
| get_pull_request_files | Get list of files changed in a pull request or merge request |
| get_merge_request_changes | Get merge request changes (GitLab compatibility alias) |
| get_server_config | Get current server configuration |
| get_merge_request | Get information about a specific GitLab merge request |
| create_merge_request | Create a new GitLab merge request from a source branch |
| get_current_branch | Get current Git branch and repository information |
| get_project_info | Get current GitLab project information from Git remotes |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |