Skip to main content

Connect an AI agent

Your AI agent (Claude, Grok, ChatGPT, Codex, Cursor or another MCP client) can work in NebCore as you. It connects to your organization's NebCore MCP server, signs in as you, and from then on reads what you can read. It changes something only where your admins allow agents to write, and each change waits for your approval: approve it in the console, or tell the agent to approve it.

What the agent gets​

  • Your access, no more. The agent acts as you, at your role. If your role changes, the agent's access changes on its next call. It never holds a password or a cloud credential.
  • Instructions from the server. When it connects, the server tells it what it may do as you, which tools it has and how to ask for access it lacks.
  • NebCore skills. The server hands the agent the NebCore skills it must follow. The agent reads them before its first call, keeps them for the conversation, and reads them again when NebCore publishes a new version.
  • Every action recorded. Each call is recorded under your name, marked with the agent that made it.

Approvals you ask the agent to decide​

The agent decides any approval you may decide, when you tell it to: a change it asked you to approve, your own request, a promotion or a release, and an admin approval. It passes your words for that one decision to NebCore, which records the decision under your name with those words. Without your words NebCore refuses the decision. An agent NebCore runs itself never decides an approval.

What stays yours​

Whatever your role, the agent never does these. NebCore refuses them, and the agent asks you to do them yourself in the console or NebCLI:

  • Turn off the approvals your connection asks for, or change what your organization lets agents do.
  • Release a version to production, or promote a release into the next region.
  • Roll back anything that is deployed.
  • Read or set a secret value.
  • Sign in, set up MFA, manage API keys or change release settings.

Before you start​

  • Your admins allow the agent: in AI Governance, they choose which agents people may connect and whether agents may only read or also write. An agent they have not allowed shows Your admins have not allowed it; choosing it offers Request access.
  • Find your server: in the console, open your avatar menu, Profile, AI agent integrations, Add integration, and choose your agent. The dialog shows the server name (NebCore Platform - <TENANT>) and its URL, and gives one instruction to copy.

Claude Code and Codex​

Use the nebcore-ai plugin. It runs nebcli mcp on your NebCLI login, so no URL or sign-in step is needed in the agent.

  1. Install NebCLI and log in: nebcli login --tenant <slug> (see Quickstart).

  2. In Claude Code, run:

    /plugin marketplace add nebinfra/claude-plugins
    /plugin install nebcore-ai@nebinfra

    In Codex, run codex plugin marketplace add nebinfra/claude-plugins --ref main, then open /plugins, choose NebInfra and install nebcore-ai.

  3. Start a new session and run /mcp. It lists nebcore-ai with the tools your login allows.

Claude (claude.ai and the Claude desktop app)​

  1. In Claude, open Customize, Connectors, Add, Add custom connector. On a Team or Enterprise plan an owner adds it under Organization settings, Connectors, and each member then clicks Connect.
  2. Name it NebCore Platform - <TENANT> and paste the server URL from your profile. Click Continue, keep the detected sign-in settings, and click Add.
  3. Click Connect. The NebCore sign-in opens: sign in, check the agent and its access level, and click Allow.
  4. In a chat, open +, Connectors, and turn NebCore on.

Claude reaches the server from Anthropic's cloud, so your organization's NebCore server must be reachable from the internet.

Grok​

  1. In Profile, Add integration, choose Grok and copy the instruction.
  2. Paste it into a Grok chat. Grok adds the server and opens the NebCore sign-in. You can also add it on grok.com under Connectors, New Connector, Custom, with the server URL.
  3. Sign in, check the agent and its access level, and click Allow. The connection appears in your profile as Grok.

ChatGPT​

  1. In ChatGPT, turn on developer mode and create an app with the server URL, following OpenAI's developer mode guide. Developer mode depends on your ChatGPT plan, and on a business workspace an admin enables it.
  2. Choose OAuth sign-in. The NebCore sign-in opens: sign in and click Allow.

Cursor and other MCP clients​

