Skip to main content
Glama

Convex MCP server

Official
by get-convex
tour2App.tsx549 B
import { useMutation, useQuery } from "convex/react"; import { api } from "../convex/_generated/api"; const NAME = "Foo"; export function App() { const likeMessage = useMutation(api.messages.like); const message = useQuery(api.messages.list, { channel: "foo" })?.[0]; return ( // @snippet start button <p> {message.body} <button onClick={async () => { await likeMessage({ liker: NAME, messageId: message._id }); }} > 🤍 </button> </p> // @snippet end button ); }

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