arcade-mcp/libs/arcade-mcp-server/arcade_mcp_server
Sterling Dreyer 99c22f0ebb
Ability to run multiple uvicorn workers (#721)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Adds --workers to HTTP mode with validation, refactors server
startup/discovery for multi-process uvicorn, and removes all
Docker-related files/configs.
> 
> - **MCP Server (HTTP mode)**
> - Add `--workers` arg to run multiple uvicorn workers; block `workers
> 1` with `stdio`, and `reload` with multiple workers.
> - Refactor startup: move tool discovery/config into
`create_arcade_mcp_factory()` driven by env vars; use `uvicorn.run(...,
workers=...)` for multi-worker/reload; retain `serve_with_force_quit()`
only for single-worker.
> - Adjust CLI to only discover tools in `stdio` path; HTTP path now
delegates discovery to the factory.
> - **MCPApp**
> - Minor run path cleanup; continue using `serve_with_force_quit()` for
single-worker HTTP.
> - **Ops/Packaging**
> - Remove `docker/` directory and all Dockerfiles, compose/configs, and
docs.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
c5700ac8855173c1e82c6f7e41b30ca173aaec14. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2025-12-10 11:06:24 -08:00
..
auth [TOO-192] Update tdk to add figma typed oauth (#711) 2025-12-05 16:38:12 -03:00
fastapi Local MCP Fixes and Address General Feedback (#586) 2025-09-29 16:00:47 -07:00
managers Rename _meta requirements field to arcade_requirements (#616) 2025-10-14 19:01:05 -07:00
middleware MCP Local (#563) 2025-09-25 15:28:15 -07:00
transports Fix MCP capabilities, examples, tests, and more (#657) 2025-10-30 11:59:00 -07:00
usage Fix race condition (#676) 2025-11-04 15:40:47 -08:00
__init__.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
__main__.py Ability to run multiple uvicorn workers (#721) 2025-12-10 11:06:24 -08:00
context.py Fix MCP capabilities, examples, tests, and more (#657) 2025-10-30 11:59:00 -07:00
convert.py Rename _meta requirements field to arcade_requirements (#616) 2025-10-14 19:01:05 -07:00
exceptions.py Re-import arcade_core errors into arcade_mcp_server (#620) 2025-10-13 17:48:54 -07:00
lifespan.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
logging_utils.py Add startup warnings for missing secrets (#712) 2025-12-05 13:39:04 -08:00
mcp_app.py Ability to run multiple uvicorn workers (#721) 2025-12-10 11:06:24 -08:00
py.typed Inform type checkers that arcade_mcp_server has inline type annotations (#720) 2025-12-09 15:35:15 -08:00
server.py Improve error messages with fix instructions (#713) 2025-12-10 10:16:38 -08:00
session.py Improve error messages with fix instructions (#713) 2025-12-10 10:16:38 -08:00
settings.py Only serve worker endpoints if secret is set (#691) 2025-11-24 14:39:14 -08:00
types.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
worker.py Ability to run multiple uvicorn workers (#721) 2025-12-10 11:06:24 -08:00