Model Context Protocol (MCP)

Build powerful AI integrations with full-featured MCP Server and Client components. Connect large language models to your application's tools, data, and workflows.

What is MCP?

The Model Context Protocol is the emerging standard for connecting AI models to external tools and data sources.

The Bridge Between AI and Your Application

MCP defines a standard protocol for how large language models interact with the outside world. Instead of building custom API integrations for each AI provider, MCP provides a universal interface that enables LLMs to call functions, access databases, query APIs, and interact with your application logic through a consistent, well-defined protocol.

  • Standard protocol adopted by major AI providers
  • Enables AI models to call functions in your application
  • Controlled, secure access to databases and file systems
  • Reusable prompt templates and resource definitions
AI

MCP Server & Client

Full-featured components for both sides of the MCP protocol.

MCP Server

Expose your application's capabilities to AI models. Enterprise Only.

  • Tools — Define callable functions with typed parameters
  • Prompts — Reusable prompt templates with arguments
  • Resources — Expose data with URI-based addressing
  • Event Handling — OnToolCall, OnPromptGet, OnResourceRead
  • Stdio and HTTP transport support

MCP Client

Connect to any MCP-compatible server. Enterprise Only.

  • Tools — Discover and call server tools
  • Prompts — Retrieve and use prompt templates
  • Resources — Read server-exposed data
  • Sampling — AI model interaction support
  • Elicitation — Gather user input during AI workflows
  • Event Handling — Full event-driven architecture

Supported Platforms

Windows 32 Windows 64 Android Linux64 OSX64 iOS64

MCP Server in Action

Expose tools to AI models with just a few lines of Delphi code.

procedure TForm1.SetupMCPServer;
begin
  sgcMCPServer1.Options.Transport := mcpStdIO;
  sgcMCPServer1.AddTool('get_weather', 'Get current weather');
  sgcMCPServer1.Active := True;
end;

procedure TForm1.sgcMCPServer1ToolCall(Sender: TObject;
  const ToolName: string; const Arguments: string;
  var Result: string);
begin
  if ToolName = 'get_weather' then
    Result := '{"temperature": 22, "condition": "sunny"}';
end;

Demos & Documentation

Download ready-to-run demos and explore the full documentation.

MCP Server Demo

Download

MCP Client Demo

Download

Documentation

View Docs

What Can You Build with MCP?

MCP opens up a world of possibilities for AI-powered applications.

AI-Powered IDE Tools

Build coding assistants that can read and write files, run tests, query documentation, and provide intelligent code suggestions directly within your development environment.

Database Agents

Let AI models query and analyze your databases through controlled, secure interfaces. Define read-only or read-write access policies and let the AI generate insights from your data.

Business Automation

Connect AI to your business logic — CRM, ERP, ticketing systems, and more. Automate workflows with natural language instructions and intelligent decision-making.

Custom AI Workflows

Chain multiple tools and resources for complex, multi-step AI operations. Build pipelines that combine data retrieval, processing, and action execution in a single AI-driven workflow.

Cross-Platform MCP Support

Deploy MCP servers and clients across every major platform and IDE.

Delphi

Delphi 7 through RAD Studio 13. Full VCL and FireMonkey support with design-time components.

C++ Builder

C++ Builder 10.1 Berlin through C++ Builder 13 with native C++ wrapper headers.

Lazarus

Lazarus 4.4.0 Win64 with Free Pascal compiler support.

Target Platforms

Windows, macOS (Intel & ARM), Linux 64-bit, iOS, and Android.

Start Building with MCP Today

Download the free trial and connect your Delphi or .NET application to AI models with the Model Context Protocol.