Back to MCP Directory
Connections & Capabilities
Connects To
GitHub
Capabilities
read
Quickstart
Config
{
"mcpServers": {
"code-to-tree": { "command": "C:\\path\\to\\code-to-tree.exe" }
}
}Exposed MCP Tools (1)
safe
code-to-treeConverts source code into an Abstract Syntax Tree (AST) representation.
The tool only reads code and generates an AST, with no write or execute operations.
Safety Assessment
The code-to-tree server is relatively safe as it primarily performs read-only operations on code snippets. However, it's important to ensure that the input code is properly formatted and to monitor resource usage to prevent potential denial-of-service attacks. The risk is low as it doesn't directly interact with sensitive data or systems.
- Read-only access to code provided as input.
- No external network access or data exfiltration capabilities.
- Operates on code snippets, not entire systems.
- Standalone binary minimizes external dependencies.
- Potential for denial-of-service if provided with extremely large or complex code.
- Vulnerable to tree-sitter parsing vulnerabilities if they exist.
- Improperly formatted code could lead to unexpected behavior or errors.
- No built-in rate limiting or resource constraints.
