Skip to main content
Glama
by xxczaki
server.test.ts626 B
import assert from 'node:assert'; import { beforeEach, describe, it } from 'node:test'; import { LocalHistoryMCPServer } from '../src/index.ts'; describe('LocalHistoryMCPServer', () => { let server: LocalHistoryMCPServer; beforeEach(() => { server = new LocalHistoryMCPServer(); }); describe('Server initialization', () => { it('should create server instance', () => { assert(server instanceof LocalHistoryMCPServer); assert.strictEqual(typeof server.run, 'function'); }); }); describe('Tool definitions', () => { it('should provide required MCP tools', async () => { assert(server); }); }); });

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/xxczaki/local-history-mcp'

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