-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I'm trying to start this server so I can mark the associated listing as tested.
Current Behavior
This is my Dockerfile:
FROM python:3.10
RUN pip install uv
WORKDIR /app
RUN git clone https://github.com/szeider/mcp-solver .
RUN uv sync
CMD ["uv", "run", "mcp-solver"]When I run it, I get the following error:
/app/.venv/lib/python3.10/site-packages/minizinc/__init__.py:26: RuntimeWarning: MiniZinc was not found on the system. No default driver could be initialised.
warnings.warn(
Traceback (most recent call last):
File "/app/.venv/bin/mcp-solver", line 8, in <module>
sys.exit(main())
File "/app/src/mcp_solver/server.py", line 277, in main
asyncio.run(serve())
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/src/mcp_solver/server.py", line 19, in serve
model_mgr = ModelManager()
File "/app/src/mcp_solver/model_manager.py", line 22, in __init__
self.solver = Solver.lookup(solver_name)
File "/app/.venv/lib/python3.10/site-packages/minizinc/solver.py", line 135, in lookup
assert driver is not None
AssertionError
Is there a way to install all dependencies using uv sync here?
Expected Behavior
The server should start correctly when using uv run.
Suggested Improvement
Could you provide a complete example in the README showing how to start the server using uv run?
This would improve usability for devel
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels