What are the prerequisites?
Node.js 18+, a Redis server (local or remote), and an Anthropic API key.
@degenhero
基本信息
An MCP server that uses Redis and in-memory caching to optimize and extend context windows for large chat histories
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"context-optimizer-mcp": {
"command": "npx",
"args": [
"mcp",
"install",
"degenhero/context-optimizer-mcp"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
Context Optimizer MCP is an MCP server that uses Redis and in-memory caching to optimize and extend context windows for large chat histories. It acts as a middleware between your application and LLM providers (currently supporting Anthropic's Claude models), automatically summarizing older messages to stay within token limits while preserving key information.
Install using the MCP client (npx mcp install degenhero/context-optimizer-mcp), manually via npm install, or with Docker (docker-compose up -d). Configure environment variables in .env (Anthropic API key, Redis host/port, caching settings). Start the server, then send HTTP POST requests to http://localhost:3000/v1/messages using the standard Anthropic API format, optionally including conversation_id and context_optimization parameters.
conversation_idNode.js 18+, a Redis server (local or remote), and an Anthropic API key.
Copy `.env.example` to `.env` and set `ANTHROPIC_API_KEY`, Redis host/port/password, and caching parameters (e.g., `IN_MEMORY_CACHE_MAX_SIZE`). The server listens on port 3000 by default.
Currently, only Anthropic's Claude models are supported.
The server exposes an HTTP endpoint at `/v1/messages` that is compatible with the Anthropic API. It also provides `/health` and `/metrics` endpoints.
Summarized contexts are cached in both an in-memory LRU cache (for fast access) and Redis (for persistent, distributed storage across server instances).
Painless E2E Automation for Mobile and Web

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
🚀 The fast, Pythonic way to build MCP servers and clients.

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
评论