Slimcontext MCP Server

MCP Server for SlimContext - AI chat history compression tools

Local serverstdioPython

What is the Slimcontext MCP Server?

MCP Server for SlimContext - AI chat history compression tools

What the server does

A Model Context Protocol (MCP) server that wraps the SlimContext library, providing AI chat history compression tools for MCP-compatible clients.

SlimContext MCP Server exposes two powerful compression strategies as MCP tools:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
trim_messagesCompresses chat history using token-based trimming strategy.
summarize_messagesCompresses chat history using AI-powered summarization strategy.

How to install the Slimcontext MCP Server

{
  "mcpServers": {
    "slimcontext": {
      "command": "npx",
      "args": ["-y", "slimcontext-mcp-server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Slimcontext to trim messages.”
  • “Use Slimcontext to summarize messages.”

Frequently asked questions

MCP Server for SlimContext - AI chat history compression tools Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.