Meet Patel commited on
Commit
bd84a4f
·
1 Parent(s): 12c95f8

Update MCP server port to 8000 in run.py and README.md; add .vscode/ to .gitignore

Browse files
Files changed (3) hide show
  1. .gitignore +1 -1
  2. README.md +3 -3
  3. run.py +3 -3
.gitignore CHANGED
@@ -6,7 +6,7 @@ dist/
6
  wheels/
7
  *.egg-info
8
  .cursor/
9
-
10
  # Virtual environments
11
  .venv
12
 
 
6
  wheels/
7
  *.egg-info
8
  .cursor/
9
+ .vscode/
10
  # Virtual environments
11
  .venv
12
 
README.md CHANGED
@@ -121,12 +121,12 @@ python run.py --mode gradio
121
  python run.py --mode both
122
 
123
  # Custom host and port
124
- python run.py --mode mcp --host 0.0.0.0 --mcp-port 8001 --gradio-port 7860
125
  ```
126
 
127
  By default:
128
- - The MCP server runs at http://localhost:8001
129
- - SSE transport is available at http://localhost:8001/sse
130
  - The Gradio interface runs at http://127.0.0.1:7860
131
 
132
  ## MCP Tool Integration
 
121
  python run.py --mode both
122
 
123
  # Custom host and port
124
+ python run.py --mode mcp --host 0.0.0.0 --mcp-port 8000 --gradio-port 7860
125
  ```
126
 
127
  By default:
128
+ - The MCP server runs at http://localhost:8000
129
+ - SSE transport is available at http://localhost:8000/sse
130
  - The Gradio interface runs at http://127.0.0.1:7860
131
 
132
  ## MCP Tool Integration
run.py CHANGED
@@ -11,7 +11,7 @@ import multiprocessing
11
  from pathlib import Path
12
  import socket
13
 
14
- def run_mcp_server(host="0.0.0.0", port=8001, debug=False):
15
  """
16
  Run the MCP server using uv
17
 
@@ -127,8 +127,8 @@ if __name__ == "__main__":
127
  parser.add_argument(
128
  "--mcp-port",
129
  type=int,
130
- default=8001,
131
- help="Port for MCP server (default: 8001)"
132
  )
133
  parser.add_argument(
134
  "--gradio-port",
 
11
  from pathlib import Path
12
  import socket
13
 
14
+ def run_mcp_server(host="0.0.0.0", port=8000, debug=False):
15
  """
16
  Run the MCP server using uv
17
 
 
127
  parser.add_argument(
128
  "--mcp-port",
129
  type=int,
130
+ default=8000,
131
+ help="Port for MCP server (default: 8000)"
132
  )
133
  parser.add_argument(
134
  "--gradio-port",