Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

DelphiMCP

Model Context Protocol SDK for Delphi.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Delphi MCP SDK

Preview

MCP SDK For Delphi

A complete MCP parser and SDK implementation.

Model Context Protocol SDK for Delphi.

This project implements a full MCP server/client stack compatible with modern AI tools.

Features:

  • JSON-RPC 2.0
  • MCP protocol
  • stdio transport
  • HTTP transport
  • tools registry
  • resources
  • prompts
  • streaming

Compatible with:

  • Claude Desktop
  • Cursor
  • Continue
  • other MCP clients

MIT License

Project structure: <pre style="white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word;">

root/ │ delphi-mcp-sdk/ │ ├─ README.md ├─ LICENSE ├─ CHANGELOG.md ├─ CONTRIBUTING.md │ ├─ src/ │ ├─ MCP.pas │ ├─ MCP.Types.pas │ ├─ MCP.JSONRPC.pas │ ├─ MCP.Parser.pas │ ├─ MCP.Transport.Stdio.pas │ ├─ MCP.Transport.HTTP.pas │ ├─ MCP.Server.pas │ ├─ MCP.Client.pas │ │ │ ├─ tools/ │ │ ├─ MCP.Tools.pas │ │ └─ MCP.ToolSchema.pas │ │ │ ├─ resources/ │ │ └─ MCP.Resources.pas │ │ │ ├─ prompts/ │ │ └─ MCP.Prompts.pas │ │ │ ├─ streaming/ │ │ └─ MCP.Streaming.pas │ │ │ └─ utils/ │ ├─ MCP.JSONUtils.pas │ └─ MCP.Log.pas │ ├─ examples/ │ ├─ echo-server/ │ │ └─ EchoServer.dpr │ │ │ ├─ file-server/ │ │ └─ FileServer.dpr │ │ │ └─ http-server/ │ └─ HttpMcpServer.dpr │ ├─ tests/ │ ├─ ParserTests.dpr │ ├─ ToolTests.dpr │ └─ JsonRpcTests.dpr │ └─ docs/ ├─ architecture.md ├─ protocol.md └─ examples.md

</pre>