Files
splunk-mcp/docker-compose.yml
livehybrid 8bb6d9f4fd Additional testing, setup and docs (#3)
* feat(api): Add OpenAPI/Swagger documentation for MCP tools

- Add Swagger UI and ReDoc documentation endpoints

- Document MCP tools as operations under a single /execute endpoint

- Add proper parameter schemas and response types for each tool

- Group endpoints by MCP Core and MCP Tools tags

- Include tool descriptions and parameters in OpenAPI schema

- Add proper error responses and validation schemas

* feat(api): Add Splunk MCP tool documentation

- Implement OpenAPI/Swagger documentation for MCP tools

- Add documentation endpoints (/docs, /redoc)

- Create unified schema for tool operations

- Add parameter validation and response types

- Group endpoints by Core and Tools categories

- Document SSE and message endpoints
2025-03-25 16:52:34 +00:00

43 lines
1.1 KiB
YAML

services:
mcp:
build: .
ports:
- "8001:8001"
environment:
- SPLUNK_HOST=${SPLUNK_HOST}
- SPLUNK_PORT=${SPLUNK_PORT:-8089}
- SPLUNK_USERNAME=${SPLUNK_USERNAME}
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_SCHEME=${SPLUNK_SCHEME:-https}
- FASTMCP_PORT=8001
- FASTMCP_LOG_LEVEL=${FASTMCP_LOG_LEVEL:-INFO}
- DEBUG=${DEBUG:-false}
- MODE=sse
volumes:
- ./config:/app/config
healthcheck:
test: ["CMD", "curl", "-I", "http://localhost:8001/sse"]
interval: 5s
timeout: 3s
retries: 5
start_period: 5s
test:
build:
context: .
dockerfile: Dockerfile.test
depends_on:
mcp:
condition: service_healthy
environment:
- SPLUNK_HOST=${SPLUNK_HOST}
- SPLUNK_PORT=${SPLUNK_PORT:-8089}
- SPLUNK_USERNAME=${SPLUNK_USERNAME}
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_SCHEME=${SPLUNK_SCHEME:-https}
- FASTMCP_PORT=8001
- SSE_BASE_URL=http://mcp:8001
- DEBUG=true
volumes:
- .:/app
- ./test-results:/app/test-results