Back to browse
GitHub Repository

Ruby client for the Model Context Protocol (MCP). Latin: one who takes in hand.

28 starsRuby

Manceps – Ruby Client for the Model Context Protocol (MCP)

by obiefernandez·Apr 7, 2026·1 point·0 comments

AI Analysis

●●SolidNiche GemShip It

Ruby MCP client with httpx persistence when other options break persistent connections.

Strengths
  • httpx-backed Streamable HTTP transport handles MCP's session-to-connection binding correctly
  • Framework-agnostic design avoids coupling to specific LLM SDKs like LangChain
  • Experimental OAuth 2.1 with PKCE and automatic token refresh already implemented
Weaknesses
  • Ruby >= 3.4 requirement excludes many production apps still on 3.1 or 3.2
  • OAuth flow untested against diverse authorization servers beyond the author's setup
Target Audience

Ruby developers building MCP integrations

Similar To

MCP TypeScript SDK · FastMCP

Post Description

I built this because existing Ruby options for MCP either don't handle persistent connections properly (MCP servers bind sessions to TCP connections) or couple you to a specific LLM framework.

Manceps is a pure protocol client. Two transports (Streamable HTTP and stdio), built-in auth (bearer, API key, experimental OAuth 2.1 with PKCE), and full 2025-11-25 spec support including protocol negotiation, elicitation, structured output, and notifications.

It uses httpx under the hood for connection persistence. No LLM opinions -- just MCP.

Ruby >= 3.4, MIT licensed.

Similar Projects

Hardware●●Solid

Mcpd – MCP Server SDK for Microcontrollers (ESP32/RP2040)

It actually runs an MCP server on the MCU and pairs it with a Python mcpd-bridge so clients discover devices over mDNS and interact via WebSocket or streamable HTTP/SSE. The feature list — OTA, Prometheus metrics, RFC6570 resource templates, sampling/elicitation and a large set of built-in GPIO/I2C/SPI/ADC tools — reads like someone compressed cloud-grade tooling into firmware; adoption will hinge on the wider MCP client ecosystem catching up.

WizardryNiche Gem
redbasecap
103mo ago