Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
options.test.ts576 B
import { describe, expect, it } from 'vitest' import { ExtendedSpanOptions, normalizeSpanOptions } from './options' describe('normalizeSpanOptions', () => { it('converts string to options object', () => { const result = normalizeSpanOptions('test-span') expect(result).toEqual({ name: 'test-span' }) }) it('passes through options object', () => { const options: ExtendedSpanOptions = { name: 'test-span', attributes: { 'test.attr': 'value' }, } const result = normalizeSpanOptions(options) expect(result).toEqual(options) }) })

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/prisma/prisma'

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