Skip to main content
Glama
Atomic-Germ

MCP Ollama Consult Server

registerMcpToolsWhitelist.test.ts570 B
import { describe, it, expect } from 'vitest'; import { registerMcpTools } from '../src/mcpToolRegistrar'; describe('registerMcpTools whitelist behavior', () => { it('only registers allowed tools based on MCP_ALLOWED_TOOLS env var', async () => { const old = process.env.MCP_ALLOWED_TOOLS; process.env.MCP_ALLOWED_TOOLS = 'consult_ollama'; const names = await registerMcpTools(false); expect(names).toEqual(['consult_ollama']); if (old === undefined) delete process.env.MCP_ALLOWED_TOOLS; else process.env.MCP_ALLOWED_TOOLS = old; }); });

Latest Blog Posts

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/Atomic-Germ/mcp-consult'

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