Skip to main content
Glama

mcp-server-tree-sitter

by wrale
MIT License
175
  • Apple
  • Linux
javascript.py1.08 kB
"""Query templates for JavaScript.""" TEMPLATES = { "functions": """ (function_declaration name: (identifier) @function.name parameters: (formal_parameters) @function.params body: (statement_block) @function.body) @function.def (arrow_function parameters: (formal_parameters) @function.params body: (_) @function.body) @function.def """, "classes": """ (class_declaration name: (identifier) @class.name body: (class_body) @class.body) @class.def """, "imports": """ (import_statement) @import (import_statement source: (string) @import.source specifier: (_) @import.specifier) @import.full """, "function_calls": """ (call_expression function: (identifier) @call.function arguments: (arguments) @call.args) @call """, "assignments": """ (variable_declarator name: (_) @assign.target value: (_) @assign.value) @assign """, }

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