Skip to main content
Glama
after-self-promise.test.js317 B
'use strict' const { test } = require('tap') const boot = require('..') test('after does not await itself', async (t) => { t.plan(3) const app = {} boot(app) app.use(async (app) => { t.pass('plugin init') }) app.after(() => app) t.pass('reachable') await app.ready() t.pass('reachable') })

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