Skip to content

Consider Multi-Target Path Proxy #28

@pragmaticivan

Description

@pragmaticivan

Context

Having this deployed in a kubernetes environment would be quite easy as a centralized deployment that can proxy requests to internal hosted MCPs.

Example:

Config: oauth-proxy.yaml

proxies:
  - pattern: "/mcp/foo/"
    target_url: "http://localhost:4000"
  - pattern: "/mcp/bar/"
    target_url: "http://localhost:6000"

Cursor Config:

{
  "mcpServers": {
    "dice": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "http://localhost:8080/mcp/foo/mcp"]
    },
    "uuid": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "http://localhost:8080/mcp/bar/mcp"]
    },
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions