Skip to main content
Glama

mcp-server-tree-sitter

by wrale
MIT License
33
  • Apple
  • Linux

get_symbols

Extract and categorize symbols (functions, classes, imports, etc.) from a file using project and file path inputs. Simplify code analysis and gain structured insights into codebase components.

Instructions

Extract symbols from a file.

Args: project: Project name file_path: Path to the file symbol_types: Types of symbols to extract (functions, classes, imports, etc.) Returns: Dictionary of symbols by type

Input Schema

NameRequiredDescriptionDefault
file_pathYes
projectYes
symbol_typesNo

Input Schema (JSON Schema)

{ "properties": { "file_path": { "title": "File Path", "type": "string" }, "project": { "title": "Project", "type": "string" }, "symbol_types": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Symbol Types" } }, "required": [ "project", "file_path" ], "title": "get_symbolsArguments", "type": "object" }

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