Add the server URL as a remote MCP server in the client's MCP settings. For Cursor, add it to mcp.json:

{
"mcpServers": {
"nebcore": {
"url": "https://<your server URL>/api/v1/mcp"
}
}
}

The client opens the NebCore sign-in on first use. A client that NebCore does not recognize shows as Custom AI Agent and connects only if your admins allowed it.

Step 2: notifications to your agent​

NebCore can tell your agent when something needs it, such as an approval waiting on you or a failed deploy, by sending events to the agent's own webhook receiver. You set this up in the same Add integration dialog, right after the agent connects. For an agent you connected earlier, ask it for its NebCore notifications status: it answers with a link that opens the dialog at step 2.

  1. Copy the prompt the dialog shows into the agent's chat, and follow the steps listed under it. For Grok, the prompt asks your Grok Bot to create a routine with a webhook trigger, and the steps show where the routine's Webhook section lists its POST to URL and key. The agent never puts the key in the chat, and you never paste it there.
  2. Paste the receiver URL and the webhook key into the two fields and click Connect notifications. NebCore stores them and sends one test event.
  3. Step 2 is done when the receiver answers the test event with a 2xx. If it refuses the test, the dialog shows why at once. If it gives no answer, or answers 408, 429 or a 5xx, NebCore tries again and the dialog reads waiting until the last try. Fix the cause and click Send test again: each click sends a new test event.

You enter the receiver and key yourself, in the dialog. Your browser and password manager do not offer to fill these two fields, since they are not a sign-in. Grok's Webhook section also shows a header: leave it where it is. It is the same key written as Authorization: Bearer <key>, and NebCore sends that header with every event.

What the dialog shows:

ResultWhat it means
Waiting for the receiverThe test event is on its way, or the receiver gave no answer or answered 408, 429 or a 5xx, and NebCore tries again.
Step 2 is doneThe receiver answered the test event with a 2xx. The webhook is verified, and your agent reads step 2 as done.
The receiver refused the test eventThe receiver answered with another status, as Grok does for a wrong key or a paused routine. Check the URL, the key and that the receiver is on, then click Send test again.
The receiver did not take the test eventNebCore tried again until its last try and got no 2xx. Check the URL, then click Send test again.
This address is a NebCore addressThe URL points at NebCore itself, which would answer every event while your agent got nothing. NebCore refuses such a URL when you connect, and stops sending to one saved earlier. Enter your agent's own receiver URL.
At most one test a minuteNebCore sends one test event a minute to a webhook. Wait a minute, then click Send test again.

Change, pause or remove the webhook​

  • New receiver URL or key. Enter both again in step 2 and click Connect notifications. The new values replace the old ones, NebCore sends a new test event, and step 2 is done again when the receiver answers it with a 2xx. Entering the same URL and key changes nothing.
  • Choose which events it gets. Open notification settings from the bell, and under Your agents turn each event on or off for each agent. Your agent can do the same for its own webhook when you ask it to.
  • Pause it. A webhook that is off keeps its receiver and key and gets nothing; Your agents marks it This webhook is off. The console has no single off switch, so to pause from the console, turn its events off under Your agents.
  • Remove it. Ask your agent to remove its webhook. That is an agent write, so it follows your organization's approval rules for agents. Removing a webhook that is already gone is not an error.

Manage or end a connection​

Your profile lists each live connection with its agent and when it was last used. End one there and the agent's next call is refused. Admins see every connection in AI Governance and can end any of them.

Ending a connection also deletes its webhook. When you connect the agent again, the new connection starts without one, so do step 2 again.

When the agent is refused​

  • Read only. Your organization lets agents read only. The agent tells you which admin setting allows writes.
  • Access you lack. The agent can prepare an access request for you to review and send; your approvers decide it.
  • Yours to do. The action is one the agent never takes for you (see What stays yours); the agent tells you where to do it.
  • A change waiting for you. A write the agent made waits for your approval. Approve it in the console, or tell the agent to approve it; the agent reads the outcome after you decide.