Portal Access
Manage which consumer groups can access portal provider templates and MCP servers.
The Portal Access object
object"consumer.access"requiredidstringrequiredaccess_level"read" | "manage"requirednullablenamestringrequireddescriptionstringrequirednullablereadmestringrequirednullablelistingobjectrequirednullableaccessobjectrequiredconsumer_groupobjectrequiredcreated_atdaterequiredupdated_atdaterequiredEndpoints
List portal access
GET
/portals/:portal_id/accessReturns a paginated list of consumer access rules for a portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
Query parameters
searchstringoptionalconsumer_group_idstring or string[]optionalprovider_template_idstring or string[]optionalmagic_mcp_server_idstring or string[]optionalskill_idstring or string[]optionalskill_template_idstring or string[]optionalskill_group_idstring or string[]optionalskill_marketplace_idstring or string[]optionalskill_plugin_idstring or string[]optionalconsumer_access_listing_idstring or string[]optionaltype"provider_template" | "magic_mcp_server" | "skill" | "skill_template" | "skill_group" | "skill_marketplace" | "skill_plugin" or "provider_template" | "magic_mcp_server" | "skill" | "skill_template" | "skill_group" | "skill_marketplace" | "skill_plugin"[]optionalExample request
Get portal access
GET
/portals/:portal_id/access/:access_idRetrieves a portal access rule by ID.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
access_idstringrequiredThe unique identifier for the access
Example request
Create portal access
POST
/portals/:portal_id/accessCreates a new consumer access rule for the portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
Request body
consumer_group_idstringrequirednamestringoptionaldescriptionstringoptionalnullablereadmestringoptionalnullableaccessobjectrequiredExample request
Update portal access
PATCH
/portals/:portal_id/access/:access_idUpdates the shared listing fields for a portal access rule.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
access_idstringrequiredThe unique identifier for the access
Request body
namestringoptionaldescriptionstringoptionalnullablereadmestringoptionalnullableExample request
Delete portal access
DELETE
/portals/:portal_id/access/:access_idDeletes a consumer access rule from the portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
access_idstringrequiredThe unique identifier for the access