Skip to content

Commit b519080

Browse files
committed
docs: update set up
Signed-off-by: Shiwei Zhang <shizh@microsoft.com>
1 parent 1ef894f commit b519080

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,31 @@ The ORAS MCP Server can be configured to be run using the [vscode agent mode](ht
66

77
Since this MCP Server requires a local ORAS CLI, please make sure you have installed the [oras](https://github.com/oras-project/oras) (version >= `v1.3.0-beta.1`).
88

9+
### Setup with Docker
10+
11+
It is easier to use docker to run the ORAS MCP Server.
12+
13+
#### Setup for VS Code
14+
15+
Add the following code to `.vscode/mcp.json`:
16+
17+
```json
18+
{
19+
"servers": {
20+
"oras-mcp-server": {
21+
"type": "stdio",
22+
"command": "docker",
23+
"args": [
24+
"run",
25+
"--rm",
26+
"-i",
27+
"ghcr.io/shizhmsft/oras-mcp:main",
28+
]
29+
}
30+
}
31+
}
32+
```
33+
934
## Example Chats
1035

1136
Q: What platform does the image ghcr.io/oras-project/oras support?

0 commit comments

Comments
 (0)