Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,32 @@ The configuration file can be placed in either:
| `exclude_tools` | array | No | `[]` | Tool names to exclude |
| `requires_confirmation` | array | No | `[]` | Tools requiring user confirmation |

### Guarding Local MCP Servers

To inspect stdio MCP tool calls before they reach a local server, wrap the
server command with [Armorer Guard](https://github.com/ArmorerLabs/Armorer-Guard):

```json
{
"mcpServers": {
"filesystem": {
"command": "armorer-guard",
"args": [
"mcp-proxy",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-filesystem",
"/tmp"
]
}
}
}
```

Armorer Guard runs locally and blocks unsafe `tools/call` arguments when it
detects prompt injection, credentials, exfiltration risk, or dangerous actions.

## Example Configuration

```json
Expand Down Expand Up @@ -123,4 +149,4 @@ The configuration file supports comments with `//` syntax:
"api_key": "your-openai-api-key"
}
}
```
```
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,23 @@ This act as alternative client beside Claude Desktop. Additionally you can use a
- The config file can be placed in either `~/.llm/config.json` or `$PWD/.llm/config.json`
- You can comment the JSON config file with `//` if you like to switch around the configuration

To run a local MCP server behind a security gate, wrap its command with
[Armorer Guard](https://github.com/ArmorerLabs/Armorer-Guard):
```json
{
"mcpServers": {
"fetch": {
"command": "armorer-guard",
"args": ["mcp-proxy", "--", "uvx", "mcp-server-fetch"]
}
}
}
```

The proxy inspects MCP tool-call arguments locally for prompt injection,
credential leakage, exfiltration risk, and dangerous actions before
forwarding safe calls.

3. Run the CLI:
```bash
llm "What is the capital city of North Sumatra?"
Expand Down