Skip to main content
Glama

Context Continuation MCP Server

by core3-coder
setup.ts723 B
// Mock external dependencies that have ES module issues jest.mock('@modelcontextprotocol/sdk/server/index.js', () => ({ Server: jest.fn().mockImplementation(() => ({ setRequestHandler: jest.fn(), connect: jest.fn(), })), })); jest.mock('@modelcontextprotocol/sdk/server/stdio.js', () => ({ StdioServerTransport: jest.fn(), })); jest.mock('@modelcontextprotocol/sdk/types.js', () => ({ CallToolRequestSchema: 'CallToolRequestSchema', ListToolsRequestSchema: 'ListToolsRequestSchema', })); // Mock tiktoken since it might cause issues in tests jest.mock('tiktoken', () => ({ encoding_for_model: jest.fn(() => ({ encode: jest.fn((text: string) => new Array(Math.ceil(text.length / 4))), })), }));

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/core3-coder/context-continue-mcp'

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