Skip to main content
Glama

CODING DevOps MCP Server

environment.ts776 B
import { env } from 'process'; import { ConfigurationError } from '../errors.js'; export interface CodingDevOpsConfig { token: string; apiUrl: string; workingDirectory?: string; } function validateConfigValue(value: string | undefined, name: string): string { if (!value || value.trim() === '') { throw new ConfigurationError( `${name} is required and must be provided either through environment variables or constructor options` ); } return value.trim(); } export function createConfig(options?: Partial<CodingDevOpsConfig>): CodingDevOpsConfig { const TOKEN = validateConfigValue( options?.token ?? env.CODING_TOKEN, 'Personal Access Token (token)' ); return { token: TOKEN, apiUrl: `https://e.coding.net/open-api`, }; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yupengfei1209/coding_devops_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server