ids-enterprise-mcp-server
Version:
Model Context Protocol (MCP) server providing comprehensive IDS Enterprise Web Components documentation access via GitLab API. Use with npx and GitLab token for instant access.
30 lines • 925 B
TypeScript
/**
* GitLab API service for accessing IDS Enterprise Web Components repository
*/
import { ServerConfig, GitLabTreeItem } from '../types/index.js';
export declare class GitLabService {
private api;
private config;
constructor(config: ServerConfig);
/**
* Test GitLab connection
*/
testConnection(): Promise<void>;
/**
* Get GitLab URL for a file
*/
getGitLabUrl(filePath: string, projectId?: string): string;
/**
* Get GitLab tree URL
*/
getGitLabTreeUrl(path: string, projectId?: string): string;
/**
* Get repository tree (files and directories) with pagination support
*/
getTree(path: string, recursive?: boolean, projectId?: string): Promise<GitLabTreeItem[]>;
/**
* Get file content from GitLab
*/
getFileContent(filePath: string, projectId?: string): Promise<string | null>;
}
//# sourceMappingURL=gitlab.d.ts.map