Skip to main content
Glama

Convex MCP server

Official
by get-convex
ReadonlyCode.stories.tsx1.12 kB
import { Meta, StoryObj } from "@storybook/nextjs"; import { ReadonlyCode } from "@common/elements/ReadonlyCode"; const meta = { component: ReadonlyCode, args: { language: "javascript", path: "example.js", }, render: (args) => ( <div style={{ height: "100vh", background: "#eee" }}> <ReadonlyCode {...args} /> </div> ), } satisfies Meta<typeof ReadonlyCode>; export default meta; type Story = StoryObj<typeof meta>; export const ParentHeight: Story = { args: { code: 'console.log("Hello World");', }, }; export const ContentHeight: Story = { args: { language: "python", code: 'for i in range(10):\n\tprint("Hello world")', path: "example.py", height: { type: "content" }, }, }; export const ContentHeightWithMax: Story = { args: { code: 'console.log("Hello World");\n'.repeat(100), height: { type: "content", maxHeightRem: 20, }, }, }; export const HighlightLines: Story = { args: { code: 'console.log("Hello World");\n'.repeat(100), highlightLines: { startLineNumber: 10, endLineNumber: 20, }, }, };

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