Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Context Server

FreeMaintained

Mokei MCP server

GitHubEmbed

About

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
  • Protocol Revisions - Serves and speaks both 2025-11-25 and 2026-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

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

from github.com/TairuFramework/mokei

Install Context Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install context-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

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

Step-by-step: how to install Context Server

FAQ

Is Context Server MCP free?

Yes, Context Server MCP is free — one-click install via Unyly at no cost.

Does Context Server need an API key?

No, Context Server runs without API keys or environment variables.

Is Context Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Context Server in Claude Desktop, Claude Code or Cursor?

Open Context Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Changes

Versions and requested access over time.

  • New version published
  • New version published
  • New version published
  • New version published

Related MCPs

Compare Context Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs