File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -27,25 +27,25 @@ Exercise caution and mitigate the risks by using least-privileged accounts when
27
27
- Octopus Deploy API Key
28
28
29
29
### Command Line
30
- ```
30
+ ``` bash
31
31
npx -y @octopusdeploy/mcp-server
32
32
```
33
33
34
34
Connection details for your Octopus Deploy instance can be supplied either via the command line:
35
- ```
35
+ ``` bash
36
36
npx -y @octopusdeploy/mcp-server --server-url https://your-octopus.com --api-key YOUR_API_KEY
37
37
```
38
38
39
39
Or via environment variables:
40
- ```
40
+ ``` bash
41
41
OCTOPUS_API_KEY=API-KEY
42
42
OCTOPUS_SERVER_URL=https://your-octopus.com
43
43
```
44
44
45
45
<details >
46
46
<summary ><b >Install via JSON config (Cursor, Claude Desktop, etc.)</b ></summary >
47
47
48
- ```
48
+ ``` json
49
49
{
50
50
"mcpServers" : {
51
51
"octopusdeploy" : {
@@ -112,22 +112,22 @@ npx -y @octopusdeploy/mcp-server --toolsets all --read-only --server-url https:/
112
112
This is a temporary workaround until we start publishing preview versions to the public npm registry. The following is assuming you are already signed in to the github registry.
113
113
114
114
1 . In a new folder install dependencies manually:
115
- ```
115
+ ``` bash
116
116
npm install @octopusdeploy/api-client @modelcontextprotocol/sdk commander dotenv zod
117
117
```
118
118
119
119
2 . Create ` .npmrc ` file with the following contents:
120
- ```
120
+ ``` bash
121
121
@octopusdeploy:registry=https://npm.pkg.github.com
122
122
```
123
123
124
124
3 . Install the mcp-server:
125
- ```
125
+ ``` bash
126
126
npm install @octopusdeploy/mcp-server
127
127
```
128
128
129
129
4 . Run it via:
130
- ```
130
+ ``` bash
131
131
npx " your/folders/full/path" -y @octopusdeploy/mcp-server
132
132
```
133
133
You can’t perform that action at this time.
0 commit comments