Skip to main content
Glama

mcp-server-circleci

Official
mcpResponse.ts851 B
/** * Represents a basic text content block for MCP responses */ export type McpTextContent = { type: 'text'; text: string; }; /** * Type for MCP response content */ export type McpContent = McpTextContent; /** * Type for representing a successful MCP response */ export type McpSuccessResponse = { content: McpContent[]; isError?: false; }; /** * Type for representing an error MCP response */ export type McpErrorResponse = { content: McpContent[]; isError: true; }; /** * Creates an error MCP response with text content * @param text The error text content to include in the response * @returns A properly formatted MCP error response */ export function createErrorResponse(text: string): McpErrorResponse { return { isError: true, content: [ { type: 'text', text, }, ], }; }

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/CircleCI-Public/mcp-server-circleci'

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