You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update README with multi-transport guide and quick start
- Add Quick Start section with step-by-step instructions
- Document all transport modes (stdio, streamable-http, sse)
- Add Docker usage examples for all transports
- Update VS Code and Claude Desktop configuration examples
- Update Python version badge to 3.12+
This starts a Trino server on `localhost:8080` with sample TPC-H and TPC-DS data.
54
+
26
55
## Installation
27
56
28
57
### Installing via Smithery
@@ -33,49 +62,73 @@ To install MCP Trino Server for Claude Desktop automatically via [Smithery](http
33
62
npx -y @smithery/cli install @alaturqua/mcp-trino-python --client claude
34
63
```
35
64
36
-
### Running Trino Locally
65
+
### Using uv (Recommended)
66
+
67
+
```bash
68
+
uv sync
69
+
uv run src/server.py
70
+
```
37
71
38
-
The easiest way to get started is to use the included Docker Compose configuration to run Trino locally:
72
+
### Using pip
39
73
40
74
```bash
41
-
docker-compose up -d
75
+
pip install -e .
76
+
python src/server.py
42
77
```
43
78
44
-
This will start a Trino server on `localhost:8080`. You can now proceed with configuring the MCP server.
79
+
## Transport Modes
80
+
81
+
The server supports three transport modes:
82
+
83
+
| Transport | Description | Use Case |
84
+
|-----------|-------------|----------|
85
+
|`stdio`| Standard I/O (default) | VS Code, Claude Desktop, local MCP clients |
86
+
|`streamable-http`| HTTP with streaming | Remote access, web clients, Docker |
87
+
|`sse`| Server-Sent Events | Legacy HTTP transport |
45
88
46
-
### Usage with VS Code
89
+
### Running with Different Transports
47
90
48
-
For quick installation, you can add the following configuration to your VS Code settings. You can do this by pressing `Ctrl + Shift + P` and typing `Preferences: Open User Settings (JSON)`.
91
+
```bash
92
+
# stdio (default) - for VS Code and Claude Desktop
0 commit comments