Skip to content

Add description for cline usage #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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