Skip to main content
Glama

Convex MCP server

Official
by get-convex
UsageBarChart.stories.tsx1.64 kB
import { Meta, StoryObj } from "@storybook/nextjs"; import { DailyMetric } from "hooks/usageMetrics"; import { Sheet } from "@ui/Sheet"; import { UsageBarChart } from "./UsageBarChart"; const meta = { component: UsageBarChart, args: { entity: "documents", }, render: (args) => ( <Sheet> <h3 className="mb-4">Chart</h3> <UsageBarChart {...args} /> </Sheet> ), } satisfies Meta<typeof UsageBarChart>; export default meta; type Story = StoryObj<typeof meta>; const rows: DailyMetric[] = [...Array(31).keys()].map((dayIndex) => ({ ds: `2023-07-${(dayIndex + 1).toString().padStart(2, "0")}`, value: dayIndex === 1 ? 0 : (dayIndex + 5) * 100_000, })); export const Standard: Story = { args: { rows: rows.slice(0, 15), }, }; export const FullMonth: Story = { args: { rows, }, }; export const FewDays: Story = { args: { rows: rows.slice(0, 3), }, }; export const HighValuesOnly: Story = { args: { rows: [ { ds: "2023-06-22", value: 250 }, { ds: "2023-06-23", value: 300 }, ], }, }; export const SingleEntry: Story = { args: { rows: rows.slice(0, 1), }, }; export const Empty: Story = { args: { rows: [], }, }; export const MissingEntries: Story = { args: { rows: [...rows.slice(20, 30), ...rows.slice(0, 10)], }, }; export const Storage: Story = { args: { rows: rows.map((row) => ({ ...row, value: row.value * 100 })), quantityType: "storage", }, }; export const ActionCompute: Story = { args: { rows: rows.map((row) => ({ ...row, value: row.value * 100 })), quantityType: "actionCompute", }, };

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