Skip to main content

Ask for an MCP app and approve it

What you get: any signed-in person can ask for a new MCP server (an "app"). Nothing runs and no tool is available until an approver, a different person, approves the request. The request stays as the record of who asked, who decided, and which image digest or address was approved.

The steps, in short. A person sends a request in the console. An approver approves or denies it. Approval creates the Server. An admin then writes an access rule that gives a group the tools. Until that rule exists, nobody can call the server.

Who can do what​

PersonAsk for a serverApprove or denyWrite the access rule
Anyone signed in to the console (role viewer)YesNoNo
Member of the group ambit-approvers (role approver)YesYes, but not their own requestNo
Member of the group ambit-admins, or the bootstrap admin@ambit.local (role admin)YesYes, but not their own requestYes

The roles come from groups that your identity provider sends. See "Groups and console roles" in Install on your cluster. Nobody can decide on their own request. This includes admins. If an admin asks for a server, another approver or admin must decide.

1. Ask for a server​

Open MCP servers in the console and choose Request a server. Fill in the form:

The MCP servers page, signed in as a person with the role viewer. The Request a server form is open at the right, filled in for a server named jira that is reached by URL, with the sign-in for each user set to Atlassian and a reason in the last field.

FieldWhat to enter
NameThe name the server gets: lowercase letters, digits and dashes, at most 40 characters. Clients see its tools as <name>_<tool>.
Display nameA readable name for the console. Optional.
Where it runsIn the cluster, from a container image: Ambit starts the image. Or Already running elsewhere, reached by URL: Ambit only connects to it.
Image, pinned by digestFor an image. It must look like ghcr.io/org/server@sha256:<64 hex characters>. A tag is refused, because a tag can later point to different code.
Server URLFor a server reached by URL. It must look like https://host/path, without a query string or fragment. Plain http is accepted only for services inside the cluster (*.svc) and for localhost.
Sign-in for each userOnly for a server reached by URL. Choose the app connection when each person must sign in to the vendor with their own account. Admins add connections under Settings, Apps (see App presets).
Transportstdio is the usual choice for an image. streamable-http or sse for a URL (a URL cannot use stdio).
Why your team needs itFree text, at most 2000 characters. The approver reads it.

Choose Send request. The console records your email address from your sign-in as the requester. You cannot type another name.

The console refuses a request when:

  • the name is already used by a server, or by another request that still waits for a decision;
  • both an image and a URL are given, or neither;
  • the image is not pinned by a digest, or the URL is not valid;
  • the connection you chose does not exist.

A request cannot be changed after it is sent. If something is wrong, ask for the server again with the corrected values. An approver can deny the first request.

2. Approve or deny​

An approver sees the request under Waiting for an approver on the MCP servers page. The card shows the name, who asked, the image digest or URL, the transport and the reason.

The MCP servers page, signed in as an approver. Under Waiting for an approver, two requests are shown: jira, reached by URL with each user signing in to Atlassian, and sentry, an image pinned by digest. Each card has a comment field and the buttons Approve and Deny. At the left, the list of servers and the Decisions list show one approved and one denied request.

Check these before you decide:

  • Image: the digest is exactly the code that will run. Approving starts exactly this digest.
  • URL: approving lets the gateway reach this address.
  • Reason: does the team need it?
  • Access: the card reminds you: "Access still needs a rule." Approval alone gives nobody the tools.

Write a comment if you want the requester to know why. The comment is optional, at most 2000 characters, and is kept with the decision. Then choose the Approve or Deny button. Each button carries the server name, for example Approve jira.

Approve creates the Server with the name and settings from the request. The server starts (image) or is checked (URL). Its tools are closed to everyone until an access rule exists.

Deny creates nothing. The request stays in the Decisions list with your comment.

A decision cannot be changed. If two approvers decide at the same moment, the second one gets the message "someone else decided on this request first".

If the name of the server was taken by someone else after the request was sent, approval fails with "a server named ... already exists; deny this request".

GitOps mode​

When the console runs in GitOps mode, approval does not change the cluster. It opens a pull request in your configuration repository with the Server.

  • While the pull request is open, the request shows Pull request open with a link to it. It cannot be approved or denied again until the pull request is merged or closed.
  • When someone merges the pull request, the request shows Approved. The Server appears when Argo CD applies it. The merge is a second review.
  • If the pull request is closed without a merge, the request goes back to Waiting for an approver, with the note "pull request closed without merging". An approver can approve it again, which opens a new pull request, or deny it.
  • If the console cannot reach the Git host, the request shows Pull request state unknown and cannot be decided until it can.

See Install on your cluster, section "Argo CD and GitOps".

3. Give a group the tools​

Approval does not give anyone access. An admin writes an access rule that names the server, the groups and, if wanted, single tools. Follow step 1 of Give an agent tools and apps. For a server with a sign-in for each user, an admin must also choose Use my account to read tools on the MCP servers page, so that the tools are known. See App presets.

What is recorded​

WhereWhat it holds
The ServerRequest object in the namespace ambit-systemSpec: the server name, the full server settings (the image digest or URL, the transport, the connection), the reason, and requestedBy. The creation time is the time of the request. Status: decision (Approved or Denied), decidedBy, decidedAt, comment, and in GitOps mode pullRequest, pullRequestBranch and pullRequestBy (the decision is set when the pull request is merged). Kubernetes refuses a change of the spec and a change of a decision. The object is kept after the decision.
The Server objectThe annotations ambitproject.dev/requested-by, ambitproject.dev/approved-by and ambitproject.dev/server-request (the name of the request). The console shows them as Approved by and "asked for by".
The consoleThe Decisions list under the servers: who asked, who decided, the comment, and the pull request link.
The log of the console podOne line for each request, approval and denial, with the request, the server, the image or URL, and the emails. One warning line for each refused attempt.
The Audit page and the ClickHouse table otel_logs (with evidence.enabled: true)One record for each step: requested, approved, denied, pull-request-opened (GitOps mode), tools-approved and, when the server is removed, removed (new in 0.6.0, experimental) (written by the controller; the person is known only when the console removed it), and one for each refused attempt (approve-refused, deny-refused, tools-approve-refused) with the reason. Each record has the time, the person, their console role, the server, the request, who asked, the image or URL, and the comment. Kept for evidence.retention (default one year), also after the ServerRequest is deleted. See MCP app requests and approvals.
Kubernetes Events on the ServerRequest (or the Server, for tool approvals)One Event for each step and each refused attempt, for example ServerRequestApproved or ServerRequestApproveRefused. Kubernetes keeps Events for one hour by default.

Read the records with kubectl:

kubectl -n ambit-system get serverrequests.ambitproject.dev

Example output (made-up names; the columns are those of the ServerRequest definition):

NAME SERVER REQUESTED BY DECISION DECIDED BY
jira-x7k2p jira user08@example.com Approved user10@example.com

To answer "who approved this server and which image?", open Audit, choose the search MCP app requests and approvals, and choose the dates. The email field is optional: with an email, the page lists the steps that person did and the steps on their requests. Export CSV saves the list. After approval, calls to the new server's tools appear in the search for one person, as for any other server.

kubectl -n ambit-system get events --field-selector involvedObject.name=jira-x7k2p

Removing a server is not recorded on the Audit page. The console has no action that removes an approved server. In GitOps mode you remove it with a pull request, and the Git history records it. Without GitOps you remove it with kubectl, and the Kubernetes audit log of your cluster records it (if your cluster has audit logging on).

What was checked​

The screenshots were made with a mocked console API and made-up data. The kubectl output above is an example. The audit records were checked on a kind cluster (test step 4b, part 8): a request, a refused approval by a viewer, a refused self-approval, an approval, a refused second decision and a denial each became one record in otel_logs and on the Audit page, and one Kubernetes Event.