Delphi MCP Server Resources (4/4)

In MCP, resources represent addressable data objects that the server exposes such as files, database records, generated documents, or dynamic API outputs. They are client-controlled, meaning the client can decide which resource to request and how to interpret the content. The two main methods involved are: resources/list: Requests the list of all a...

Continue reading

Delphi MCP Server (1/4)

The latest release of sgcWebSockets 2025.9.0 introduces a game-changing feature for AI developers and system integrators — full support for the Model Context Protocol (MCP). This innovation marks a major leap forward in how sgcWebSockets connects your AI-driven applications to the real world — from CRMs and databases to custom business tools. ...

Continue reading

Delphi MCP Server Prompts (3/4)

With sgcWebSockets 2025.9.0, the Model Context Protocol (MCP) server now supports Prompt Requests, enabling AI clients to query and render dynamic prompt templates. This capability makes it possible to expose reusable AI prompts (like "summarize text" or "review code") directly through WebSockets using the MCP standard. What Are MCP Prompt Requests...

Continue reading

Delphi MCP Server Tools (2/4)

With the release of sgcWebSockets 2025.9.0, developers can now integrate Model Context Protocol (MCP) functionality directly into their servers. This includes the ability to handle MCP Tool Requests, a key component of enabling dynamic and intelligent communication between AI models and backend services. This guide will walk you through how MCP Too...

Continue reading

Fido Conformance Tools sgcWebSockets

We're proud to announce that sgcWebSockets now supports the WebAuthn Server protocol and has successfully passed all conformance tests using the official FIDO Conformance Test Tool. WebAuthn (Web Authentication) is the W3C standard that powers modern, passwordless authentication based on public-key cryptography. With support built directly into sgc...

Continue reading

Telegram Updated

The Telegram Library has been updated to the version 1.8.54 for the following Rad Studio Personalities: Win32Win64Android64iOS64OSX64OSXARM64Linux64 Now the Android64 version is built with a page size of 16KB as required by the Google Play Store from 1 November 2025.

Building a WebSocket Server in C++Builder

TsgcWebSocketServer is part of the sgcWebSockets suite and provides a high-level component for creating WebSocket servers in C++Builder. This guide walks through creating a minimal server that automatically replies to incoming messages.  Create the VCL project Open C++Builder and create a new VCL Forms Application.Drop a TsgcWebSocketServer co...

Continue reading
Tags:

WebAuthn Advanced Usage Example

Below is a more comprehensive Delphi example that demonstrates custom endpoints, challenge policies, database-backed credential storage, FIDO Metadata validation, and cross-origin iframe support. The code highlights advanced event handling to enforce security policies.  sgcWebSockets WebAuthn Server Example procedure TForm1.ConfigureWebAuthn;b...

Continue reading

Deep Dive into sgcWebSockets WebAuthn Server

The TsgcWSAPIServer_WebAuthn component is a Delphi/FPC server module that implements the relying‑party side of the WebAuthn protocol over HTTPS. It integrates with TsgcWebSocketHTTPServer or TsgcWebSocketServer, and it exposes REST‑like endpoints for registration and authentication.  Endpoint Mechanics By default, the component registers ...

Continue reading

Using WebSocket Client in .NET

TsgcWebSocketClient is the .NET wrapper around the sgcWebSockets runtime client. It inherits all core WebSocket capabilities from TsgcWebSocketClient_base, giving .NET applications a component-style API for connecting, sending, and receiving over WebSockets   Key Properties Host & Port – target server endpointOptions.Parameters – URL path ...

Continue reading
Tags:

OpenAI Function Calling

 Similar to the Chat Completions API, the Assistants API supports function calling. Function calling allows you to describe functions to the Assistants API and have it intelligently return the functions that need to be called along with their arguments. In this example, we'll create a weather assistant and define two functions, get_current_tem...

Continue reading

OpenAI RealTime API

From sgcWebSockets 2025.5.0 the OpenAI RealTime API is supported (currently only transcription mode). The OpenAI Realtime API enables low-latency, multimodal interactions including speech-to-speech conversational experiences and real-time transcription. The component TsgcWSAPI_OpenAI implements the RealTime OpenAI API. Configuration Use the method ...

Continue reading

WebAuthn Server

From sgcWebSockets 2025.4.0 Enterprise, the  WebAuthn Protocol is supported (currently in BETA).  WebAuthn (Web Authentication) is a web standard developed by the World Wide Web Consortium (W3C) and FIDO Alliance to enable secure, passwordless authentication on the web. It is part of the broader FIDO2 framework and aims to reduce rel...

Continue reading

HTTP/1 Client Asynchronous

By default the TsgcHTTP1client uses blocking requests, so after calling an HTTP Request method, the client waits the response from the server. From sgcWebSockets 2025.3.0 you can use Asynchronous methods to execute these HTTP Requests in a secondary thread avoiding to block the thread where the requests is called. The following asynchronous methods...

Continue reading

Coinbase Advanced Trading API

From sgcWebSockets 2025.1.0 the Coinbase Advanced Trading API is supported for WebSocket and REST Interfaces. The version supported is v3. WebSocket API The WebSocket feed is publicly available and provides real-time market data updates for orders and trades. Two endpoints are supported in production: Market Data is our traditional feed that provid...

Continue reading

OpenAI Assistants File Search

From sgcWebSockets 2024.10.0 you can use the OpenAI Assistants to search in your own files instead of using the generic model. File Search augments the Assistant with knowledge from outside its model, such as proprietary product information or documents provided by your users. OpenAI automatically parses and chunks your documents, creates and store...

Continue reading

Google FCM HTTP v1 Delphi

From sgcWebSockets 2024.9.0 there is a new client component to Send Notifications using Google Firebase Cloud Messaging and the latest API HTTP v1. Apps using the deprecated FCM legacy APIs for HTTP and XMPP should migrate to the HTTP v1 API at the earliest opportunity. Sending messages (including upstream messages) with those APIs was deprecated o...

Continue reading

OpenAI Assistants for Delphi

The Assistants API allows you to build AI assistants within your own applications. An Assistant has instructions and can leverage models, tools, and files to respond to user queries. The Assistants API currently supports three types of tools: Code Interpreter, File Search, and Function calling. Overview A typical integration of the Assistants API h...

Continue reading

sgcIndy XOAuth2 Delphi

From sgcIndy 2024.5.0 the XOAuth2 Authentication mechanism is supported. The SASL XOAUTH2 mechanism for use with the IMAP AUTHENTICATE, POP AUTH, and SMTP AUTH commands. This mechanism allows the use of OAuth 2.0 Access Tokens to authenticate to a user's Gmail account for example. TIdSASLXOAuth2 The TIdSASLXOAuth2 has the event OnAuthenticate which...

Continue reading

Load Balancer HTTP & WebSocket Protocols

The component TsgcWebSocketLoadBalancerServer has been improved for sgcWebSockets 2024.3.0 version. Now supports the HTTP Protocol, previously only supported WebSockets, and has a couple of new events to fine-tune the HTTP Requests. The Load Balancer server now descends from the TsgcWebSocketHTTPServer, so inherits all the methods and properti...

Continue reading