@@ -58,7 +58,7 @@ Toolset Name: `logs`
58
58
59
59
## Quickstart
60
60
61
- ### Build from source
61
+ ### Build from Source
62
62
63
63
1 . Clone the repository:
64
64
``` bash
@@ -76,6 +76,19 @@ go build -o cmd/harness-mcp-server/harness-mcp-server ./cmd/harness-mcp-server
76
76
HARNESS_API_KEY=your_api_key HARNESS_DEFAULT_ORG_ID=your_org_id HARNESS_DEFAULT_PROJECT_ID=your_project_id ./cmd/harness-mcp-server/harness-mcp-server stdio
77
77
```
78
78
79
+ ### Use Docker Image
80
+
81
+ Alternatively, you can use the pre-built Docker image:
82
+
83
+ ``` bash
84
+ docker run -i --rm \
85
+ -e HARNESS_API_KEY=your_api_key \
86
+ -e HARNESS_DEFAULT_ORG_ID=your_org_id \
87
+ -e HARNESS_DEFAULT_PROJECT_ID=your_project_id \
88
+ -e HARNESS_BASE_URL=your_base_url \
89
+ harness/mcp-server stdio
90
+ ```
91
+
79
92
### Claude Desktop Configuration
80
93
81
94
On MacOS: ` ~/Library/Application\ Support/Claude/claude_desktop_config.json `
@@ -113,6 +126,8 @@ To use the Harness MCP Server with Windsurf:
113
126
114
127
1 . Add the server configuration to your Windsurf config file:
115
128
129
+ ### Using Local Binary
130
+
116
131
``` json
117
132
{
118
133
"mcpServers" : {
@@ -130,6 +145,39 @@ To use the Harness MCP Server with Windsurf:
130
145
}
131
146
```
132
147
148
+ ### Using Docker Image
149
+
150
+ ``` json
151
+ {
152
+ "mcpServers" : {
153
+ "harness" : {
154
+ "command" : " docker" ,
155
+ "args" : [
156
+ " run" ,
157
+ " -i" ,
158
+ " --rm" ,
159
+ " -e" ,
160
+ " HARNESS_API_KEY" ,
161
+ " -e" ,
162
+ " HARNESS_DEFAULT_ORG_ID" ,
163
+ " -e" ,
164
+ " HARNESS_DEFAULT_PROJECT_ID" ,
165
+ " -e" ,
166
+ " HARNESS_BASE_URL" ,
167
+ " harness/mcp-server" ,
168
+ " stdio"
169
+ ],
170
+ "env" : {
171
+ "HARNESS_API_KEY" : " <YOUR_API_KEY>" ,
172
+ "HARNESS_DEFAULT_ORG_ID" : " <YOUR_ORG_ID>" ,
173
+ "HARNESS_DEFAULT_PROJECT_ID" : " <YOUR_PROJECT_ID>" ,
174
+ "HARNESS_BASE_URL" : " <YOUR_BASE_URL>"
175
+ }
176
+ }
177
+ }
178
+ }
179
+ ```
180
+
133
181
## Development
134
182
135
183
### Command Line Arguments
@@ -172,7 +220,3 @@ npx @modelcontextprotocol/inspector /path/to/harness-mcp-server stdio
172
220
```
173
221
174
222
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
175
-
176
- ## To do
177
-
178
- Add Docker image for easier use
0 commit comments