Skip to content

[Bug]: MCP issues handler ignores dryRun parameter #25

@kryptobaseddev

Description

@kryptobaseddev

What happened?

The issues domain handler in mcp-server/src/domains/issues.ts does not pass --dry-run to the CLI when params.dryRun is true. This causes real GitHub issues to be created even when dryRun: true is passed. The IssueCreateParams interface also lacks the dryRun field. Found during v0.94.0 regression testing — test issues #22, #23, #24 were created unintentionally.

Severity: Major
Area: mcp

Are you using an AI agent?

Yes - AI agent filed this issue


Environment

Component Version
CLEO 0.94.1
Bash 5.3.0(1)-release
jq jq-1.8.1
OS Linux 6.18.8-200.fc43.x86_64 x86_64
Shell bash
gh CLI gh version 2.86.0 (2026-01-21)
Install /home/keatonhoskins/.local/bin/cleo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage and prioritization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions