usage.md•1.19 kB
# Using Oracle MCP Server
## Client Integration
To integrate this MCP server with an MCP client, configure it in your client's config file.
Example for Claude for Desktop or similar tools:
```json
{
"mcpServers": {
"oracle": {
"command": "bun",
"args": ["run", "start"],
"cwd": "/path/to/oracle-mcp"
}
}
}
```
## Example Tool Calls
### Consult Codex
Request:
```json
{
"method": "tools/call",
"params": {
"name": "consult_codex",
"arguments": {
"prompt": "How do I implement a binary search tree in TypeScript?"
}
}
}
```
Response:
```json
{
"content": [
{
"type": "text",
"text": "..."
}
]
}
```
### Consult Claude Code
Request:
```json
{
"method": "tools/call",
"params": {
"name": "consult_claude_code",
"arguments": {
"prompt": "What's the best way to optimize React component performance?"
}
}
}
```
Response:
```json
{
"content": [
{
"type": "text",
"text": "..."
}
]
}
```
## Requirements
- `codex` CLI tool must be installed and in PATH
- `claude-code` CLI tool must be installed and in PATH
- Both CLIs must support the specified parameters