oracle.oci-api-mcp-server 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oracle_oci_api_mcp_server-1.0.0/.gitignore +14 -0
- oracle_oci_api_mcp_server-1.0.0/LICENSE.txt +35 -0
- oracle_oci_api_mcp_server-1.0.0/PKG-INFO +52 -0
- oracle_oci_api_mcp_server-1.0.0/README.md +36 -0
- oracle_oci_api_mcp_server-1.0.0/oracle/__init__.py +5 -0
- oracle_oci_api_mcp_server-1.0.0/oracle/oci_api_mcp_server/__init__.py +8 -0
- oracle_oci_api_mcp_server-1.0.0/oracle/oci_api_mcp_server/denylist +1975 -0
- oracle_oci_api_mcp_server-1.0.0/oracle/oci_api_mcp_server/denylist.py +56 -0
- oracle_oci_api_mcp_server-1.0.0/oracle/oci_api_mcp_server/server.py +179 -0
- oracle_oci_api_mcp_server-1.0.0/oracle/oci_api_mcp_server/tests/test_oci_api_tools.py +179 -0
- oracle_oci_api_mcp_server-1.0.0/oracle/oci_api_mcp_server/utils.py +25 -0
- oracle_oci_api_mcp_server-1.0.0/pyproject.toml +38 -0
- oracle_oci_api_mcp_server-1.0.0/uv.lock +1071 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Copyright (c) 2025 Oracle and/or its affiliates.
|
|
2
|
+
|
|
3
|
+
The Universal Permissive License (UPL), Version 1.0
|
|
4
|
+
|
|
5
|
+
Subject to the condition set forth below, permission is hereby granted to any
|
|
6
|
+
person obtaining a copy of this software, associated documentation and/or data
|
|
7
|
+
(collectively the "Software"), free of charge and under any and all copyright
|
|
8
|
+
rights in the Software, and any and all patent rights owned or freely
|
|
9
|
+
licensable by each licensor hereunder covering either (i) the unmodified
|
|
10
|
+
Software as contributed to or provided by such licensor, or (ii) the Larger
|
|
11
|
+
Works (as defined below), to deal in both
|
|
12
|
+
|
|
13
|
+
(a) the Software, and
|
|
14
|
+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
|
|
15
|
+
one is included with the Software (each a "Larger Work" to which the Software
|
|
16
|
+
is contributed by such licensors),
|
|
17
|
+
|
|
18
|
+
without restriction, including without limitation the rights to copy, create
|
|
19
|
+
derivative works of, display, perform, and distribute the Software and make,
|
|
20
|
+
use, sell, offer for sale, import, export, have made, and have sold the
|
|
21
|
+
Software and the Larger Work(s), and to sublicense the foregoing rights on
|
|
22
|
+
either these or other terms.
|
|
23
|
+
|
|
24
|
+
This license is subject to the following condition:
|
|
25
|
+
The above copyright notice and either this complete permission notice or at
|
|
26
|
+
a minimum a reference to the UPL must be included in all copies or
|
|
27
|
+
substantial portions of the Software.
|
|
28
|
+
|
|
29
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
30
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
31
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
32
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
33
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
34
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
|
+
SOFTWARE.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: oracle.oci-api-mcp-server
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: OCI CLI MCP server
|
|
5
|
+
Author-email: Oracle MCP <237432095+oracle-mcp@users.noreply.github.com>
|
|
6
|
+
License-Expression: UPL-1.0
|
|
7
|
+
License-File: LICENSE.txt
|
|
8
|
+
Classifier: License :: OSI Approved :: Universal Permissive License (UPL)
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
+
Requires-Python: >=3.13
|
|
13
|
+
Requires-Dist: fastmcp==2.12.2
|
|
14
|
+
Requires-Dist: oci==2.160.0
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# OCI API MCP Server
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
|
|
21
|
+
This server provides tools to run OCI CLI commands to interact with the OCI services.
|
|
22
|
+
It includes tools to help with OCI command execution and provide helpful information.
|
|
23
|
+
|
|
24
|
+
## Running the server
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
uv run oracle.oci-api-mcp-server
|
|
28
|
+
```
|
|
29
|
+
## Tools
|
|
30
|
+
|
|
31
|
+
| Tool Name | Description |
|
|
32
|
+
| --- | --- |
|
|
33
|
+
| get_oci_command_help | Returns helpful instructions for running an OCI CLI command. Only provide the command after 'oci', do not include the string 'oci' in your command. |
|
|
34
|
+
| run_oci_command | Runs an OCI CLI command. This tool allows you to run OCI CLI commands on the user's behalf. Only provide the command after 'oci', do not include the string 'oci' in your command. |
|
|
35
|
+
| get_oci_commands (Resource) | Returns helpful information on various OCI services and related commands. |
|
|
36
|
+
|
|
37
|
+
⚠️ **NOTE**: All actions are performed with the permissions of the configured OCI CLI profile. We advise least-privilege IAM setup, secure credential management, safe network practices, secure logging, and warn against exposing secrets.
|
|
38
|
+
|
|
39
|
+
## Third-Party APIs
|
|
40
|
+
|
|
41
|
+
Developers choosing to distribute a binary implementation of this project are responsible for obtaining and providing all required licenses and copyright notices for the third-party code used in order to ensure compliance with their respective open source licenses.
|
|
42
|
+
|
|
43
|
+
## Disclaimer
|
|
44
|
+
|
|
45
|
+
Users are responsible for their local environment and credential safety. Different language model selections may yield different results and performance.
|
|
46
|
+
|
|
47
|
+
## License
|
|
48
|
+
|
|
49
|
+
Copyright (c) 2025 Oracle and/or its affiliates.
|
|
50
|
+
|
|
51
|
+
Released under the Universal Permissive License v1.0 as shown at
|
|
52
|
+
<https://oss.oracle.com/licenses/upl/>.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# OCI API MCP Server
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This server provides tools to run OCI CLI commands to interact with the OCI services.
|
|
6
|
+
It includes tools to help with OCI command execution and provide helpful information.
|
|
7
|
+
|
|
8
|
+
## Running the server
|
|
9
|
+
|
|
10
|
+
```sh
|
|
11
|
+
uv run oracle.oci-api-mcp-server
|
|
12
|
+
```
|
|
13
|
+
## Tools
|
|
14
|
+
|
|
15
|
+
| Tool Name | Description |
|
|
16
|
+
| --- | --- |
|
|
17
|
+
| get_oci_command_help | Returns helpful instructions for running an OCI CLI command. Only provide the command after 'oci', do not include the string 'oci' in your command. |
|
|
18
|
+
| run_oci_command | Runs an OCI CLI command. This tool allows you to run OCI CLI commands on the user's behalf. Only provide the command after 'oci', do not include the string 'oci' in your command. |
|
|
19
|
+
| get_oci_commands (Resource) | Returns helpful information on various OCI services and related commands. |
|
|
20
|
+
|
|
21
|
+
⚠️ **NOTE**: All actions are performed with the permissions of the configured OCI CLI profile. We advise least-privilege IAM setup, secure credential management, safe network practices, secure logging, and warn against exposing secrets.
|
|
22
|
+
|
|
23
|
+
## Third-Party APIs
|
|
24
|
+
|
|
25
|
+
Developers choosing to distribute a binary implementation of this project are responsible for obtaining and providing all required licenses and copyright notices for the third-party code used in order to ensure compliance with their respective open source licenses.
|
|
26
|
+
|
|
27
|
+
## Disclaimer
|
|
28
|
+
|
|
29
|
+
Users are responsible for their local environment and credential safety. Different language model selections may yield different results and performance.
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
Copyright (c) 2025 Oracle and/or its affiliates.
|
|
34
|
+
|
|
35
|
+
Released under the Universal Permissive License v1.0 as shown at
|
|
36
|
+
<https://oss.oracle.com/licenses/upl/>.
|