Описание
README
MCP is a Free Pascal implementation of the Model Context Protocol It offers classes to implement a MCP server as well as a MCP client.
It also offers the start of a MCP tool server that will allow an AI agent to control Lazarus, and a MCP server that allows a LLM to execute queries on a database. Any database supported by FPC's SQLDB is supported.
License
This code is licensed with the usual FPC LGPL with linking exception license.
Repo layout
The docs directory contains a presentation of the framework given at the Pascal AI workshop organized by Blaise Pascal Magazine on 2025-07-12.
- mcp.lpg This is the project group containing all
- Src/Base contains the source code for all classes to create a MCP server
- Src/Client Contains the units with classes to create a MCP client.
- Src/IDE Contains the packages for Lazarus IDE integration
- Src/proxy Contains the MCP proxy (using the private socket protocol)
- demo Contains a demo project. Simulates a weather service
- dbconnector Contains a MCP server allowing to execute SQL statements on a database/
Installation
- Open the Src/Base/mcpbase.lpk package in the lazarus IDE.
- Open the Src/Client/mcpclient.lpk package in the lazarus IDE.
- Open the Src/Base/mcpdesign.lpk package in the lazarus IDE and install it. This will install 4 components on the component palette on tab MCP.
- if you wish to allow an LLM to control the lazarus IDE, compile and install Src/IDE/mcplazcontrol.lpk to actually allow the LLM to control the IDE, you must use the mcpproxy.
Compiling the programs:
After you have opened the mcpbase.lpk package; you can compile all three sample programs:
- demo/client/mcpclient.lpi (a generic MCP client)
- demo/client/mockserver.pp (a small mock MCP server, to be used for testing)
- demo/weather.lpi (small demo)
- demo/search/mcpsearch.lpi (MCP server to execute web searches using Tavily)
- src/proxy/mcpproxy.lpi (StdIO to Socket transport proxy)
- dbconnector/mcpdbconnector.lpi
Установка Gl Fpc
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/joecare99/gl-fpc-mcpFAQ
Gl Fpc MCP бесплатный?
Да, Gl Fpc MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Gl Fpc?
Нет, Gl Fpc работает без API-ключей и переменных окружения.
Gl Fpc — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Gl Fpc в Claude Desktop, Claude Code или Cursor?
Открой Gl Fpc на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAITemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Compare Gl Fpc with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
