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.json

Schema

~/.devto/config.json
{
"api_key": "devto_xxxxxxxxxxxx",
"anthropic_key": "sk-ant-api03-xxxxxxxxxxxx",
"verbose": false
}

Fields

FlagDescription
api_keyYour devto API key (set by devto login)
anthropic_keyYour Anthropic API key for AI-powered planning (set by devto config set anthropic-key)
verboseEnable 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.