Server Deployment Template
Store reusable configuration data for MCP servers in a secure vault.
Server Deployment Template object
Attributes
object
Stringid
StringThe unique identifier of the server deployment template
name
StringThe name of the server deployment template
description
StringNullableThe description of the server deployment template
server
Objectcreated_at
DateTimestamp when the server deployment template was created
updated_at
DateTimestamp when the server deployment template was last updated
{"object": "server.server_deployment.template","server": {"object": "server","type": "public","status": "active","variants": [{"object": "server.server_variant","status": "active","server": {"object": "server#preview","type": "public"},"current_version": {"object": "server.server_version","oauth": {"status": "disabled"},"source": {"type": "docker","docker": {}},"schema": {},"server": {"object": "server#preview","type": "public"}},"source": {"type": "docker","docker": {}}},{"object": "server.server_variant","status": "active","server": {"object": "server#preview","type": "public"},"current_version": {"object": "server.server_version","oauth": {"status": "disabled"},"source": {"type": "docker","docker": {}},"schema": {},"server": {"object": "server#preview","type": "public"}},"source": {"type": "docker","docker": {}}}],"metadata": {}}}
List server runs
List all server runs
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalserver_id
UnionOptionalcurl -X GET "https://api.metorial.com/server-deployment-template" \-H "Authorization: Bearer metorial_sk_..."
Get server run
Get the information of a specific server run
URL Parameters
server_deployment_template_id
StringThe unique identifier for the server_deployment_template
curl -X GET "https://api.metorial.com/server-deployment-template/ser_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create server deployment template
Create a new server deployment template
Request Body
name
Stringdescription
StringOptionalserver_id
Stringcurl -X POST "https://api.metorial.com/server-deployment-template" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","server_id": "example_server_id","oauth": {"client_id": "example_client_id","client_secret": "example_client_secret"}}'
Update server deployment template
Update an existing server deployment template
URL Parameters
server_deployment_template_id
StringThe unique identifier for the server_deployment_template
Request Body
name
StringOptionaldescription
StringOptionaloauth
ObjectOptionalcurl -X PATCH "https://api.metorial.com/server-deployment-template/ser_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description","oauth": {"client_id": "example_client_id","client_secret": "example_client_secret"}}'