Metadata-Version: 2.4
Name: oracle.oci-load-balancer-mcp-server
Version: 1.0.0
Summary: An OCI Model Context Protocol server for load-balancer
Project-URL: Changelog, https://github.com/oracle/mcp/blob/main/src/oci-load-balancer-mcp-server/CHANGELOG.md
Author-email: Oracle MCP <237432095+oracle-mcp@users.noreply.github.com>
License-Expression: UPL-1.0
License-File: LICENSE.txt
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.13
Requires-Dist: fastmcp==3.2.4
Requires-Dist: oci==2.173.1
Requires-Dist: pydantic==2.12.3
Description-Content-Type: text/markdown

# OCI Load Balancer MCP Server

This server provides tools for interacting with Oracle Cloud Infrastructure (OCI) Load Balancer service.

## MCP client configuration (recommended)

Most users should configure their MCP client to launch the server, rather than starting it manually.

Add a stanza like this to your MCP client config (often called `mcp.json`; example shown is **stdio**):

```json
{
  "mcpServers": {
    "oci-load-balancer": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "oracle.oci-load-balancer-mcp-server"
      ],
      "env": {
        "OCI_CONFIG_PROFILE": "DEFAULT"
      }
    }
  }
}
```

For HTTP transport, start the server with:

```sh
ORACLE_MCP_HOST=<bind_host> \
ORACLE_MCP_PORT=<port> \
ORACLE_MCP_BASE_URL=<public_base_url> \
OCI_REGION=<region> \
IDCS_DOMAIN=<idcs_domain> \
IDCS_CLIENT_ID=<client_id> \
IDCS_CLIENT_SECRET=<client_secret> \
IDCS_AUDIENCE=<audience> \
uvx oracle.oci-load-balancer-mcp-server
```

Register `${ORACLE_MCP_BASE_URL}/auth/callback` in the OCI IAM confidential application. If `IDCS_REQUIRED_SCOPES` is unset, the default is `openid profile email oci_mcp.load_balancer.invoke`. `stdio` uses the configured OCI CLI profile; HTTP uses the authenticated OCI IAM user.
