Skip to content

Commit 89a556d

Browse files
committed
chore: merge with main
2 parents 8839148 + 17b595b commit 89a556d

34 files changed

+3518
-3737
lines changed

.github/workflows/code-health.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
- name: Run tests
3636
run: npm test
3737
env:
38-
TEST_MDB_MCP_VOYAGE_API_KEY: ${{ secrets.TEST_MDB_MCP_VOYAGE_API_KEY }}
38+
SKIP_ATLAS_TESTS: "true"
39+
SKIP_ATLAS_LOCAL_TESTS: "true"
3940
- name: Upload test results
4041
if: always() && matrix.os == 'ubuntu-latest'
4142
uses: actions/upload-artifact@v4
@@ -61,19 +62,41 @@ jobs:
6162
MDB_MCP_API_CLIENT_ID: ${{ secrets.TEST_ATLAS_CLIENT_ID }}
6263
MDB_MCP_API_CLIENT_SECRET: ${{ secrets.TEST_ATLAS_CLIENT_SECRET }}
6364
MDB_MCP_API_BASE_URL: ${{ vars.TEST_ATLAS_BASE_URL }}
64-
run: npm test -- tests/integration/tools/atlas
65+
run: npm test -- tests/integration/tools/atlas/
6566
- name: Upload test results
6667
uses: actions/upload-artifact@v4
6768
if: always()
6869
with:
6970
name: atlas-test-results
7071
path: coverage/lcov.info
7172

73+
run-atlas-local-tests:
74+
name: Run Atlas Local tests
75+
if: github.event_name == 'push' || (github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository)
76+
runs-on: ubuntu-latest
77+
steps:
78+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
79+
- uses: actions/checkout@v5
80+
- uses: actions/setup-node@v4
81+
with:
82+
node-version-file: package.json
83+
cache: "npm"
84+
- name: Install dependencies
85+
run: npm ci
86+
- name: Run tests
87+
run: npm test -- tests/integration/tools/atlas-local/
88+
- name: Upload test results
89+
uses: actions/upload-artifact@v4
90+
if: always()
91+
with:
92+
name: atlas-local-test-results
93+
path: coverage/lcov.info
94+
7295
coverage:
7396
name: Report Coverage
7497
if: always() && (github.event_name == 'push' || (github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository))
7598
runs-on: ubuntu-latest
76-
needs: [run-tests, run-atlas-tests]
99+
needs: [run-tests, run-atlas-tests, run-atlas-local-tests]
77100
steps:
78101
- uses: actions/checkout@v5
79102
- uses: actions/setup-node@v6
@@ -92,6 +115,11 @@ jobs:
92115
with:
93116
name: atlas-test-results
94117
path: coverage/atlas
118+
- name: Download atlas local test results
119+
uses: actions/download-artifact@v5
120+
with:
121+
name: atlas-local-test-results
122+
path: coverage/atlas-local
95123
- name: Merge coverage reports
96124
run: |
97125
npx -y [email protected] "coverage/*/lcov.info" "coverage/lcov.info"

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,13 @@ npx -y mongodb-mcp-server@latest --transport http --httpHost=0.0.0.0 --httpPort=
296296

297297
NOTE: atlas tools are only available when you set credentials on [configuration](#configuration) section.
298298

299+
#### MongoDB Atlas Local Tools
300+
301+
- `atlas-local-list-deployments` - Lists MongoDB Atlas Local deployments
302+
- `atlas-local-create-deployment` - Creates a MongoDB Atlas Local deployment
303+
- `atlas-local-connect-deployment` - Connects to a MongoDB Atlas Local deployment
304+
- `atlas-local-delete-deployment` - Deletes a MongoDB Atlas Local deployment
305+
299306
#### MongoDB Database Tools
300307

301308
- `connect` - Connect to a MongoDB instance

knip.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"eslint-rules/*.js"
88
],
99
"ignore": ["tests/integration/fixtures/curl.mjs", "tests/vitest.d.ts"],
10+
"ignoreDependencies": ["@mongodb-js/atlas-local"],
1011
"ignoreExportsUsedInFile": true
1112
}

0 commit comments

Comments
 (0)