cURL
curl --request POST \ --url https://api.example.com/servers/{id}/prompts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prompt": { "serverID": "kSuB9Gf6aD4", "promptID": "kSuB9Gf6aD4" } } '
{ "prompt": { "serverID": "kSuB9Gf6aD4", "promptID": "kSuB9Gf6aD4" } }
Enter 'Bearer' followed by a space and your token (e.g., 'Bearer ${HASMCP_ACCESS_TOKEN}').
MCP Server ID
Show child attributes
Prompt associated