Compare commits
1 Commits
v1.0.54
...
feat/multi
Author | SHA1 | Date | |
---|---|---|---|
3613596cd7 |
17
CHANGELOG.md
17
CHANGELOG.md
@ -1,20 +1,3 @@
|
|||||||
## [1.0.54] - 2025-05-31
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- 🌐 **Multi-Platform Support**: Added support for multiple platforms to improve compatibility across different environments
|
|
||||||
- Enhanced platform detection and configuration handling
|
|
||||||
- Improved cross-platform functionality for GitLab MCP server
|
|
||||||
- See: [PR #71](https://github.com/zereight/gitlab-mcp/pull/71), [Issue #69](https://github.com/zereight/gitlab-mcp/issues/69)
|
|
||||||
|
|
||||||
- 🔐 **Custom SSL Configuration**: Added custom SSL options for enhanced security and flexibility
|
|
||||||
- Support for custom SSL certificates and configurations
|
|
||||||
- Improved HTTPS connection handling with custom SSL settings
|
|
||||||
- Better support for self-signed certificates and custom CA configurations
|
|
||||||
- See: [PR #72](https://github.com/zereight/gitlab-mcp/pull/72), [Issue #70](https://github.com/zereight/gitlab-mcp/issues/70)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## [1.0.48] - 2025-05-29
|
## [1.0.48] - 2025-05-29
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
15
index.ts
15
index.ts
@ -16,7 +16,6 @@ import fs from "fs";
|
|||||||
import path from "path";
|
import path from "path";
|
||||||
// Add type imports for proxy agents
|
// Add type imports for proxy agents
|
||||||
import { Agent } from "http";
|
import { Agent } from "http";
|
||||||
import { Agent as HttpsAgent } from 'https';
|
|
||||||
import { URL } from "url";
|
import { URL } from "url";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -198,16 +197,6 @@ const USE_PIPELINE = process.env.USE_PIPELINE === "true";
|
|||||||
// Add proxy configuration
|
// Add proxy configuration
|
||||||
const HTTP_PROXY = process.env.HTTP_PROXY;
|
const HTTP_PROXY = process.env.HTTP_PROXY;
|
||||||
const HTTPS_PROXY = process.env.HTTPS_PROXY;
|
const HTTPS_PROXY = process.env.HTTPS_PROXY;
|
||||||
const NODE_TLS_REJECT_UNAUTHORIZED = process.env.NODE_TLS_REJECT_UNAUTHORIZED;
|
|
||||||
const GITLAB_CA_CERT_PATH = process.env.GITLAB_CA_CERT_PATH;
|
|
||||||
|
|
||||||
let sslOptions= undefined;
|
|
||||||
if (NODE_TLS_REJECT_UNAUTHORIZED === '0') {
|
|
||||||
sslOptions = { rejectUnauthorized: false };
|
|
||||||
} else if (GITLAB_CA_CERT_PATH) {
|
|
||||||
const ca = fs.readFileSync(GITLAB_CA_CERT_PATH);
|
|
||||||
sslOptions = { ca };
|
|
||||||
}
|
|
||||||
|
|
||||||
// Configure proxy agents if proxies are set
|
// Configure proxy agents if proxies are set
|
||||||
let httpAgent: Agent | undefined = undefined;
|
let httpAgent: Agent | undefined = undefined;
|
||||||
@ -224,11 +213,9 @@ if (HTTPS_PROXY) {
|
|||||||
if (HTTPS_PROXY.startsWith("socks")) {
|
if (HTTPS_PROXY.startsWith("socks")) {
|
||||||
httpsAgent = new SocksProxyAgent(HTTPS_PROXY);
|
httpsAgent = new SocksProxyAgent(HTTPS_PROXY);
|
||||||
} else {
|
} else {
|
||||||
httpsAgent = new HttpsProxyAgent(HTTPS_PROXY, sslOptions);
|
httpsAgent = new HttpsProxyAgent(HTTPS_PROXY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
httpsAgent = httpsAgent || new HttpsAgent(sslOptions);
|
|
||||||
httpAgent = httpAgent || new Agent();
|
|
||||||
|
|
||||||
// Modify DEFAULT_HEADERS to include agent configuration
|
// Modify DEFAULT_HEADERS to include agent configuration
|
||||||
const DEFAULT_HEADERS = {
|
const DEFAULT_HEADERS = {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@zereight/mcp-gitlab",
|
"name": "@zereight/mcp-gitlab",
|
||||||
"version": "1.0.54",
|
"version": "1.0.53",
|
||||||
"description": "MCP server for using the GitLab API",
|
"description": "MCP server for using the GitLab API",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zereight",
|
"author": "zereight",
|
||||||
|
5
release-notes.md
Normal file
5
release-notes.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
### 1.0.40 (2025-05-21)
|
||||||
|
|
||||||
|
- Added support for listing discussions (comments/notes) on GitLab issues.
|
||||||
|
- Example: You can now easily fetch all conversations (comments) attached to an issue via the API.
|
||||||
|
- Related PR: [#44](https://github.com/zereight/gitlab-mcp/pull/44)
|
Reference in New Issue
Block a user