Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 4 additions & 28 deletions src/serverless/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,37 +40,13 @@ use to get started using the tools:

> _See the [Core](https://github.com/IBM-Cloud/ibmcloud-mcp-server/blob/main/src/core/README.md) for common system prompts to use before these service-specific prompts._

Before creating Power instances, you MUST:

1. Target an existing PowerVS Workspace.
1.1 If a workspace is not currently targeted, list the available workspaces.
1.1.2 If there are no workspaces, assist the user with creating o workspace to use. You will need the resource group, plan and workspace name.
1.1.3 If there is one workspace, target it for future tool calls.
1.1.4 If there are more than one workspace, ask the user to select one to target.
1.2 If a workspace is currently targeted, list workspaces to obtain the CRN of a workspace to target
2. To find power system types (eg. s922, e980, …) that are available in a given datacenter location, list the datacenter locations and include details for each location.
TODO - Add Code Engine specific system prompt

### User Prompts

#### PowerVS Resources (Workspaces, Instances, Volumes, Networks)

- 🗣️ List datacenter locations
- 🗣️ List datacenter locations, including details for each location.
- 🗣️ List datacenter locations, including details for each location in a table format.
- 🗣️ Create a workspace in {{DATACENTER}}, named {{WORKSPACE_NAME}} in the {{RESOURCE_GROUP}} resource group. I want this in public cloud (eg. off-prem).
- 🗣️ Show workspace details
- 🗣️ Create a {{ public | private }} subnet with default CIDR🗣️List all available regional images [in a table format]
- 🗣️ List images [in a table format]
- Note: this shows images for the currently targeted workspace
- 🗣️ Create an instance named {{INSTANCE_NAME}} in the {{WORKSPACE_NAME}} workspace, with the latest {{IMAGE_NAME}} operating system, and minimal cpu/memory profile attached to {{SUBNET_NAME}}
- 🗣️ List the instances in this workspace [in table format]
- 🗣️ Show details of instance {{INSTANCE_NAME}}
- 🗣️ Create a storage volume with minimum size.
- 🗣️ List volumes [in table format]
- 🗣️ Delete instances {{INSTANCE_NAME}}
- 🗣️ Delete volume {{VOLUME_NAME}}
- 🗣️ Delete subnet {{SUBNET_NAME}}
- 🗣️ Delete workspace {SUBNET_NAME}}
#### Code Engine

TODO - Add Code Engine specific user prompts

#### Common Prompts

Expand Down