mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 08:13:37 +08:00
MCP server that indexes codebases into a queryable knowledge graph. Single Go binary, SQLite storage, 12 languages via tree-sitter. Features: call graph, cross-service HTTP linking, dead code detection, route nodes, Cypher queries, incremental reindex, JSON config scanning.
14 lines
371 B
Go
14 lines
371 B
Go
package lang
|
|
|
|
func init() {
|
|
Register(&LanguageSpec{
|
|
Language: Lua,
|
|
FileExtensions: []string{".lua"},
|
|
FunctionNodeTypes: []string{"function_declaration", "function_definition"},
|
|
ClassNodeTypes: []string{},
|
|
ModuleNodeTypes: []string{"chunk"},
|
|
CallNodeTypes: []string{"function_call"},
|
|
ImportNodeTypes: []string{"function_call"},
|
|
})
|
|
}
|