mcp-kritisi
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLAUDE_MODEL | No | Claude model. Alias: ANTHROPIC_MODEL. | claude-opus-5 |
| OPENAI_MODEL | No | OpenAI model. | gpt-5.6-sol |
| CLAUDE_API_KEY | No | Claude API key. Alias: ANTHROPIC_API_KEY. | |
| DEEPSEEK_MODEL | No | DeepSeek model. | deepseek-v4-pro |
| OPENAI_API_KEY | No | OpenAI API key. | |
| ANTHROPIC_MODEL | No | Claude model. Alias: CLAUDE_MODEL. | claude-opus-5 |
| KRITISI_RETRIES | No | Retries for network errors and HTTP 429/5xx. | 2 |
| DEEPSEEK_API_KEY | No | DeepSeek API key. | |
| OPENROUTER_MODEL | No | OpenRouter model. | openai/gpt-5.6-sol |
| ANTHROPIC_API_KEY | No | Claude API key. Alias: CLAUDE_API_KEY. | |
| CLAUDE_MAX_TOKENS | No | Claude output token cap. Alias: ANTHROPIC_MAX_TOKENS. | 8192 |
| KRITISI_TIMEOUT_MS | No | Per-request timeout in milliseconds. | 120000 |
| OPENROUTER_API_KEY | No | OpenRouter API key. | |
| KRITISI_CONFIG_PATH | No | Path to a different kritisi config file. Default location is ~/.config/kritisi/config.json or $XDG_CONFIG_HOME/kritisi/config.json. | |
| OPENROUTER_BASE_URL | No | OpenRouter endpoint override. | https://openrouter.ai/api/v1/chat/completions |
| ANTHROPIC_MAX_TOKENS | No | Claude output token cap. Alias: CLAUDE_MAX_TOKENS. | 8192 |
| KRITISI_RETRY_DELAY_MS | No | Base backoff delay; doubles per retry. | 500 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| security_auditA | Audit a Solidity contract with kritisi and return high/medium/low findings. Optionally writes a PDF report. API keys are read from the environment or the kritisi user config, never from tool arguments. |
| natspec_documentA | Generate NatSpec documentation for a Solidity file with kritisi. By default the documented source is returned without touching any file. Set write=true for an in-place update with a .sol.bak backup, or set output to write to a separate file. |
| merge_importsA | Merge a Solidity file and its imports with kritisi (sol-merger). By default the merged source is returned without touching any file; set output to write it. |
| show_configA | Show the effective kritisi provider configuration. API keys are reported as set or unset, never printed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: showing configuration, security auditing, NatSpec documentation, and import merging. There is no meaningful overlap between tool behaviors or target outputs.
All names use consistent snake_case with two-word identifiers, making the set easy to scan. The verb/noun convention is mostly predictable, though security_audit and natspec_document are more noun-oriented than the action-first names.
Four tools is appropriately small for a focused Solidity utility wrapper. Each tool maps to a distinct workflow and none feels redundant or ornamental.
The surface covers configuration visibility, auditing, documentation generation, and import merging, which are the core operations implied by the server. Minor gaps exist around broader Solidity workflows, but the stated purpose is well served.