Skip to main content
Glama

mcp-server-tree-sitter

by wrale
MIT License
175
  • Apple
  • Linux
c.py1.02 kB
"""Query templates for C language.""" TEMPLATES = { "functions": """ (function_definition declarator: (function_declarator declarator: (identifier) @function.name)) @function.def (declaration declarator: (function_declarator declarator: (identifier) @function.name)) @function.decl """, "structs": """ (struct_specifier name: (type_identifier) @struct.name) @struct.def (union_specifier name: (type_identifier) @union.name) @union.def (enum_specifier name: (type_identifier) @enum.name) @enum.def """, "imports": """ (preproc_include) @import (preproc_include path: (string_literal) @import.system) @import.system (preproc_include path: (system_lib_string) @import.system) @import.system """, "macros": """ (preproc_function_def name: (identifier) @macro.name) @macro.def """, }

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/wrale/mcp-server-tree-sitter'

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