Skip to main content
Glama

MCPMan

by semistrict
test-fixtures.ts611 B
import { test as base } from 'vitest'; import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import { createTestClient } from './test-setup.js'; type TestFixtures = { client: Client; }; export const test = base.extend<TestFixtures>({ client: async ({}, use) => { // Create fresh client for each test const testSetup = await createTestClient('mcpman-test-client'); const client = testSetup.client; // Provide client to test await use(client); // Clean up after test await client.close(); }, }); export { expect, describe, beforeAll, afterAll } from 'vitest';

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/semistrict/mcpman'

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