Skip to main content
Glama

AutoDev Codebase MCP Server

by anrgct
parseSourceCodeDefinitions.php.test.ts677 B
import { describe, it } from "@jest/globals" import { testParseSourceCodeDefinitions, inspectTreeStructure } from "./helpers" import { phpQuery } from "../queries" import samplePhpContent from "./fixtures/sample-php" describe("parseSourceCodeDefinitionsForFile with PHP", () => { // PHP test options const phpOptions = { language: "php", wasmFile: "tree-sitter-php.wasm", queryString: phpQuery, extKey: "php", } it("should inspect PHP tree structure", async () => { await inspectTreeStructure(samplePhpContent, "php") }) it("should parse PHP definitions", async () => { await testParseSourceCodeDefinitions("test.php", samplePhpContent, phpOptions) }) })

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