HTTP bridge for Laravel MCP servers - converts stdio to HTTP for LobeChat and other MCP clients
1.4K
# MCP HTTP Bridge for Laravel
HTTP bridge that converts stdio-based MCP (Model Context Protocol) servers to HTTP endpoints, enabling Laravel MCP servers to work with LobeChat and other HTTP-based MCP clients.
## š Quick Start
```yaml
mcp-http-bridge:
image: tvup/mcp-http-bridge:latest
ports:
- "3000:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TARGET_SERVICE=laravel-mcp
Connect your MCP client to http://localhost:3000
| Variable | Default | Description |
|---|---|---|
TARGET_SERVICE | laravel.test | Docker Compose service name |
MCP_COMMAND | php /var/www/html/artisan boost:mcp | Command to execute |
PORT | 3000 | Internal listening port |
[MCP Client] --HTTP POST--> [Bridge] --docker exec--> [MCP Server Container]
ā ā
Auto-detects via labels Runs stdio command
ā ļø Requires Docker socket access - use only in trusted environments
Container not found?
TARGET_SERVICE matches your service namePermission denied?
/var/run/docker.sock:/var/run/docker.sockConnection refused?
docker ps | grep mcp-http-bridge3000:3000MIT
mcp laravel http-bridge docker lobechat model-context-protocol
Content type
Image
Digest
sha256:6962374eeā¦
Size
64.5 MB
Last updated
11 months ago
docker pull tvup/mcp-http-bridge