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.
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
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
leanwall 0.1.1
{
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"leanwall-mcp": {
"command": "uvx",
"args": [
"leanwall==0.1.1",
"serve"
],
"env": {
"LEANWALL_CONFIG": "<YOUR_LEANWALL_CONFIG>"
}
}
}
}Cline
{
"mcpServers": {
"leanwall-mcp": {
"command": "uvx",
"args": [
"leanwall==0.1.1",
"serve"
],
"env": {
"LEANWALL_CONFIG": "<YOUR_LEANWALL_CONFIG>"
}
}
}
}VS Code
{
"servers": {
"leanwall-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"leanwall==0.1.1",
"serve"
],
"env": {
"LEANWALL_CONFIG": "<YOUR_LEANWALL_CONFIG>"
}
}
}
}Claude Desktop
{
"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.