Skip to content
Draft
Show file tree
Hide file tree
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
23 changes: 22 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,27 @@ on:
permissions:
contents: read
jobs:
javascript:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: "26"
cache: npm
cache-dependency-path: src/oci-javascript-mcp-server/package-lock.json

- name: Install dependencies
working-directory: src/oci-javascript-mcp-server
run: npm ci

- name: Test, coverage, type check, and package verification
working-directory: src/oci-javascript-mcp-server
run: npm run ci

build:
runs-on: ubuntu-latest
needs: get-directories
Expand Down Expand Up @@ -77,7 +98,7 @@ jobs:
- name: Get directories
id: get-directories
run: |
directories=$(ls src | grep -v dbtools-mcp-server | grep -v mysql-mcp-server | grep -v oci-pricing-mcp-server | grep -v oracle-db-doc-mcp-server | grep -v oracle-db-mcp-java-toolkit | jq -R -s -c 'split("\n")[:-1]')
directories=$(ls src | grep -v dbtools-mcp-server | grep -v mysql-mcp-server | grep -v oci-javascript-mcp-server | grep -v oci-pricing-mcp-server | grep -v oracle-db-doc-mcp-server | grep -v oracle-db-mcp-java-toolkit | jq -R -s -c 'split("\n")[:-1]')
echo "directories=$directories" >> $GITHUB_OUTPUT

combined-coverage:
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ Use [`oci-api-mcp-server`](src/oci-api-mcp-server/README.md) instead when you sp

Choose one of the other purpose-built servers when you already know the Oracle product or OCI domain you want to work with. These servers target specific service and product workflows rather than providing a general OCI entry point. Browse the [`src/`](src/) directories and read the relevant `src/<server>/README.md` before configuring one.

For the experimental Node.js code-execution workflow, see
[`oci-javascript-mcp-server`](src/oci-javascript-mcp-server/README.md). Its
locally runnable process provider is explicitly development-only; production
startup remains disabled until an approved VM-backed isolation provider is
implemented.

### Recommended: OCI Cloud MCP Server

Run the server over stdio:
Expand Down
8 changes: 8 additions & 0 deletions src/oci-javascript-mcp-server/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*
!package.json
!src/
!src/facade.ts
!src/oci.ts
!src/protocol.ts
!src/runner.ts
!src/types.ts
4 changes: 4 additions & 0 deletions src/oci-javascript-mcp-server/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
coverage/
.nyc_output/
dist/
14 changes: 14 additions & 0 deletions src/oci-javascript-mcp-server/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright (c) 2026, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v1.0 as shown at
# https://oss.oracle.com/licenses/upl.

FROM node:26-bookworm-slim@sha256:cd565714d4da3e84bfd341e31448f81d47c6362198f152345297c9c1154e6341

WORKDIR /app

COPY --chown=65532:65532 package.json ./package.json
COPY --chown=65532:65532 src/facade.ts src/oci.ts src/protocol.ts src/runner.ts src/types.ts ./src/

USER 65532:65532

CMD ["node", "--experimental-strip-types", "--max-old-space-size=256", "/app/src/runner.ts"]
37 changes: 37 additions & 0 deletions src/oci-javascript-mcp-server/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Copyright (c) 2026, Oracle and/or its affiliates.

The Universal Permissive License (UPL), Version 1.0

Subject to the condition set forth below, permission is hereby granted to any
person obtaining a copy of this software, associated documentation and/or data
(collectively the "Software"), free of charge and under any and all copyright
rights in the Software, and any and all patent rights owned or freely licensable
by each licensor hereunder covering either (i) the unmodified Software as
contributed to or provided by such licensor, or (ii) the Larger Works (as
defined below), to deal in both

(a) the Software, and

(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one
is included with the Software (each a “Larger Work” to which the Software is
contributed by such licensors),

without restriction, including without limitation the rights to copy, create
derivative works of, display, perform, and distribute the Software and make,
use, sell, offer for sale, import, export, have made, and have sold the Software
and the Larger Work(s), and to sublicense the foregoing rights on either these
or other terms.

This license is subject to the following condition:

The above copyright notice and either this complete permission notice or at a
minimum a reference to the UPL must be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading