Developer Tools stdio

Context Mode

Created by mksglu

Optimizes large language model interactions by significantly reducing context window data and ensuring session continuity.

How to Connect & Install

Select your client or environment below to copy the verified, ready-to-run installation configuration.

1-line autonomous agent setup instruction. Paste into Claude Code, Codex CLI, or Cursor Agent:
Fetch and configure Model Context Protocol (MCP) server Context Mode from https://www.fastmcp.dev/server/context-mode

Agents automatically discover, install, and execute the server spec without manual token setup.

Connect via direct Stateless MCP v2 / Streamable HTTP endpoint or JSON-RPC:
https://github.com/mksglu/context-mode

Stateless edge endpoint compliant with MCP 2024-11-05 and v2 draft protocol specs.

Includes server instructions and tool definitions for Claude:
claude mcp add context-mode -- npx -y context-mode

Run in terminal to register server in current project or pass --scope user for global availability.

Configures server instructions and tools for OpenAI Codex & ChatGPT Desktop:
[mcp_servers.context_mode] command = "npx" args = ["-y","context_mode"]

Applies to ChatGPT Desktop app, Codex CLI, and IDE extension across your Codex host.

Add to Cursor project settings (.cursor/mcp.json) or Cursor Settings > Features > MCP:
{ "mcpServers": { "context-mode": { "type": "stdio", "command": "npx", "args": [ "-y", "context-mode" ] } } }

Commit to version control to allow teammates to connect immediately.

Install as an autonomous Agent Skill using the standard skills CLI:
npx skills add https://github.com/mksglu/context-mode

Standard agent skill installer compatible with Claude Code, Cursor, and agy harnesses.

Server Guidance & Instructions OpenAI & Claude Spec Compliant
Context Mode: Optimizes large language model interactions by significantly reducing context window data and ensuring session continuity. Key capabilities: Specialized Sandbox Tools: Offers tools like ctx_execute (run code with minimal context output), ctx_index (chunk markdown into FTS5), and ctx_fetch_and_index (fetch and index web content).; Automated Hook Management: Provides platform-specific hooks to intercept and redirect data-heavy commands, ensuring consisten...

Codex and Claude read this instruction prompt during initialization to orchestrate cross-tool workflows and rate limits.

Top Core Functions
01 Context Mode core workflow integration
02 Tool execution & context bridging
03 AI coding agent automation