Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Context Server

БесплатноНе проверен

Mokei MCP server

GitHubEmbed

Описание

Mokei MCP 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
  • 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, and Ollama integration
  • Monitoring - Real-time observation of MCP traffic
  • CLI - Interactive chat and server inspection tools

Quick Start

npm install @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

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 CLI tool

CLI

mokei monitor            # Start the monitor UI for MCP server traffic
mokei inspect            # Inspect an MCP server (prints its initialize result)
mokei chat -p openai     # Interactive chat

Contributing

See AGENTS.md for development setup and code style guidelines.

License

MIT

from github.com/TairuFramework/mokei

Установить Context Server в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install context-server

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add context-server -- npx -y @mokei/context-server

FAQ

Context Server MCP бесплатный?

Да, Context Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Context Server?

Нет, Context Server работает без API-ключей и переменных окружения.

Context Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Context Server в Claude Desktop, Claude Code или Cursor?

Открой Context Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Context Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai