Daofy

v1.0.0Developer Toolsstable

Daofy for Delphi — MCP Server that compiles Delphi projects and queries knowledge base for AI assistants.

ai-assistantclaude-desktopcodeartscodeartsdaofydelphi
Share:
57
Stars
0
Downloads
0
Weekly
0/5

What is Daofy?

Daofy is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to daofy for delphi — mcp server that compiles delphi projects and queries knowledge base for ai assistants.

Daofy for Delphi — MCP Server that compiles Delphi projects and queries knowledge base for AI assistants.

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Daofy for Delphi — MCP Server that compiles Delphi projects

Use Cases

Compile Delphi projects with AI assistance.
Query knowledge base for Delphi development.
Integrate Delphi tooling into AI workflows.
chinawsb

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx daofy

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Daofy

Daofy is a comprehensive MCP server tailored for Delphi developers that bridges AI assistants with the full Delphi development ecosystem — compilation, knowledge bases, file operations, component management, and Git hosting. It ships a built-in knowledge base covering 2,798 Delphi RTL/VCL/FMX files, supports CHM/PDF/DOCX document search, and can persist AI experience memories across sessions. Rather than a narrow build-trigger tool, Daofy acts as an end-to-end Delphi development partner: compiling code, searching documentation, managing components, enforcing coding standards, and performing Git operations across Gitea, GitHub, GitLab, and Gitee — all from within Claude or any MCP-compatible client.

Prerequisites

  • Windows operating system with Embarcadero Delphi installed
  • Python 3.8+ and pip installed and on PATH
  • An MCP-compatible client such as Claude Desktop
  • pip install daofy-for-delphi executed before configuring the client
  • Optional: Git installed if using code_hosting tool for version control operations
1

Install daofy-for-delphi via pip

Install the package from PyPI. This places the daofy entry point on your PATH and downloads the bundled Delphi RTL/VCL knowledge base.

pip install daofy-for-delphi
2

Confirm the daofy command is available

Run the command without arguments to verify the installation. If the shell reports 'command not found', add the Python Scripts directory to your system PATH.

daofy --version
3

Open and edit the Claude Desktop config file

Navigate to %APPDATA%\Claude\claude_desktop_config.json on Windows. Add the Daofy server entry shown below, including the three encoding environment variables that are required for reliable operation on Windows.

4

Add the Daofy MCP server configuration

Paste the following JSON into the mcpServers section of your Claude Desktop config. The PYTHONUNBUFFERED and encoding variables prevent garbled output when working with Delphi source files that contain special characters.

{
  "mcpServers": {
    "daofy": {
      "command": "daofy",
      "env": {
        "PYTHONUNBUFFERED": "1",
        "PYTHONIOENCODING": "utf-8",
        "PYTHONUTF8": "1"
      }
    }
  }
}
5

Restart Claude Desktop and explore tools

After restarting, the full set of Daofy tools becomes available: project, delphi_kb, delphi_file, manage_component, get_coding_rules, code_hosting, experience, async_task, and more. Ask Claude to call check_environment to verify compiler detection.

Daofy Examples

Client configuration

Complete claude_desktop_config.json entry for the Daofy MCP server using the pip-installed command.

{
  "mcpServers": {
    "daofy": {
      "command": "daofy",
      "env": {
        "PYTHONUNBUFFERED": "1",
        "PYTHONIOENCODING": "utf-8",
        "PYTHONUTF8": "1"
      }
    }
  }
}

Prompts to try

Example prompts that make use of Daofy's broad Delphi capabilities.

- "Compile my project at C:\Projects\Shop\Shop.dproj and summarize any build errors."
- "Search the Delphi knowledge base for TRESTClient and show me a working usage example."
- "Read my coding rules for the 'naming' section and apply them to Unit1.pas."
- "Save this debugging insight to my experience memory so we can reuse it later."
- "Push the latest changes in C:\Projects\Shop to my GitHub repo using code_hosting."

Troubleshooting Daofy

Compiler not detected — check_environment returns no compilers

Daofy reads Embarcadero's registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Embarcadero\BDS. Ensure Delphi was installed with administrator rights so those keys exist. Alternatively, add compiler paths manually in the config/compilers.json file inside the daofy package.

Chinese or non-ASCII characters display incorrectly in tool output

Verify that PYTHONIOENCODING=utf-8 and PYTHONUTF8=1 are both set in the env block of your MCP configuration. Windows defaults to cp1252 encoding for console output, which corrupts UTF-8 content.

delphi_kb search returns no results for a known class

The built-in knowledge base covers RTL/VCL/FMX. Third-party libraries must be indexed separately. Use the delphi_kb tool's 'build' operation pointing to your library source directory to add it to the searchable index.

Frequently Asked Questions about Daofy

What is Daofy?

Daofy is a Model Context Protocol (MCP) server that daofy for delphi — mcp server that compiles delphi projects and queries knowledge base for ai assistants. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Daofy?

Follow the installation instructions on the Daofy GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Daofy?

Daofy works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Daofy free to use?

Yes, Daofy is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "daofy": { "command": "npx", "args": ["-y", "daofy"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Daofy?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides