Skip to main content
Glama
maps.ts587 B
import { action, query, mutation } from "./_generated/server"; export const createMap = mutation({ args: {}, handler: async ({ db }) => { return await db.insert("maps", { map: new Map([["n", "m"]]) }); }, }); export const listValues = query({ args: {}, handler: async () => { return new Map(); }, }); export const mutationReturningMap = mutation({ args: {}, handler: async () => { return new Map([["key", "value"]]); }, }); export const actionReturningMap = action({ args: {}, handler: async () => { return new Map([["key", "value"]]); }, });

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

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