Oracle MCP server initial impl
This commit is contained in:
parent
5d067f5d88
commit
a3705f5d0b
4 changed files with 1 additions and 89 deletions
|
|
@ -1,34 +0,0 @@
|
||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
||||||
// README at: https://github.com/microsoft/vscode-dev-containers/blob/main/containers/docker-from-docker-compose/.devcontainer/devcontainer.json
|
|
||||||
{
|
|
||||||
"name": "MCPServer",
|
|
||||||
"dockerComposeFile": "docker-compose-local.yml",
|
|
||||||
"service": "mcp-server",
|
|
||||||
"runServices": ["mcp-server","db"],
|
|
||||||
|
|
||||||
"workspaceFolder": "/modelcontextprotocol/servers",
|
|
||||||
|
|
||||||
// Set *default* container specific settings.json values on container create.
|
|
||||||
"customizations": {
|
|
||||||
// Configure properties specific to VS Code.
|
|
||||||
"vscode": {
|
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
|
||||||
"extensions": [
|
|
||||||
"dbaeumer.vscode-eslint",
|
|
||||||
"ms-azuretools.vscode-docker"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
||||||
//"forwardPorts": [3000],
|
|
||||||
|
|
||||||
// "mounts": [
|
|
||||||
// "source=/etc/hosts,target=/etc/hosts,type=bind,consistency=cached"
|
|
||||||
// ]
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
|
||||||
"postCreateCommand": "apt update && apt install -y git postgresql-client docker.io",
|
|
||||||
|
|
||||||
// Comment out to connect as root instead.
|
|
||||||
"remoteUser": "root"
|
|
||||||
}
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
version: '3.7'
|
|
||||||
|
|
||||||
services:
|
|
||||||
mcp-server:
|
|
||||||
image: "node:22"
|
|
||||||
#command: ["host.docker.internal:1521/freepdb1"]
|
|
||||||
#build:
|
|
||||||
# context: ..
|
|
||||||
# dockerfile: src/oracle/Dockerfile
|
|
||||||
# platforms:
|
|
||||||
# - "linux/arm64"
|
|
||||||
command: tail -f /dev/null
|
|
||||||
environment:
|
|
||||||
- ORACLE_USER=hr
|
|
||||||
- ORACLE_PASSWORD=hr_2025
|
|
||||||
volumes:
|
|
||||||
- ..:/modelcontextprotocol/servers
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
db:
|
|
||||||
image: postgres:latest
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: hr
|
|
||||||
POSTGRES_PASSWORD: hr_2025
|
|
||||||
POSTGRES_DB: hr
|
|
||||||
30
.github/workflows/docker-image.yml
vendored
30
.github/workflows/docker-image.yml
vendored
|
|
@ -1,30 +0,0 @@
|
||||||
name: ci
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "main"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
docker:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
- name: Build and push
|
|
||||||
uses: docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: ./src/oracle/Dockerfile
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
push: true
|
|
||||||
tags: mochoa/mcp-oracle:latest
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Anthropic, PBC (https://anthropic.com)",
|
"author": "Anthropic, PBC (https://anthropic.com)",
|
||||||
"homepage": "https://modelcontextprotocol.io",
|
"homepage": "https://modelcontextprotocol.io",
|
||||||
"bugs": "https://github.com/marcelo-ochoa/servers/issues",
|
"bugs": "https://github.com/modelcontextprotocol/servers/issues",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
"mcp-server-oracle": "dist/index.js"
|
"mcp-server-oracle": "dist/index.js"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue