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
[MINOR] docs(mcp): polish MCP server document (#8605)
### What changes were proposed in this pull request?
1. Polish how to start mcp server by docker
2. change `--uri` to `--gravitino-uri`
### Why are the changes needed?
make it more user friendly.
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
just document
Co-authored-by: FANNG <xiaojing@datastrato.com>
Copy file name to clipboardExpand all lines: docs/gravitino-mcp-server.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,15 @@ Gravitino MCP server provides the ability to manage Gravitino metadata for LLM.
31
31
"mcp_server",
32
32
"--metalake",
33
33
"test",
34
-
"--uri",
34
+
"--gravitino-uri",
35
35
"http://127.0.0.1:8090"
36
36
]
37
37
}
38
38
}
39
39
}
40
40
```
41
41
42
-
Or start an HTTP MCP server by `uv run mcp_server --metalake test --uri http://127.0.0.1:8090 --transport http --mcp-url http://localhost:8000/mcp`, and use the configuration:
42
+
Or start an HTTP MCP server by `uv run mcp_server --metalake test --gravitino-uri http://127.0.0.1:8090 --transport http --mcp-url http://localhost:8000/mcp`, and use the configuration:
43
43
44
44
```json
45
45
{
@@ -53,7 +53,7 @@ Or start an HTTP MCP server by `uv run mcp_server --metalake test --uri http://1
53
53
54
54
### Docker instructions
55
55
56
-
You could start Gravitino MCP server by docker image, `docker run -p 8000:8000 apache/gravitino-mcp-server:latest --metalake test --transport http --mcp-url http://0.0.0.0:8000/mcp`. Please note that the MCP server in docker container doesn't support `stdio` transport mode.
56
+
You could start Gravitino MCP server by Docker image, `docker run -p 8000:8000 --network=host apache/gravitino-mcp-server:latest --metalake test --transport http --mcp-url http://0.0.0.0:8000/mcp --gravitino-uri http://127.0.0.1:8090`. Please note that the MCP server in Docker container doesn't support `stdio` transport mode.
57
57
58
58
### Supported tools
59
59
@@ -101,9 +101,9 @@ Gravitino MCP server supports the following tools, and you could export tool by
101
101
102
102
You could config Gravitino MCP server by arguments, `uv run mcp_server -h` shows the detailed information.
103
103
104
-
| Argument | Description | Default value | Required | Since version |
0 commit comments