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).

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
MCP Toolbox for Databases is an open source MCP server for databases.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
A curated list of references for MLOps
コメント