File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments