Skip to main content
Glama
projects.test.js532 B
import assert from 'node:assert/strict'; import { describe, it } from 'node:test'; import esmock from 'esmock'; describe('projects', () => { describe('generateProjectId', () => { it('should generate a project id in the correct format', async () => { const { generateProjectId } = await esmock( '../../../lib/cloud-api/projects.js', {} ); const projectId = generateProjectId(); assert.ok(projectId.startsWith('mcp-')); assert.strictEqual(projectId.length, 11); }); }); });

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/GoogleCloudPlatform/cloud-run-mcp'

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