Spaces:
Sleeping
Sleeping
Meet Patel
commited on
Commit
·
3579b60
1
Parent(s):
05e9d9c
Refactor requirements and update Vercel configuration for deployment
Browse files- mcp_server/requirements.txt +1 -14
- mcp_server/vercel.json +6 -3
mcp_server/requirements.txt
CHANGED
@@ -3,21 +3,8 @@ uvicorn>=0.15.0
|
|
3 |
aiohttp>=3.8.0
|
4 |
python-multipart>=0.0.5
|
5 |
pydantic>=1.8.0
|
6 |
-
gradio>=4.19.0
|
7 |
-
numpy>=1.24.0
|
8 |
-
pillow>=10.0.0
|
9 |
python-jose[cryptography]>=3.3.0
|
10 |
passlib[bcrypt]>=1.7.4
|
11 |
python-dotenv>=0.19.0
|
12 |
httpx>=0.24.0
|
13 |
-
|
14 |
-
pytest-asyncio>=0.18.0
|
15 |
-
pytest-cov>=3.0.0
|
16 |
-
black>=22.0.0
|
17 |
-
isort>=5.10.0
|
18 |
-
mypy>=0.910
|
19 |
-
ruff>=0.0.262
|
20 |
-
networkx>=3.0
|
21 |
-
matplotlib>=3.5.0
|
22 |
-
PyMuPDF>=1.19.0
|
23 |
-
pytesseract>=0.3.8
|
|
|
3 |
aiohttp>=3.8.0
|
4 |
python-multipart>=0.0.5
|
5 |
pydantic>=1.8.0
|
|
|
|
|
|
|
6 |
python-jose[cryptography]>=3.3.0
|
7 |
passlib[bcrypt]>=1.7.4
|
8 |
python-dotenv>=0.19.0
|
9 |
httpx>=0.24.0
|
10 |
+
mcp[cli]>=1.9.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mcp_server/vercel.json
CHANGED
@@ -2,14 +2,17 @@
|
|
2 |
"version": 2,
|
3 |
"builds": [
|
4 |
{
|
5 |
-
"src": "./
|
6 |
-
"use": "@vercel/python"
|
|
|
|
|
|
|
7 |
}
|
8 |
],
|
9 |
"routes": [
|
10 |
{
|
11 |
"src": "/(.*)",
|
12 |
-
"dest": "/
|
13 |
}
|
14 |
]
|
15 |
}
|
|
|
2 |
"version": 2,
|
3 |
"builds": [
|
4 |
{
|
5 |
+
"src": "./vercel_server.py",
|
6 |
+
"use": "@vercel/python",
|
7 |
+
"config": {
|
8 |
+
"pip": ["--requirement", "vercel_requirements.txt"]
|
9 |
+
}
|
10 |
}
|
11 |
],
|
12 |
"routes": [
|
13 |
{
|
14 |
"src": "/(.*)",
|
15 |
+
"dest": "/vercel_server.py"
|
16 |
}
|
17 |
]
|
18 |
}
|