Skip to main content
Glama
stopthegears

Token Compressor MCP

by stopthegears

Token Compressor MCP

Remote MCP server for Claude / Claude Cowork that compresses long context, stores compact reusable summaries, retrieves relevant context by title/tag/query, estimates token savings, and deletes stored records.

Tools

compress_context — compress pasted text without saving it
save_context — save raw text and a compressed summary
retrieve_context — retrieve saved compressed context by query, tag, title, or ID
list_contexts — list saved records
context_stats — show estimated savings
delete_context — delete one record
clear_contexts — delete all records

Related MCP server: Memory Cache MCP Server

Local setup

npm install
npm run dev

Local endpoints after start:

• MCP endpoint: http://localhost:3000/mcp
• Inspector: http://localhost:3000/inspector

Manufact deployment

Manufact / mcp-use projects support npm run dev, npm run build, npm run start, and npm run deploy. The mcp-use docs say local servers expose /mcp for MCP clients and /inspector for testing.

Recommended cloud settings:

Node version: 20+
Build command: npm install && npm run build
Start command: npm run start
MCP endpoint: https://<your-manufact-url>/mcp
Inspector: https://<your-manufact-url>/inspector

Claude Cowork usage

After deployment, add the remote MCP URL as a Claude custom connector.

Test prompts:

Use the token compressor MCP to compress this context without saving it:
[paste non-sensitive text]
Use the token compressor MCP to save this as "Test Context" with tags test, sample:
[paste non-sensitive text]
Retrieve the compressed context for Test Context.

Privacy note

This starter uses in-memory storage. Saved records disappear when the process restarts. That is intentional for a safer first version. Do not store confidential company data in a personal/free cloud server unless approved.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stopthegears/token-compressor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server