Koskamo

Leanwall MCP

Leanwall is a local-first firewall and token-compression proxy for Model Context Protocol (MCP) servers. It sits in front of MCP servers to reduce schema and output bloat, redact secrets, prevent tool poisoning, and enforce human approval for write operations. It exposes three meta-tools to agents instead of dozens of individual tool schemas, improving efficiency and security.

Package and access

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

Leanwall MCP logo, by KaushalJogi2002Community listingLocal stdioSource reviewed; not executedPublished by KaushalJogi2002
Vendor documentation

What you can do with it

  • Reduce token usage by compressing tool schemas and results
  • Redact secrets from MCP server outputs before they reach the agent
  • Enforce human approval for write operations to prevent accidental changes
  • Quarantine tools suspected of poisoning or silent modification

Source and maintenance

Community listingRegistry 0.1.1
Maintenance checked

Packages and installation

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

leanwall 0.1.1

pypiuvx
leanwall package definition
{
  "version": "0.1.1",
  "transport": "stdio",
  "identifier": "leanwall",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "packageArguments": [
    {
      "type": "positional",
      "value": "serve"
    }
  ],
  "environmentVariables": [
    {
      "name": "LEANWALL_CONFIG",
      "format": "filepath",
      "description": "Path to leanwall.yaml listing your downstream MCP servers (default: ~/.leanwall/leanwall.yaml, created by `leanwall wrap`)"
    }
  ]
}

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": {
    "leanwall-mcp": {
      "command": "uvx",
      "args": [
        "leanwall==0.1.1",
        "serve"
      ],
      "env": {
        "LEANWALL_CONFIG": "<YOUR_LEANWALL_CONFIG>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "leanwall-mcp": {
      "command": "uvx",
      "args": [
        "leanwall==0.1.1",
        "serve"
      ],
      "env": {
        "LEANWALL_CONFIG": "<YOUR_LEANWALL_CONFIG>"
      }
    }
  }
}

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": {
    "leanwall-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "leanwall==0.1.1",
        "serve"
      ],
      "env": {
        "LEANWALL_CONFIG": "<YOUR_LEANWALL_CONFIG>"
      }
    }
  }
}

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": {
    "leanwall-mcp": {
      "command": "uvx",
      "args": [
        "leanwall==0.1.1",
        "serve"
      ],
      "env": {
        "LEANWALL_CONFIG": "<YOUR_LEANWALL_CONFIG>"
      }
    }
  }
}

Let your agent find its tools

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