Model Context Protocol — Go MCP server + Laravel MCP package
New transport_http.go adds ServeHTTP() using the go-sdk's built-in StreamableHTTPHandler. Supports: - SSE streaming (GET /mcp) for server-to-client notifications - JSON-RPC (POST /mcp) for tool calls - Session management with 30min idle timeout - Bearer token auth via MCP_AUTH_TOKEN env var - Health check at /health (no auth) Transport selection via env vars: - MCP_HTTP_ADDR → Streamable HTTP - MCP_ADDR → TCP - (default) → Stdio Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .core | ||
| cmd | ||
| docs | ||
| pkg/mcp | ||
| src/php | ||
| .gitattributes | ||
| .gitignore | ||
| CLAUDE.md | ||
| composer.json | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
mcp
Model Context Protocol — Go MCP server + Laravel MCP package