config.json
Global configuration file.
The global configuration file lives at ~/.devto/config.json. It stores authentication credentials and global settings that apply across all projects.
Location
bash
~/.devto/config.jsonSchema
~/.devto/config.json
{ "api_key": "devto_xxxxxxxxxxxx", "anthropic_key": "sk-ant-api03-xxxxxxxxxxxx", "verbose": false}Fields
| Flag | Description |
|---|---|
| api_key | Your devto API key (set by devto login) |
| anthropic_key | Your Anthropic API key for AI-powered planning (set by devto config set anthropic-key) |
| verbose | Enable verbose logging for MCP tool calls (default: false) |
Precedence
Per-project settings in .devto.json override global settings in config.json. Environment variables override both.