Portal
Use Portals to create custom branded MCP server marketplaces for your organization.
Portal object
Attributes
object
Stringid
Stringstatus
Enumname
Stringslug
Stringdescription
StringNullableallow_consumer_skill_authoring
Booleanallow_consumer_skill_publishing
Booleanskill_configuration
Objectauth
Objecturls
Objectcreated_at
Dateupdated_at
Date{"object": "portal","status": "active","skill_configuration": {"object": "portal.skill_configuration"},"auth": {"object": "portal.auth","allowed_redirect_url_filters": [{},{}]},"urls": [{"type": "default"},{"type": "default"}]}
List portals
Returns a paginated list of portals.
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalsearch
StringOptionalSearch by name or description
curl -X GET "https://api.metorial.com/portals" \-H "Authorization: Bearer metorial_sk_..."
Get portal
Retrieves details for a specific portal.
URL Parameters
portal_id
StringThe unique identifier for the portal
curl -X GET "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create portal
Creates a new portal for the instance.
Request Body
name
Stringdescription
StringOptionalallowed_redirect_url_filters
ObjectOptionalsession_expiry_time_in_seconds
NumberOptionalallow_consumer_skill_authoring
BooleanOptionalallow_consumer_skill_publishing
BooleanOptionalcurl -X POST "https://api.metorial.com/portals" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","allowed_redirect_url_filters": {"url": "example_url"},"session_expiry_time_in_seconds": 0,"allow_consumer_skill_authoring": false,"allow_consumer_skill_publishing": false}'
Update portal
Updates an existing portal for the instance.
URL Parameters
portal_id
StringThe unique identifier for the portal
Request Body
name
StringOptionaldescription
StringOptionalallowed_redirect_url_filters
ObjectOptionalsession_expiry_time_in_seconds
NumberOptionalallow_consumer_skill_authoring
BooleanOptionalallow_consumer_skill_publishing
BooleanOptionalskill_configuration
ObjectOptionalcurl -X PATCH "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","allowed_redirect_url_filters": {"url": "example_url"},"session_expiry_time_in_seconds": 0,"allow_consumer_skill_authoring": false,"allow_consumer_skill_publishing": false,"skill_configuration": {"allow_scripts": false,"allowed_file_extensions": ["example_item"],"allow_non_standard_directories": false}}'
Delete portal
Archives a portal.
URL Parameters
portal_id
StringThe unique identifier for the portal
curl -X DELETE "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."