Initial commit: Javis project
This commit is contained in:
commit
435c645f36
164 files changed
+35279
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# Run homey-mcp as a local MCP server via stdio transport.
|
||||
# Usage: ./run.sh
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Create virtual environment if it doesn't exist
|
||||
if [ ! -d ".venv" ]; then
|
||||
echo "Creating virtual environment..."
|
||||
python3 -m venv .venv
|
||||
fi
|
||||
|
||||
source .venv/bin/activate
|
||||
|
||||
# Upgrade pip and install dependencies
|
||||
python -m pip install --upgrade pip >/dev/null 2>&1
|
||||
pip install -e . >/dev/null 2>&1
|
||||
|
||||
# Run with stdio transport (default for local MCP clients)
|
||||
export HOMEY_MCP_TRANSPORT="${HOMEY_MCP_TRANSPORT:-stdio}"
|
||||
|
||||
exec python -m homey_mcp "$@"
|
||||
Reference in new issue
Block a user