discovered 03 Aug 2026
nimcp
→ View on GitHubNimCP is a macro-based library designed for creating Model Context Protocol (MCP) servers in Nim, facilitating the integration of these servers with large language model (LLM) applications. It features a macro-driven API for defining servers and tools with a declarative syntax, full support for the MCP specification, multiple transport options (stdio, SSE, HTTP, WebSocket), automatic JSON schema generation, and a robust middleware pipeline. Additionally, it offers enhanced type support, concurrent processing capabilities, and minimal dependencies to optimize performance.