Koskamo

CompactPrompt MCP

A Python module and MCP server that compacts LLM prompts to save tokens and reduce costs while preserving meaning. It trims low-value wording and reversibly shortens repeated phrases, allowing agents to process longer inputs within model limits.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

CompactPrompt MCP logo, by gtkcyberCommunity listingLocal stdioSource reviewed; not executedPublished by gtkcyber
Vendor documentation

What you can do with it

  • Shorten long prompts to reduce token costs
  • Preserve prompt meaning while removing filler words
  • Reversibly abbreviate repeated phrases for efficiency

Source and maintenance

Community listingRegistry 0.5.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

compactprompt 0.5.2

pypi
compactprompt package definition
{
  "version": "0.5.2",
  "transport": "stdio",
  "identifier": "compactprompt",
  "registryType": "pypi"
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "compactprompt-mcp": {
      "command": "uvx",
      "args": [
        "compactprompt==0.5.2"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "compactprompt-mcp": {
      "command": "uvx",
      "args": [
        "compactprompt==0.5.2"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "compactprompt-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "compactprompt==0.5.2"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "compactprompt-mcp": {
      "command": "uvx",
      "args": [
        "compactprompt==0.5.2"
      ]
    }
  }
}

Let your agent find its tools

Find servers like CompactPrompt MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.