added all mcp
This commit is contained in:
16
mealie-mcp-bundle/server/run.py
Executable file
16
mealie-mcp-bundle/server/run.py
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
# Get the directory where this script is located
|
||||
script_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
# Path to the venv python
|
||||
venv_python = os.path.join(script_dir, 'venv', 'bin', 'python')
|
||||
|
||||
# Path to the actual server
|
||||
server_py = os.path.join(script_dir, 'server.py')
|
||||
|
||||
# Execute the server with the venv python
|
||||
os.execv(venv_python, [venv_python, server_py])
|
||||
Reference in New Issue
Block a user