drio
Open app

Cloud Foundry MCP Server

Source

Cloud Foundry MCP Server

Catalog onlyCatalog onlySTDIO

Overview

Cloud Foundry MCP Server provides an LLM interface for interacting with your Cloud Foundry foundation, built with the Spring AI MCP project.

To use the Cloud Foundry MCP Server, you need to build the server using Maven and configure it with your Cloud Foundry credentials.

  • LLM interface for Cloud Foundry interactions - Built with Spring AI MCP - Customizable server configuration
  1. Managing Cloud Foundry applications through an LLM interface.
  2. Automating deployment processes in Cloud Foundry.
  3. Integrating with other services using Cloud Foundry.

Add to your AI client

Use these steps to connect Cloud Foundry MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "cloud-foundry-mcp-cpage-pivotal": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cloud-foundry-mcp-cpage-pivotal"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "cloud-foundry-mcp-cpage-pivotal": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cloud-foundry-mcp-cpage-pivotal"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "cloud-foundry-mcp-cpage-pivotal": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cloud-foundry-mcp-cpage-pivotal"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "cloud-foundry-mcp-cpage-pivotal": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cloud-foundry-mcp-cpage-pivotal"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cloud-foundry-mcp-cpage-pivotal": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cloud-foundry-mcp-cpage-pivotal"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "cloud-foundry-mcp-cpage-pivotal": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cloud-foundry-mcp-cpage-pivotal"
      ]
    }
  }
}

FAQ

What is required to run the Cloud Foundry MCP Server?

You need Java and Maven installed to build and run the server.

Can I customize the server configuration?

Yes! You can provide your own configuration for the MCP Client.

Is there any documentation available?

Yes, you can find the documentation on the project's GitHub page.