list_languages
Retrieve information about available programming languages supported by the MCP server for code analysis and context management.
Instructions
List available languages.
Returns:
Information about available languages
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'list_languages' MCP tool. It is registered via the @mcp_server.tool() decorator and returns available Tree-sitter languages using the language_registry.@mcp_server.tool() def list_languages() -> Dict[str, Any]: """List available languages. Returns: Information about available languages """ available = language_registry.list_available_languages() return { "available": available, "installable": [], # No separate installation needed with language-pack }