Skip to content

Commit ceb36fc

Browse files
updated readme to include instructions on Claude Desktop
1 parent 2b55ad8 commit ceb36fc

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,53 @@ Add the following the json configuration
252252
Once done you should see the contrast mcp server appear in the list of MCP servers, if you expand it you should see a list of available tools.
253253
![cline3.png](images/cline3.png)
254254

255+
### Using Claude Desktop
256+
Claude Desktop is a desktop application that allows you to use the Claude AI model locally. It can be configured to use the Contrast MCP server for enhanced functionality.
257+
To setup Claude Desktop with the Contrast MCP server, follow these steps:
258+
In Claude Desktop, go to the settings and then the Developer tab.
259+
![claude1.png](images/claude1.png)
260+
Then select Edit Config and edit the `claude_desktop_config.json` file.
261+
Add the following configuration to the `claude_desktop_config.json` file:
262+
```json
263+
{
264+
"mcpServers": {
265+
"contrastmcp": {
266+
"command": "docker",
267+
"args": [
268+
"run",
269+
"-e",
270+
"CONTRAST_HOST_NAME",
271+
"-e",
272+
"CONTRAST_API_KEY",
273+
"-e",
274+
"CONTRAST_SERVICE_KEY",
275+
"-e",
276+
"CONTRAST_USERNAME",
277+
"-e",
278+
"CONTRAST_ORG_ID",
279+
"-i",
280+
"--rm",
281+
"contrast/mcp-contrast:latest",
282+
"-t",
283+
"stdio"
284+
],
285+
"env": {
286+
"CONTRAST_HOST_NAME": "example.contrastsecurity.com",
287+
"CONTRAST_API_KEY": "xxx",
288+
"CONTRAST_SERVICE_KEY": "xxx",
289+
"CONTRAST_USERNAME": "[email protected]",
290+
"CONTRAST_ORG_ID": "xxx"
291+
}
292+
}
293+
}
294+
}
295+
```
296+
Once you have added the configuration you will need to restart the Claude Desktop application for the change to take effect.
297+
After you have restarted the application, you should be able to use Claude Desktop to interact with the Contrast MCP server. For example :
298+
![claude2.png](images/claude2.png)
299+
300+
301+
255302
### Using oterm
256303
oterm is terminal wrapper for ollama. One of its features is the ability to add MCP servers to specific LLM Models.
257304
https://ggozad.github.io/oterm/

images/claude1.png

173 KB
Loading

images/claude2.png

352 KB
Loading

0 commit comments

Comments
 (0)