misc/cpp-mcp g20260331 FreeBSD
Lightweight C++ MCP (Model Context Protocol) SDK
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- misc, devel
- Package size
- 292.0 KiB, 1142.4 KiB installed
Description
Model Context Protocol (MCP) is an open protocol that provides a standardized way for AI models and agents to interact with various resources, tools, and services. This framework implements the core functionality of the MCP protocol, conforming to the 2024-11-05 basic protocol specification.
Core Features: * JSON-RPC 2.0 Communication: Request/response communication based on JSON-RPC 2.0 standard * Resource Abstraction: Standard interfaces for resources such as files, APIs, etc. * Tool Registration: Register and call tools with structured parameters * Extensible Architecture: Easy to extend with new resource types and tools * Multi-Transport Support: Supports HTTP and standard input/output (stdio) communication methods
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/cpp-mcp | g20260331 |
| MidnightBSD | misc/cpp-mcp | g20260331 |
Install
Binary package:
pkg install cpp-mcp
From the ports tree:
cd /usr/ports/misc/cpp-mcp/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cpp-mcp>0:misc/cpp-mcp
LIB_DEPENDS= libmcp.so:misc/cpp-mcp
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | g20260331 | g20260331 | - | - | g20260331 |
| FreeBSD:14:quarterly | g20260331 | g20260331 | n/a | - | g20260331 |
| FreeBSD:15:latest | g20260331 | g20260331 | n/a | - | g20250523 |
| FreeBSD:15:quarterly | g20260331 | g20260331 | n/a | n/a | n/a |
| FreeBSD:16:latest | g20260331 | g20260331 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 15
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake compiler:c++17-lang
- Service scripts
- none
Files
pkg-plist 10
- include/mcp/mcp_client.h
- include/mcp/mcp_logger.h
- include/mcp/mcp_message.h
- include/mcp/mcp_resource.h
- include/mcp/mcp_server.h
- include/mcp/mcp_sse_client.h
- include/mcp/mcp_stdio_client.h
- include/mcp/mcp_thread_pool.h
- include/mcp/mcp_tool.h
- lib/libmcp.so
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| hkr04-cpp-mcp-g20260331-b1a4467_GH0.tar.gz | 512607 | 532b9f111d29b87f637b3d45f836dc2373b059a190c86a3ab0c7bacb30aae6f2 |
Commit history 0
No commits in the history this site was built from.