Skip to main content
Glama

Cursor Reviewer MCP

by kodaimaehata
extractJsonString.test.ts326 B
import { describe, it } from 'node:test'; import assert from 'node:assert/strict'; import { extractJsonString } from '../src/review.js'; describe('extractJsonString', () => { it('extracts json within fences', () => { const text = '```json\n{"a":1}\n```'; assert.equal(extractJsonString(text), '{"a":1}'); }); });

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/kodaimaehata/reviewer-mcp'

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