Skip to main content
Glama

Convex MCP server

Official
by get-convex
index.test.ts495 B
import { decodeId } from "./index.js"; import { describe, expect, test } from "@jest/globals"; describe("Id encoding tests", () => { test("Document ID stability", () => { const parsedId = decodeId("z43zp6c3e75gkmz1kfwj6mbbx5sw281h"); const expected = Array(16).fill(251); for (let i = 1; i < 16; i++) { expected[i] = (expected[i - 1] * 251) % 256; } expect([...parsedId.internalId.values()]).toEqual(expected); expect(parsedId.tableNumber).toBe(1017); }); });

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/get-convex/convex-backend'

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