Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,33 @@ To use this server with the Claude Desktop app, add the following configuration
}
```

## Usage with Cline

To use this server with the Cline, add the `@pash1986/mcp-server-mongodb` part to `cline_mcp_settings.json`:

This example is for windows, for linux/mac you need to change the command to `npx` and remove `/c` and `npx` part from args.

```json
{
"mcpServers": {
"@pash1986/mcp-server-mongodb": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@pash1986/mcp-server-mongodb"
],
"env": {
"MONGODB_URI": "mongodb://localhost:27017/mydb"
},
"disabled": false,
"autoApprove": []
}
}
}
```

Replace `mydb` with your database name and adjust the connection string as needed.

## Example Usage
Expand Down