@supertrained/rhumb-mcp
v0.1.0
Published
Model Context Protocol (MCP) server for Rhumb — discovery and access to 50+ agent-native tools
Downloads
56
Maintainers
Readme
Rhumb MCP Server
Agent-native tool discovery via the Model Context Protocol.
Overview
The Rhumb MCP server exposes tool discovery and scoring as MCP tools that any agent framework can call. Agents register the server once and get inline access to:
find_tools— Semantic search for agent tools, ranked by AN Scoreget_score— Detailed AN Score breakdown for a serviceget_alternatives— Related services ranked by scoreget_failure_modes— Known failure patterns for a service
Quick Start
# Development
cd packages/mcp
npm install
npx tsx src/index.tsClaude Desktop
Get started with Claude Desktop in under 5 minutes:
- Build the server:
cd packages/mcp && npm run build - Add the server to
claude_desktop_config.json - Restart Claude Desktop
📖 Full guide: docs/CLAUDE-DEV.md
Integration
For architecture details, tool contracts, handler development, testing patterns, and deployment options:
Framework links
Testing
The test suite is organized into three layers:
| Layer | Files | What it covers |
|-------|-------|----------------|
| Contract | tests/types.contract.test.ts | JSON Schema validity, TypeScript type compliance |
| Unit | tests/server.init.test.ts, tests/tools/*.test.ts | Server init, individual handler logic with mock API clients |
| E2E | tests/e2e.server.test.ts | Full server instance → tool call → response via MCP protocol |
# Run all tests
npm run test
# Run specific test file
npx vitest run tests/e2e.server.test.ts
# Run with verbose output
npx vitest run --reporter=verboseDevelopment
# Run tests
npm run test
# Type-check
npm run type-check
# Build
npm run buildArchitecture
src/index.ts— Entry point, stdio transportsrc/types.ts— Tool I/O contracts (JSON Schema + TypeScript types)src/server.ts— Server initialization + tool registrationsrc/api-client.ts— Rhumb API client (DI-compatible interface)src/tools/— Tool handler implementationstests/— Contract, unit, and end-to-end testsdocs/— Integration and framework guides
