Quick deployment of PromptX MCP Server using Docker.
# Pull and run from Docker Hub
docker run -d \
-p 5203:5203 \
-v $(pwd)/.promptx:/root/.promptx \
--name promptx \
deepracticexs/promptx:latestcd docker
docker-compose up -d# Build image locally
docker build -t deepracticexs/promptx -f docker/Dockerfile .
# Run container
docker run -d \
-p 5203:5203 \
-v $(pwd)/.promptx:/root/.promptx \
--name promptx \
deepracticexs/promptxThe MCP server runs in HTTP mode by default on port 5203 with CORS enabled.
{
"mcpServers": {
"promptx": {
"type": "streamable-http",
"url": "http://127.0.0.1:5203/mcp"
}
}
}PromptX data is stored in ./.promptx directory next to docker-compose.yml by default.
This includes:
- User roles
- Memory data
- Configuration files
You can customize the data location using the PROMPTX_DATA environment variable:
# Use custom data directory
PROMPTX_DATA=/path/to/data docker-compose up -d
# Or export it
export PROMPTX_DATA=/home/user/.promptx
docker-compose up -dPROMPTX_DATA: Custom data directory path (default:./.promptx)NODE_ENV: Set toproductionby default- Port: 5203 (exposed)
- The container runs as root user
- Data is persisted in local
.promptxfolder - CORS is enabled for web access