mirror of
https://github.com/wso2/open-mcp-auth-proxy.git
synced 2025-06-27 17:13:31 +00:00
fix minor issue
This commit is contained in:
parent
06f0aeb461
commit
3d085008a8
2 changed files with 17 additions and 3 deletions
18
README.md
18
README.md
|
@ -8,7 +8,6 @@ OpenMCPAuthProxy is a security middleware that implements the Model Context Prot
|
|||
|
||||
### Prerequisites
|
||||
- Go 1.20 or higher
|
||||
- A running MCP server (SSE transport supported)
|
||||
|
||||
### Installation
|
||||
```bash
|
||||
|
@ -21,11 +20,26 @@ go build -o openmcpauthproxy ./cmd/proxy
|
|||
|
||||
Create a configuration file `config.yaml` with the following parameters:
|
||||
|
||||
### demo mode configuration:
|
||||
|
||||
```yaml
|
||||
mcp_server_base_url: "http://localhost:8000" # URL of your MCP server
|
||||
listen_address: ":8080" # Address where the proxy will listen
|
||||
```
|
||||
|
||||
### asgardeo configuration:
|
||||
|
||||
```yaml
|
||||
mcp_server_base_url: "http://localhost:8000" # URL of your MCP server
|
||||
listen_address: ":8080" # Address where the proxy will listen
|
||||
|
||||
asgardeo:
|
||||
org_name: "your-org-name"
|
||||
client_id: "your-client-id"
|
||||
client_secret: "your-client-secret"
|
||||
```
|
||||
|
||||
|
||||
## Usage Example
|
||||
|
||||
### 1. Start the MCP Server
|
||||
|
@ -70,7 +84,7 @@ python3 echo_server.py
|
|||
./openmcpauthproxy --demo
|
||||
```
|
||||
|
||||
The `--demo` flag enables a demonstration mode with pre-configured authentication with [Asgardeo](https://asgardeo.io/).
|
||||
The `--demo` flag enables a demonstration mode with pre-configured authentication with [Asgardeo](https://asgardeo.io/) You can also use the `--asgardeo` flag to use your own Asgardeo configuration.
|
||||
|
||||
### 3. Connect Using an MCP Client
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue