Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
inspectOCaml.test.ts943 B
import { describe, it, expect } from "@jest/globals" import { inspectTreeStructure, testParseSourceCodeDefinitions } from "./helpers" import { ocamlQuery } from "../queries" import { sampleOCaml } from "./fixtures/sample-ocaml" describe("inspectOCaml", () => { const testOptions = { language: "ocaml", wasmFile: "tree-sitter-ocaml.wasm", queryString: ocamlQuery, extKey: "ml", } it("should inspect OCaml tree structure", async () => { const result = await inspectTreeStructure(sampleOCaml, "ocaml") expect(result).toBeDefined() expect(result.length).toBeGreaterThan(0) }) it("should parse OCaml definitions", async () => { const result = await testParseSourceCodeDefinitions("test.ml", sampleOCaml, testOptions) expect(result).toBeDefined() expect(result).toMatch(/\d+--\d+ \| module StringSet/) expect(result).toMatch(/\d+--\d+ \| type shape/) expect(result).toMatch(/\d+--\d+ \| let rec process_list/) }) })

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/anrgct/autodev-codebase'

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