Skip to content

Commit d061543

Browse files
wtrockiCopilotblva
authored
docs: improve getting started experience (#217)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Bianca Lisle <40155621+blva@users.noreply.github.com>
1 parent ec590e8 commit d061543

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,24 @@ Use your Atlas API Service Accounts credentials. Must follow all the steps in [A
8787
}
8888
```
8989

90-
#### Other options
90+
### Option 3: Standalone Service using command arguments
9191

92-
Alternatively you can use environment variables in the config file or set them and run the server via npx.
92+
Start Server using npx command:
93+
94+
```shell
95+
npx -y mongodb-mcp-server --apiClientId="your-atlas-service-accounts-client-id" --apiClientSecret="your-atlas-service-accounts-client-secret"
96+
```
97+
98+
- For a complete list of arguments see [Configuration Options](#configuration-options)
99+
- To configure your Atlas Service Accounts credentials please refer to [Atlas API Access](#atlas-api-access)
100+
101+
#### Option 4: Standalone Service using environment variables
102+
103+
```shell
104+
npx -y mongodb-mcp-server
105+
```
106+
107+
You can use environment variables in the config file or set them and run the server via npx.
93108

94109
- Connection String via environment variables in the MCP file [example](#connection-string-with-environment-variables)
95110
- Atlas API credentials via environment variables in the MCP file [example](#atlas-api-credentials-with-environment-variables)

0 commit comments

Comments
 (0)