devto init

Link the current project directory to a devto workspace.

Links the current directory to a devto workspace and project. Creates a .devto.json configuration file in your project root.

Usage

bash
devto init

What it does

  • -Prompts you to select or create a workspace
  • -Prompts for your provider connection details (Jira instance URL, email, API token)
  • -Validates the connection by testing against your project tracker
  • -Creates .devto.json in the current directory
  • -Registers the MCP server configuration for Claude Code

Example

bash
$ cd ~/my-saas-app
$ devto init
? Select workspace: My Team (my-team.atlassian.net)
? Project key: ENG
✓ Connection verified
✓ Created .devto.json
✓ MCP server configured — restart Claude Code to activate

The .devto.json file

.devto.json
{
"workspaceUrl": "https://my-team.atlassian.net",
"projectKey": "ENG",
"provider": "jira",
"apiKey": "devto_xxxxxxxxxxxx"
}

Add .devto.json to your .gitignore — it contains your API key.