Skip to main content
Glama

mcp-server-circleci

Official
getWorkflowIdFromURL.test.ts679 B
import { describe, it, expect } from 'vitest'; import { getWorkflowIdFromURL } from './getWorkflowIdFromURL.js'; describe('getWorkflowIdFromURL', () => { it('should return the workflow ID from a workflow URL', () => { const url = 'https://app.circleci.com/pipelines/gh/organization/project/1/workflows/123-abc'; const result = getWorkflowIdFromURL(url); expect(result).toBe('123-abc'); }); it('should return the workflow ID from a job URL', () => { const url = 'https://app.circleci.com/pipelines/gh/organization/project/1/workflows/123-abc/jobs/456'; const result = getWorkflowIdFromURL(url); expect(result).toBe('123-abc'); }); });

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