Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
inspectC.test.ts812 B
import { describe, it } from "@jest/globals" import { inspectTreeStructure, testParseSourceCodeDefinitions } from "./helpers" import { cQuery } from "../queries" import sampleCContent from "./fixtures/sample-c" describe("inspectC", () => { const testOptions = { language: "c", wasmFile: "tree-sitter-c.wasm", queryString: cQuery, extKey: "c", } it("should inspect C tree structure", async () => { await inspectTreeStructure(sampleCContent, "c") }) it("should parse C definitions", async () => { const result = await testParseSourceCodeDefinitions("test.c", sampleCContent, testOptions) // Only verify that parsing produces output with line numbers and content if (!result || !result.match(/\d+--\d+ \|/)) { throw new Error("Failed to parse C definitions with line numbers") } }) })

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