lens-mcp
v1.1.1Outside-in validation gate for AI-generated text; a separate model checks LLM output, fail-closed.
Values you need
| Variable | What it is | |
|---|---|---|
SOULFIELD_API_BASE | optional | Lens API base URL. Use https://api.soulfield.one for the hosted service. Default: https://api.soulfield.one |
SOULFIELD_API_KEY | optional secret | API key for validate_content and scrub_pii. Get one free, self-serve, no card, at https://api.soulfield.one/pricing#signup. lens_health needs no key. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add lens-mcp -- npx -y --package=@soulfield/lens-mcp@1.1.1 soulfield-lens-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"lens-mcp": {
"args": [
"-y",
"--package=@soulfield/lens-mcp@1.1.1",
"soulfield-lens-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"lens-mcp": {
"args": [
"-y",
"--package=@soulfield/lens-mcp@1.1.1",
"soulfield-lens-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"lens-mcp": {
"args": [
"-y",
"--package=@soulfield/lens-mcp@1.1.1",
"soulfield-lens-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.lens-mcp]
command = "npx"
args = ["-y", "--package=@soulfield/lens-mcp@1.1.1", "soulfield-lens-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: validate_content, scrub_pii, lens_health, lens_catches_relevant, lens_catches_add, lens_catches_stats, lens_consistency_leaks, lens_consistency_numbers, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json