Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
inspectJava.test.ts800 B
import { describe, it } from "@jest/globals" import { inspectTreeStructure, testParseSourceCodeDefinitions } from "./helpers" import { javaQuery } from "../queries" import sampleJavaContent from "./fixtures/sample-java" describe("inspectJava", () => { const testOptions = { language: "java", wasmFile: "tree-sitter-java.wasm", queryString: javaQuery, extKey: "java", } it("should inspect Java tree structure", async () => { const result = await inspectTreeStructure(sampleJavaContent, "java") expect(result).toBeTruthy() }) it("should parse Java definitions", async () => { const result = await testParseSourceCodeDefinitions("test.java", sampleJavaContent, testOptions) expect(result).toBeTruthy() expect(result).toMatch(/\d+--\d+ \| /) // Verify line number format }) })

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