Dext MCP server
2026년 11월 14일 커밋단일 풀스택 프레임워크로 네이티브 Delphi 웹 API, ORM 모델, 백그라운드 작업 및 MCP 도구를 구축합니다.
다른 이름 dotpas/dext
- 스타
- 333
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- Apache-2.0
Dext MCP란?
Dext은(는) MCP server입니다. 단일 풀스택 프레임워크로 네이티브 Delphi 웹 API, ORM 모델, 백그라운드 작업 및 MCP 도구를 구축합니다.
프로젝트 README에서 생성된 요약
Dext MCP server 정보
현대적인 웹 인프라를 구축하려는 Delphi 개발자는 Dext를 사용하여 네이티브 풀스택 애플리케이션을 제작할 수 있습니다. 이 프레임워크는 의존성 주입, ORM, 웹 파이프라인 및 텔레메트리를 위한 통합 생태계를 제공하며, JIT나 콜드 스타트 없이 모두 네이티브 바이너리로 컴파일됩니다. ASP.NET Core와 같은 현대적인 스택과 기능적 동등성을 필요로 하는 Object Pascal 팀의 격차를 해소하도록 설계되었습니다.
사용자는 Delphi 환경 내에서 직접 Minimal API, 백그라운드 작업 및 멀티 테넌트 SaaS 아키텍처를 구현할 수 있습니다. 프레임워크에는 변경 추적 기능이 있는 타입 안정성 ORM이 포함되어 있으며 JSON 및 YAML과 같은 다양한 구성 형식을 지원합니다. 또한 VCL과 통합되어 IDE에서 디자인 타임 데이터 상호 작용이 가능합니다. AI 통합을 위해 Dext는 개발자가 Model Context Protocol을 통해 Delphi 비즈니스 규칙을 Claude 또는 Cursor와 같은 에이전트용 도구로 노출할 수 있도록 지원합니다.
활용 사례
- 1AI 에이전트에 비즈니스 로직 노출개발자는 기존 Delphi 비즈니스 규칙을 Claude와 같은 AI 클라이언트가 직접 사용할 수 있는 도구로 전환할 수 있습니다.
- 2엔티티로부터 REST API 생성클래스에 속성을 추가하는 것만으로 페이징 및 필터를 포함한 전체 REST API를 빠르게 생성할 수 있습니다.
- 3타입 안정성이 보장된 데이터베이스 쿼리 실행개발자는 런타임에 오류가 발생할 수 있는 매직 스트링 대신 Pascal 구문을 사용하여 데이터베이스 쿼리를 작성할 수 있습니다.
- 4복잡한 비동기 작업 관리플루언트 파이프라인을 사용하여 수동 스레드 관리 없이 스레드 풀과 비동기 작업을 처리할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능dotpas/dext is public and reachablegithub.com/dotpas/dext ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-13github.com/dotpas/dext ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기Lê em português? Este README está em inglês. A versão completa em português — com os mesmos exemplos, o livro e o mapa de features — está em README.pt-br.md. Se o português for mais confortável, clique e leia o documento inteiro por lá, em vez de passar o olho num atalho.
Dext Framework 1.0
Native full-stack for Delphi.
The Delphi compiler was never the bottleneck. The missing piece was the infrastructure.
For years, a modern Object Pascal backend meant stitching a dozen libraries: one for DI, one for HTTP, one for ORM, one for tests. Each with its own dialect. None of them slept in the same house.
Dext 1.0 is that infrastructure. One ecosystem — dependency injection, ORM, web pipeline, telemetry, and testing — compiled native. No JIT. No cold start. No patchwork.
"Simplicity is Complicated." — Rob Pike
A Minimal API fits on one screen because the engine underneath does not. UTF-8 JSON, DI, binding, validation, Direct-to-JSON: the ceremony lives in the framework.
"Make what is right easy and what is wrong difficult." — Steve "Ardalis" Smith
Reading a catalog is an entity. Changing the world is a command with a rule. The test is born in the constructor. With Dext, the right path is the short one.
And it is Apache 2.0: free for the twenty-year ERP and for the product that does not have a name yet.
Why this matters now
If the team is glancing at C# because “Delphi has no industry-standard stack,” Dext closes that gap without rewriting the system.
Functional parity with ASP.NET Core and Entity Framework Core, in the language you already ship, plus what the managed runtime does not give away: a native binary, a small memory footprint, instant startup.
- Dext vs .NET: architecture — modern patterns on a native compiler.
- Feature-by-feature matrix — 60+ items side by side.
- ORM capabilities — DbContext, change tracking, JSON, lazy/eager.
- Enterprise licensing — why Apache 2.0 is safe for commercial use.
The book
This is not a feature catalog. It is a real corporate product — Dext Faturamento — built from scratch across five labs: Minimal APIs, persistence, multi-tenant SaaS, JWT, jobs, Redis, Hubs, Docker, gRPC, and tools for AI agents. The model stays yours. The agent does not get to invent SQL.
🇺🇸 English edition
Professional Web Development with Delphi and Dext Framework — Cesar Romero, 1st edition, 2026. ISBN 978-65-02-38868-6.
- Paperback (Amazon): amazon.com/dp/650238868X
- Kindle: amazon.com/dp/B0HKNZR9FW
- Lab source: github.com/dotpas/book-dext-web
🇧🇷 Portuguese edition
Desenvolvimento Web Profissional com Delphi e Dext Framework — Cesar Romero, 1st edition, 2026. ISBN 978-65-02-32503-2.
- Print in Brazil (UICLAP): loja.uiclap.com/titulo/ua197387
- Paperback on Amazon: amazon.com/dp/6502325033
- Kindle (Brazil): amazon.com.br/dp/B0HGYTSYYY
- Kindle (global): amazon.com/dp/B0HGYTSYYY
- Lab source: github.com/dotpas/book-dext-web
Where to go after this README
The README is the taste. The map lives under Docs.
- The Dext Book — the official guide: install, Minimal APIs, ORM, security, real-time, CLI, MCP. Start with Where to start and Installation.
- Complete features index — everything 1.0 ships, organized by module, with the implementing unit.
- .NET comparison pack — for the meeting where someone asks “why not migrate?”
The Portuguese editions of the same docs live under Docs/Book.pt-br and Docs/Features_Implemented_Index.pt-br.md.
Where Dext fits
- High-throughput APIs — Minimal APIs, Controllers, or
[DataApi]generating REST from the entity. - Web applications — SSR with the native template engine or Web Stencils, HTMX without a heavy SPA.
- Real concurrency —
TAsyncTask, cancellation tokens, async REST client. No hand-rolledTThread. - Mobile backends — the same API for iOS and Android, with JWT, rate limits, and health checks.
- Legacy that still has to run — DataSnap, ISAPI/Apache, VCL. Dext lands as a modern foundation without erasing twenty years of ERP.
- Jobs, microservices, IoT — persistent background jobs, MQTT, gRPC, Redis.
Five minutes of code
Minimal API
An endpoint with DI and model binding does not ask for ceremony:
program MyAPI;
uses Dext.Web;
begin
var App := WebApplication;
App.MapGet('/hello', function: string
begin
Result := 'Hello from Dext! Modern full-stack for Delphi.';
end);
App.MapPost<TUserDto, IEmailService, IResult>('/register',
function(Dto: TUserDto; EmailService: IEmailService): IResult
begin
EmailService.SendWelcome(Dto.Email);
Result := Results.Created('/login', 'User successfully registered');
end);
App.Run(8080);
end.
Entity, DataAPI, and Smart Properties
Convention over Configuration. The class becomes a table — and, if you want, an API:
[Table]
[DataApi('/api/orders')]
TOrder = class
private
FId: IntType;
FStatus: Prop<TOrderStatus>;
FNotes: StringType;
FTotal: Nullable<CurrencyType>;
FItems: Lazy<IList<TOrderItem>>;
public
[PK, AutoInc]
property Id: IntType read FId write FId;
property Status: Prop<TOrderStatus> read FStatus write FStatus;
property Notes: StringType read FNotes write FNotes;
property Total: Nullable<CurrencyType> read FTotal write FTotal;
property Items: Lazy<IList<TOrderItem>> read FItems write FItems;
end.
Type-safe ORM
No more magic strings that fail in production. Dext builds the query AST in Pascal:
var O := Prototype.Entity<TOrder>;
var Orders := DbContext.Orders
.Where((O.Status = TOrderStatus.Paid) and (O.Total > 1000))
.Include('Customer')
.Include('Items')
.OrderBy(O.Date.Desc)
.Take(50)
.ToList;
DbContext.Products
.Where(Prototype.Entity<TProduct>.Category = 'Outdated')
.Update
.Execute;
Fluent tasks
TThread complexity becomes a pipeline. Thread pool, chaining, a safe return to the UI:
var CTS := TCancellationTokenSource.Create;
TAsyncTask.Run<TStream>(
function: TStream
begin
Result := AsyncClient.DownloadStream('https://api.company.com/data', CTS.Token);
end)
.Then<TReport>(
function(Stream: TStream): TReport
begin
Result := JsonSerializer.Deserialize<TReport>(Stream);
Stream.Free;
end)
.OnComplete(
procedure(Report: TReport)
begin
ShowReport(Report);
end)
.OnException(
procedure(Ex: Exception)
begin
ShowError('Process failed: ' + Ex.Message);
end)
.Start;
Configuration, Options, and DI
JSON, YAML, User Secrets, environment variables, command line — Twelve-Factor order:
var Builder := WebApplication.CreateBuilder;
Builder.Configuration
.AddJsonFile('appsettings.json')
.AddYamlFile('config.yaml')
.AddEnvironmentVariables;
Builder.Services
.Configure<TDatabaseSettings>(Builder.Configuration.GetSection('Database'))
.AddSingleton<IEmailService, TSmtpEmailService>
.AddScoped<IOrderRepository, TDbOrderRepository>;
var App := Builder.Build;
VCL without giving up the ORM
TEntityDataSet puts POCOs on the DBGrid, FastReport, and the Object Inspector. Real design-time: TFields and live data in the IDE, without compiling the project.
Dext is not “just CRUD”
Everyone ships CRUD. 1.0 was built for what comes next: scale, governance, and the rest of the week.
Database as API
Full REST from the entity — paging, filters, roles, and Swagger — with one attribute:
[Table, DataApi('/api/products')]
TProduct = class
private
FId: IntType;
[Required, MaxLength(100)]
FName: StringType;
FPrice: CurrencyType;
public
[PK, AutoInc]
property Id: IntType read FId write FId;
property Name: StringType read FName write FName;
property Price: CurrencyType read FPrice write FPrice;
end;
App.MapDataApis.Configure<TProduct>(
DataApiOptions.RequireAuth.RequireWriteRole(['admin'])
);
Native MCP server
Dext exposes Delphi business rules as tools for agents (Claude, Cursor, Antigravity) over MCP, in the same process:
type
[MCPTool('search_products', 'Search active products with price filters')]
[MCPParam('query', 'Product search query term')]
[MCPParam('maxPrice', 'Optional maximum price filter')]
TSearchProductsTool = class
public
function Execute(const AQuery: string; AMaxPrice: Currency): TList<TProduct>;
end;
Clean Architecture in the IDE
Decoupling does not have to kill RAD. Context-menu scaffolding, metadata in the Object Inspector, a DBGrid with real rows before you press F9.
1. Entity generation from the context menu
2. Table selection
3. Generated code preview
4. RTTI metadata in the Object Inspector
5. DBGrid with live design-time data
Stored procedures as commands
No hand-wired parameters. The procedure becomes a compile-time-checked object:
type
[StoredProcedure('ProcessFiscalNotes')]
TProcessNotesCommand = class
private
FStartDate: TDateTime;
FProcessedCount: Integer;
public
[DbParam('StartDate')]
property StartDate: TDateTime read FStartDate write FStartDate;
[DbParam('ProcessedCount', pdOutput)]
property ProcessedCount: Integer read FProcessedCount write FProcessedCount;
end;
Telemetry that does not ask for Grafana on a laptop
The built-in dashboard collects structured logs, physical SQL, HTTP latency, and Gantt spans — in the background, without stalling the request.
Metrics, RPS, CPU, and logs
Generated SQL, parameters, and timing
When operations grow, Seq and OpenTelemetry sinks (SigNoz, Datadog) are already in the pipeline.
The ecosystem, on one page
You include what the solution needs. The rest stays out.
- Core — DI (Singleton, Transient, Scoped), cached RTTI,
IOptions, Smart Properties. - Collections —
IList/IDictionarywithout the classic leak; Binary Code Folding against generic bloat. - ORM — Unit of Work, transactions, seven dialects, JSON/JSONB, soft delete, batch.
- Web — Minimal APIs, Controllers, DataAPI, middleware, Hubs/WebSockets, HTTP/2, HTMX, http.sys / epoll.
- AI — native MCP server; skills for Cursor, Claude, and Copilot under
Docs. - Testing —
TAutoMocker, snapshots, WebApplicationFactory, Test Explorer in the IDE.
Full features list and modules — the 1.0 index, chapter by chapter.
Installation
The short path is TMS Smart Setup. The long path is in the Book.
1. TMS Smart Setup (recommended)
Dext is a community package. Enable the Community Server once:
tms server-enable community
tms install dotpas.dext
In the GUI: open TMS Smart Setup, enable Community Server in settings, search for dotpas.dext, and click Install.
[!TIP] No Smart Setup yet? Download page.
2. Manual installation
Paths, Dext.inc, design-time packages:
Requirements
- Tier 1: Delphi 10.4 Sydney, 11 Alexandria, 12 Athens.
- Tier 2: 10.1 Berlin – 10.3 Rio, with limitations (no inline vars).
- Compile floor: XE2+, with Indy fallback below XE8.
- Dependencies: none required. HTTP uses Indy (already in Delphi) — subject to evolution.
- Web Stencils: Delphi 12.2+ (Windows).
Built for performance
Recent Delphi frameworks chased convenience with unrestricted allocation. Dext gives the pace back without giving the pain back.
- Zero-allocation pipeline — JSON straight through
TSpan/ UTF-8, without gigabytes of temporarystringin the memory manager. - SIMD — parse and compare in AVX2/SSE2 blocks, a response in a handful of CPU ticks.
License
Apache License 2.0. Free for open source and for commercial software. Build, ship, embed. No catch.
Community
Dext grows with the people who use it.
- Star the repository — the simplest signal that the project exists.
- Real stories — what you built belongs in Discussions.
- Issues and PRs — CONTRIBUTING.md and the features workflow.
Roadmap: Docs/ROADMAP.md. Conduct: CODE_OF_CONDUCT.md.
Dext MCP 질문
Dext Framework for Delphi란 무엇인가요?
Dext는 의존성 주입, ORM, 웹 파이프라인, 텔레메트리 및 테스트를 하나의 생태계로 묶은 Delphi용 네이티브 풀스택 프레임워크입니다.
Dext에 ORM이 포함되어 있나요?
네, Dext는 변경 추적, 지연/즉시 로딩 및 JSON 지원을 갖춘 타입 안정성(type-safe) ORM을 포함합니다. 매직 스트링 대신 Pascal로 쿼리를 생성합니다.
Dext를 통해 MCP로 AI 에이전트에게 API를 노출할 수 있나요?
네, Dext는 네이티브 MCP server를 포함하고 있어 Delphi 비즈니스 규칙을 Claude, Cursor, Antigravity와 같은 에이전트용 도구로 동일 프로세스 내에서 노출할 수 있습니다.
엔티티로부터 REST API를 생성할 수 있나요?
네, 엔티티에 DataApi 속성을 추가하면 페이징, 필터, 역할 및 Swagger를 포함한 전체 REST 엔드포인트가 생성됩니다.
Dext Framework는 상업적 용도로 무료인가요?
Dext는 Apache 2.0 라이선스로 출시되어 상업적 및 기업용으로 무료로 사용할 수 있습니다.