BSD Ports

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

SystemPortVersion
FreeBSDmisc/cpp-mcpg20260331
MidnightBSDmisc/cpp-mcpg20260331

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latestg20260331g20260331--g20260331
FreeBSD:14:quarterlyg20260331g20260331n/a-g20260331
FreeBSD:15:latestg20260331g20260331n/a-g20250523
FreeBSD:15:quarterlyg20260331g20260331n/an/an/a
FreeBSD:16:latestg20260331g20260331n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
hkr04-cpp-mcp-g20260331-b1a4467_GH0.tar.gz512607532b9f111d29b87f637b3d45f836dc2373b059a190c86a3ab0c7bacb30aae6f2

Commit history 0

No commits in the history this site was built from.