Skip to main content
Glama
find.test.js398 B
'use strict' const { test } = require('node:test') const FindMyWay = require('..') test('find calls can pass no constraints', t => { t.plan(3) const findMyWay = FindMyWay() findMyWay.on('GET', '/a', () => {}) findMyWay.on('GET', '/a/b', () => {}) t.assert.ok(findMyWay.find('GET', '/a')) t.assert.ok(findMyWay.find('GET', '/a/b')) t.assert.ok(!findMyWay.find('GET', '/a/b/c')) })

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/krtw00/search-mcp'

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