Skip to main content
Glama

Convex MCP server

Official
by get-convex
main.py422 B
import os from convex import ConvexClient from dotenv import load_dotenv load_dotenv(".env.local") CONVEX_URL = os.getenv("CONVEX_URL") # or you can hardcode your deployment URL instead # CONVEX_URL = "https://happy-otter-123.convex.cloud" client = ConvexClient(CONVEX_URL) print(client.query("tasks:get")) for tasks in client.subscribe("tasks:get"): print(tasks) # this loop lasts forever, ctrl-c to exit it

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