Prerequisites
Before starting local development, ensure you have:- Python 3.13 or later
- uv package manager
- Git (for cloning the repository)
- For OCI servers: OCI CLI configured with appropriate credentials
Environment Setup
1. Create Virtual Environment
Set up a Python virtual environment withuv:
2. Install Development Dependencies
Install the required development dependencies:Building and Installing
Build All Servers
Build all MCP servers in the repository:- Iterates through all server directories in
src/ - Builds Python packages using
uv build - Generates version metadata in
__init__.pyfiles
Install Servers Locally
Install the built servers into your virtual environment:Build Specific Servers
To build only specific servers, use theSUBDIRS variable:
MCP Client Configuration
Configure your MCP client to use the locally installed server packages instead of published versions.Example Configuration
Replace
/absolute/path/to/your/repo with the actual absolute path to your cloned repository, e.g., /Users/myuser/dev/oracle-mcp-serversTesting
Run Linting
Check code quality with Ruff:Run Unit Tests
Execute the test suite with coverage reporting:- Runs pytest with coverage for each server
- Generates HTML and terminal coverage reports
- Combines coverage from all servers
- Fails if coverage is below 69%
Code Formatting
Format code using Ruff:MCP Inspector
Test your server interactively with MCP Inspector:http://127.0.0.1:6274) for debugging and testing your MCP server.
Dependency Management
Update Lock Files
Updateuv.lock files for all servers:
Verify Lock Files
Check that lock files are up to date:HTTP Transport Mode
To test servers in HTTP streaming mode locally:Next Steps
Testing
Learn about testing strategies and tools
Contributing
Review contribution guidelines
Podman Deployment
Deploy servers in containers
HTTP Mode
Run servers with HTTP transport
