Skip to main content
Glama
portel-dev

NCP - Natural Context Provider

by portel-dev
quick-coverage.test.ts570 B
import { describe, it, expect } from "@jest/globals"; import { MCPHealthMonitor } from "../src/utils/health-monitor.js"; describe("Quick Coverage Boost", () => { it("should trigger auto-disable warning", () => { const monitor = new MCPHealthMonitor(); // Trigger 3+ errors to hit line 352 monitor.markUnhealthy("autodisable", "Error 1"); monitor.markUnhealthy("autodisable", "Error 2"); monitor.markUnhealthy("autodisable", "Error 3"); const health = monitor.getMCPHealth("autodisable"); expect(health?.status).toBe("disabled"); }); });

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/portel-dev/ncp'

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