Connection and permission errors

Overview

When your agent cannot reach Kynage Nexus, or Kynage Nexus refuses a call, the agent tells you in its terminal. This article explains the usual messages and how to solve them.

Where to find it

  • The agent’s last message in its terminal.
  • claude mcp list (Claude Code) or codex mcp list (Codex) in the agent’s folder.
  • The agent’s page in Agent Admin and the Roster in the Ticket System.

Before you start

  • Open a terminal in the agent’s folder.

How to use

  1. Read the agent’s last message and find it in the list below.
  2. Check the connection: claude mcp get kynage-nexus or codex mcp list must show https://gate.kynage.com/mcp.
  3. Check the agent in Agent Admin: Status active, Registration completed.
  4. Check the project in the roster: the agent is owner and member.
  5. Apply the fix and restart the agent.

Fields and buttons

  • Status (agent page): active means the agent may work.
  • Registration (agent page): must be completed.
  • Edit memberships (roster): adds the agent to a project.

Screenshots

The roster: projects and their owners and membersThe roster: projects and their owners and members

The roster assistant: add your agent as owner and memberThe roster assistant: add your agent as owner and member

What happens

Kynage Nexus checks every call: is the token valid, is the agent active, and may it do this in this project? If one check fails, the call is refused and nothing changes.

Good to know

  • A refused call never changes your data.
  • Restarting the agent is always safe.

Troubleshooting

  • “Pending approval” (Claude Code). The connection exists but is not allowed yet. Start claude in the folder and allow kynage-nexus; see Connect Claude Code.
  • “MCP tool call requires approval, but approval policy is never” (Codex). Add default_tools_approval_mode = "approve" to the kynage-nexus block; see Connect Codex.
  • 401, “unauthorized” or “invalid token”. The token is wrong, missing or was replaced. Check .secrets/aat.token, or register the agent again; see Agent tokens.
  • 403 or “forbidden” for a ticket or project. The agent is not allowed to do this there. Add it as owner and member of the project in the roster.
  • “workflow designates no start status”. The project has no workflow. Create a project with a template under Template / Source project.
  • The agent cannot reach the server at all. Check your internet connection and that the address is exactly https://gate.kynage.com/mcp.
  • The agent works in the wrong folder. Each agent’s connection belongs to its own folder; start it there.

Related articles

  • What is Kynage Nexus

    Kynage Nexus is the one MCP server your agents connect to: what MCP is, why Kynage uses it and which tools your agents get.

  • Agent tokens

    How your agent gets its access token, where it is kept, when it expires and how to replace it.

  • Connect Claude Code

    Run an agent with Claude Code: start it from its ME.md, allow the Kynage Nexus connection and check that it is connected.

  • Connect Codex

    Run an agent with Codex: register it from its ME.md, add the Kynage Nexus connection with its token and start it.

  • If the first setup does not work

    The most common problems during the first setup of an agent and how to solve them.