Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DELPHI_CONFIG | Yes | Path to the delphi_config.toml configuration file |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| compile_delphi_project | Compile a Delphi project (.dpr or .dproj file) and return parsed results. Automatically reads build configuration from .dproj file and library paths from config file. Returns only compilation errors, filtering out warnings and hints. |
| generate_config_from_build_log | Generate delphi_config.toml file automatically by parsing an IDE build log. Extracts all library paths, compiler settings, and configuration from a successful compilation performed in the Delphi IDE. This eliminates manual configuration. Supports platform-specific config files (e.g., delphi_config_win64.toml) for simpler multi-platform setups. |
| generate_config_from_multiple_build_logs | Generate delphi_config.toml file from multiple IDE build logs for different configurations and platforms. By default, creates separate platform-specific config files (e.g., delphi_config_win32.toml, delphi_config_win64.toml). Use this when you have build logs from multiple configurations (Debug/Release) and/or platforms (Win32/Win64/Linux64). |
| extend_config_from_build_log | Extend an existing delphi_config.toml with settings from a new IDE build log. Useful for adding support for new platforms (e.g., Win64x) or libraries without regenerating the entire configuration. Intelligently merges new paths while preserving existing settings and avoiding duplicates. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |