Fastmcpp (Fastmcp for C++)
9 days ago
- #High-performance
- #C++
- #MCP
- High-performance C++ implementation of the Model Context Protocol (MCP).
- Supports tools, resources, prompts, and multiple transport layers (STDIO, HTTP/SSE, WebSocket).
- C++ port of the Python fastmcp library, providing native performance.
- Status: Beta – core MCP features track the Python fastmcp reference.
- Current version: 2.13.0.
- Core MCP protocol implementation (JSON-RPC).
- Multiple transports: STDIO, HTTP (SSE), WebSocket.
- Tool management and invocation.
- Resources and prompts support.
- JSON Schema validation.
- Middleware for request/response processing.
- Integration with MCP-compatible CLI tools.
- Cross-platform: Windows, Linux, macOS.
- Requires C++17 or later compiler and CMake 3.20 or higher.
- Optional dependencies: libcurl, cpp-httplib, easywsclient.
- Build instructions provided for different platforms.
- Test suite with 24/24 tests passing (100% success rate).
- Example programs included in the examples/ directory.
- Contributions are welcome with guidelines provided.
- Licensed under the Apache License 2.0.
- For issues and questions, use the GitHub issue tracker.