kiro-discord-bot

Troubleshooting #

MCP Discord Returns 403 #

Separate the two common failure paths:

For local multi-bot setups, verify that the MCP catalog command sources the .env for the bot identity under test. If the visible bot and the credential-owning bot differ, changing permissions for the visible bot will not fix the credential owner's Discord 403 Missing Access.

MCP Scan Says No Route to Host #

If a private LAN MCP URL works from an interactive shell but /mcp manage scan fails under macOS launchd, fix the host/service networking environment first. Check proxy settings, NO_PROXY, route selection, and macOS Local Network permission. Use a relay only as an explicit deployment fallback.

Bot Does Not Respond #

Check:

Response Was Cut Off #

If the bot says the response reached the model output limit, the ACP turn completed with stopReason=max_tokens. Ask the bot to continue in the same channel or thread. The turn is still recorded as completed because ACP returned a final prompt result rather than a transport error.

Thread Reset Says No Thread Agent #

A thread may have conversation history without an active in-memory thread agent. Idle cleanup, archive events, or restart can remove the active agent process. Use a new message in the thread to recreate context when supported, or start from the parent channel if the thread is stale.

Stale Memory Still Affects Replies #

If a removed memory rule still appears to influence the agent, the current ACP agent session may already contain previous turns where the rule was injected. Remove the rule, then run /clear and /reset.

Thread Still Knows Cleared Details #

Thread /clear clears the active thread session, bot-local thread chat log, and saved ACP session metadata. If old details still appear afterward, check:

Deleting Discord messages does not delete historical audit or usage ledgers, but those ledgers are not injected into normal turns unless an authorized audit/tool flow queries them.