Add instructions to run the sample MCP server
This commit is contained in:
parent
28f830dfbf
commit
8d7aab073e
3 changed files with 18 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -18,6 +18,7 @@
|
|||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
.venv
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
|
|
18
README.md
18
README.md
|
@ -31,8 +31,22 @@ go build -o openmcpauthproxy ./cmd/proxy
|
|||
Allows you to just enable authentication and authorization for your MCP server with the preconfigured auth provider powered by Asgardeo.
|
||||
|
||||
If you don’t have an MCP server, follow the instructions given here to start your own MCP server for testing purposes.
|
||||
1. Download [sample MCP server](resources/echo_server.py)
|
||||
2. Run the server with
|
||||
|
||||
1. Navigate to `resources` directory.
|
||||
2. Initialize a virtual environment.
|
||||
|
||||
```bash
|
||||
python3 -m venv .venv
|
||||
```
|
||||
|
||||
3. Install dependencies.
|
||||
|
||||
```
|
||||
pip3 install -r requirements.txt
|
||||
```
|
||||
|
||||
4. Start the server.
|
||||
|
||||
```bash
|
||||
python3 echo_server.py
|
||||
```
|
||||
|
|
1
resources/requirements.txt
Normal file
1
resources/requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
fastmcp==0.4.1
|
Loading…
Add table
Add a link
Reference in a new issue