Skip to main content
Version: Dev

Review and Approve MCP ServersAISIX Enterprise & Cloud

Available with AISIX Enterprise and AISIX Cloud

An MCP server registry entry gives agents a gateway-managed tool surface backed by an upstream MCP server or REST API. Publishing the entry lets agents invoke remote operations with caller-supplied arguments. The control plane therefore separates registration from publication: every MCP server carries an approval_status, and only an approved server is sent to the gateways.

A server that is waiting for review, or that was rejected, has no presence on the gateway at all. It does not appear in tools/list and its tools cannot be called, even by a caller API key that explicitly allowlists them. Approval is required for publication; the enabled flag then controls whether the approved server can serve tools.

This separation lets a member propose an MCP server without being able to publish it. It also prevents a different configuration from inheriting an approval: a change either comes from someone who can approve it, or waits for review. A live server keeps serving its approved configuration while a proposed change waits, so the review causes no downtime.

Prerequisites​

Before starting, prepare the following:

  • An AISIX organization and environment.
  • For Dashboard workflows, a signed-in account with the submission or reviewer permissions described below.
  • For Admin API workflows, an admin token with write scope from an identity with the mcp_server_submissions or mcp_servers permissions required by the task, cURL, and jq.

For AISIX Enterprise, the AISIX Enterprise getting-started guide creates the organization, environment, and write-scoped admin token. To request AISIX Cloud access, contact API7. Export the values used by the examples:

# AISIX_CP includes /api and has no trailing slash
# The local AISIX Enterprise quickstart uses http://localhost:8080/api
export AISIX_CP="YOUR_AISIX_CONTROL_PLANE_API_URL"
export AISIX_TOKEN="YOUR_ADMIN_TOKEN"
export ENV_ID="YOUR_ENVIRONMENT_ID"

How the Review Workflow Works​

approval_statusOn the gatewaysReached by
pending_reviewNot projectedSubmitting a server, or revising a proposal.
approvedProjected to allowed_environmentsApproving it, or registering it with POST /mcp_servers.
rejectedNot projectedRejecting it.

A change proposed to a server that is already live does not move it out of approved. The change waits in a separate pending_change field while every other field keeps describing what the gateways are serving. See Submit a Change to a Live Server.

Servers registered before this feature was introduced are approved, so upgrading does not interrupt tool traffic.

Configure Reviewer Permissions​

Separate submitters from publishers with resource permissions:

RolePermissionsCapabilities
Approver or direct publishercreate and update on mcp_serversRegister, approve, reject, and edit live servers. Owners and admins already hold these permissions.
Submittercreate and update on mcp_server_submissions, without the corresponding mcp_servers permissionsPropose servers, revise pending submissions, and stage changes to live servers without publishing them.

Use a custom role for a team that integrates its own tooling but must not publish it. Grant delete on mcp_servers separately when the role should remove registry entries.

Submit a Server for Review​

  1. Open MCP servers and select Submit MCP server.
  2. Enter runbooks as the name and https://mcp.example.com/runbooks as the URL.
  3. Choose None for authentication and select the target environment.
  4. Select Submit MCP server.
  5. Confirm that the saved row shows Pending review and appears in the waiting band. The server remains unpublished.
MCP servers page with a waiting-review band and a pending unpublished server

Review a Pending Server​

  1. Select Show what is waiting, or choose Awaiting review under Filter by review status.
  2. Open the proposal and review its URL, environments, authentication mode, and enabled state.
  3. For an OpenAPI proposal, review the generated tools. Use the Admin API single-server read when you must inspect the stored document.
  4. Select Approve and confirm publication, or select Reject, enter a Reason, and confirm.

To revise the proposal without deciding it:

  1. Select Edit.
  2. Change the fields and select Save.

The server remains pending and unpublished.

Confirmation dialog for approving and publishing a pending MCP server

Revise a Pending Submission​

  1. Select Edit on the pending server.
  2. Correct its configuration and select Save.
  3. Confirm that the revised server returns to the review queue and remains unpublished.

Submit a Change to a Live Server​

  1. Select Edit on the approved server.
  2. Change its configuration and select Save.
  3. Confirm that the current configuration remains live while the row shows Change awaiting review.

Review a Change to a Live Server​

  1. Choose Awaiting review under Filter by review status.
  2. Open the approved server with Change awaiting review and inspect the fields that would change.
  3. For an OpenAPI replacement, verify the replacement's provenance during submission. The pending response exposes its source URL and generated tool names but not the raw staged document.
  4. Select Apply the proposed change and confirm Approve, or select Discard the proposed change, enter a Reason, and confirm Discard change.

Update a Live Server as an Approver​

  1. Select Edit on the approved server.
  2. Update the configuration and select Save.
  3. Confirm that the change publishes immediately without entering the review queue.

Use this path to rotate a credential or make another approved operational change.

Revoke an Approval​

Rejecting an approved server that carries no staged change revokes the server itself: it is withdrawn from every environment it was serving, and callers lose its tools. Use it when an upstream stops being trustworthy.

  1. Select Revoke approval.
  2. Enter the reason and confirm.
  3. Confirm that the entry remains available for correction and later approval.

A user with delete permission can instead select Delete and confirm to remove the registry entry.

MCP server rejection form with a field for the review reason

Audit Trail​

Each mutation in this workflow is recorded in the organization audit log with the time and, where applicable, the server's before and after state. User-session actions include the acting user; admin-token actions do not carry a user ID.

ActionRecorded when
submitA server is proposed for review, or a change is proposed to a live server.
createA server is registered directly and published.
approveA server is approved, or a staged change is applied.
rejectA server is rejected, an approval is revoked, or a staged change is discarded.
updateA server's configuration is changed.
deleteA server is removed.

Read them from the audit log in the dashboard, filtered to resource type mcp_server. This dashboard audit route is not an Admin API operation authenticated with an admin token.

Next Steps​

You now understand how AISIX Enterprise and AISIX Cloud separate MCP server submission from publication. Use these guides to register servers directly or govern caller access: