anthropics / anthropics/claude-code

[BUG] KIE.ai MCP connector: prepare_media_generation always returns "Host declined the approval request" on Desktop app

Offen
#88,282 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:desktop area:mcp bug platform:windows
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

Every call to the kie-ai MCP connector's prepare_media_generation tool returns "approved": false, "reason": "Host declined the approval request." No
approval prompt is ever shown to the user on the Desktop app. This happens 100% of the time regardless of account credit balance.
Every call to the kie-ai MCP connector's prepare_media_generation tool returns "approved": false, "reason": "Host declined the approval request." No approval prompt is ever shown to the user on the Desktop app. This happens 100% of the time regardless of account credit balance.

### What Should Happen?

The tool should either show the user an approval prompt (elicitation) before spending credits, or the connector should work the same way it does on the CLI, where this approval flow is supported.

### Error Messages/Logs

```shell
KIE.ai MCP connector: prepare_media_generation always returns "Host declined the approval request" on Desktop app
```

### Steps to Reproduce

1. Connect the kie-ai MCP server in Claude Code Desktop
2. Call prepare_media_generation with any valid image generation request
3. Observe the response always has "approved": false, "reason": "Host declined the approval request."
4. No approval UI is ever shown to the user

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

Claude cloude CLi

### Platform

Anthropic API

### Operating System

macOS

### Terminal/Shell

Terminal.app (macOS)

### Additional Information

Every call to the kie-ai MCP connector's prepare_media_generation tool returns "approved": false, "reason": "Host declined the approval request." No approval prompt is ever shown to the user on the Desktop app. This happens 100% of the time regardless of account credit balance.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing prepare_media_generation through the kie-ai MCP server in the Desktop app, then compare its approval or elicitation flow with the CLI, where the issue says it works. Trace the Desktop handling of the returned approval request. Done means the user sees an approval prompt before credits are spent, or the connector behaves consistently with the CLI.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
macos
Bereich
api, desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.