POST /api/mcp/:serverName/prompts/:promptName
Execute a prompt on an MCP server.
POST /api/servers/:serverName/prompts/:promptName/toggle
Enable or disable a prompt.
PUT /api/servers/:serverName/prompts/:promptName/description
Update the description of a prompt.
Get a Prompt
Execute a prompt on an MCP server and get the result.-
Endpoint:
/api/mcp/:serverName/prompts/:promptName -
Method:
POST - Authentication: Required
-
Parameters:
:serverName(string, required): The name of the MCP server.:promptName(string, required): The name of the prompt.
-
Body:
arguments(object, optional): Arguments to pass to the prompt.
-
Response:
Toggle a Prompt
Enable or disable a specific prompt on a server.- Endpoint:
/api/servers/:serverName/prompts/:promptName/toggle - Method:
POST - Authentication: Required
- Parameters:
:serverName(string, required): The name of the server.:promptName(string, required): The name of the prompt.
- Body:
enabled(boolean, required):trueto enable the prompt,falseto disable it.
Update Prompt Description
Update the description of a specific prompt.- Endpoint:
/api/servers/:serverName/prompts/:promptName/description - Method:
PUT - Authentication: Required
- Parameters:
:serverName(string, required): The name of the server.:promptName(string, required): The name of the prompt.
- Body:
description(string, required): The new description for the prompt.