A Node.js client for the MongoDB Stitch (now Atlas App Services) Admin API. Version 1.52.0 is the latest stable release. It provides a convenient wrapper for managing Stitch applications, services, triggers, functions, rules, logs, security, and webhooks via the Admin API. It differs from the official MongoDB Realm Admin SDK by offering a more concise, promise-based interface with built-in authentication using API keys. The package includes TypeScript type definitions and supports both CommonJS and ESM environments. GitHub activity suggests maintenance has slowed; consider using the official @realm-app-services/admin-sdk for new projects.
npm install mongodb-stitch-api-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the client with API keys, fetches all applications, creates a new app, and lists triggers. Uses environment variables for credentials.
Always provide 'projectId' and 'appId' in options unless you are only using application creation/deletion.
Consider migrating to the official @realm-app-services/admin-sdk package.
Use the correct base URL for your account type: check MongoDB Atlas documentation.
No fix needed.
Ensure your API keys are correct and have the required permissions in Atlas.
Verify that 'projectId' and 'appId' are provided and correct.
Use the correct base URL: https://stitch.mongodb.com/api/admin/v3.0 or https://services.cloud.mongodb.com/api/admin/v3.0.