Skip to content

Virtual Private Cloud (VPC)

This project provides a Model Context Protocol (MCP) server for tools for working with VPC resources.

Install

See Getting Started for installation instructions.

This configuration uses tools which requires the CLI plugin vpc-infrastructure to be installed. Run the following commands to install the plugins if they are not already installed:

ibmcloud plugin install vpc-infrastructure

⚙️ Configurations

The following example MCP configurations can be found in the configs folder to help get started with code engine use cases:

Each of these configurations also includes the following essential tools:

  • project_* - Working with Code Engine projects and setting the current Code Engine project context for code engine tools.
  • buildruns_* - Working with Code Engine builds and logs
  • assist - Detailed IBM Cloud Assistance "Assist me with IBMCLOUD_TOPIC..."
  • resource-groups - Getting lists of the available resource groups
  • catalog_locations - Getting available regions
  • target - Change the account, resource group, region or cloud API endpoint being used as the current working context for tools.

🗣️ Prompts

The MCP Prompt feature is not currently implemented in the IBM Cloud MCP Servers; however, here are some prompts that you can use to get started using the tools:

System Prompts

✂️ Cut/Paste this section as a system prompt before other User prompts

See the Core for common system prompts to use before these service-specific prompts.

User Prompts

📦 VPC

  • 🗣️ List VPC's
  • 🗣️ List Subnets
  • 🗣️ List locations
  • 🗣️ List Instances
  • 🗣️ List Volumes in a table format

Common Prompts

  • 🗣️ Assist me with IBM_CLOUD_TOPIC
  • 🗣️ What resource groups are in my account?
  • 🗣️ Target the RESOURCE_GROUP_NAME resource group

NOTE: The above commands are from the Core set of tools and included in the code engine configuration examples above. There are many other core commands for working with access, accounts, users, services, resource searching, etc. that can be used simply by adding the tool names to the config.