Context Rpc
БесплатноПоддерживаетсяMokei shared RPC logic for context client and server
Описание
Mokei shared RPC logic for context client and server
README
TypeScript toolkit for creating, interacting with, and monitoring clients and servers using the Model Context Protocol (MCP).
Features
- MCP Server & Client - Full protocol implementation
- Protocol Revisions - Serves and speaks both
2025-11-25and2026-07-28, selected per context or negotiated automatically - Multi-Context Host - Manage multiple MCP servers with tool namespacing
- Session Management - High-level chat abstraction with tool calling
- Agent Loop - Automatic tool execution with configurable approval
- Model Providers - OpenAI, Anthropic, Ollama, and local GGUF (llama.cpp) integration
- Monitoring - Real-time observation of MCP traffic
- CLI - Interactive chat and server inspection tools
Quick Start
pnpm add @mokei/session @mokei/openai-provider
import { Session } from '@mokei/session'
import { OpenAIProvider } from '@mokei/openai-provider'
const session = new Session({
providers: {
openai: OpenAIProvider.fromConfig({
apiKey: process.env.OPENAI_API_KEY
})
}
})
// Add an MCP server
await session.addContext({
key: 'myserver',
command: 'node',
args: ['my-mcp-server.js']
})
// Chat with tool access
const response = await session.chat({
provider: 'openai',
model: 'gpt-4',
messages: [{ source: 'client', role: 'user', text: 'Hello!' }]
})
Documentation
- Full Documentation - Complete guides and API reference
- Quick Start Guide - Get running in minutes
- docs/ - Local documentation
Packages
| Package | Description |
|---|---|
@mokei/context-server |
MCP server implementation |
@mokei/context-client |
MCP client implementation |
@mokei/host |
Multi-context orchestrator |
@mokei/session |
High-level session management |
@mokei/openai-provider |
OpenAI integration |
@mokei/anthropic-provider |
Anthropic Claude integration |
@mokei/ollama-provider |
Ollama integration |
@mokei/llama-provider |
Local GGUF inference via node-llama-cpp |
@mokei/http-client |
MCP Streamable HTTP client transport |
@mokei/http-server |
MCP Streamable HTTP server transport |
mokei |
CLI tool |
CLI
mokei monitor # Start the monitor UI for MCP server traffic
mokei inspect # Inspect an MCP server (prints how it describes itself)
mokei chat -p openai # Interactive chat
mokei proxy <command> # Proxy an MCP server through the daemon
Contributing
See AGENTS.md for development setup and code style guidelines.
License
MIT
Установить Context Rpc в Claude Desktop, Claude Code, Cursor
unyly install context-rpcСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add context-rpc -- npx -y @mokei/context-rpcПошаговые гайды: как установить Context Rpc
FAQ
Context Rpc MCP бесплатный?
Да, Context Rpc MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Context Rpc?
Нет, Context Rpc работает без API-ключей и переменных окружения.
Context Rpc — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Context Rpc в Claude Desktop, Claude Code или Cursor?
Открой Context Rpc на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
Roblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
Compare Context Rpc with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
