Files
splunk-mcp/pyproject.toml
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

56 lines
1.2 KiB
TOML

[project]
name = "splunk-mcp"
version = "0.1.0"
description = "A FastMCP tool for Splunk Enterprise/Cloud operations"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fastmcp>=0.1.0",
"splunk-sdk>=1.7.4",
"python-decouple>=3.8",
"aiohttp (>=3.11.14,<4.0.0)",
"requests>=2.32.3",
]
[tool.poetry]
name = "splunk-mcp"
version = "0.3.0"
description = "Splunk MCP (Model Context Protocol) Server for AI Assistants"
authors = ["William Searle <splunk@livehybrid.com>"]
readme = "README.md"
packages = [
{ include = "splunk_mcp.py" }
]
[tool.poetry.dependencies]
python = "^3.10"
fastmcp = ">=0.4.0"
splunk-sdk = ">=1.7.4"
python-decouple = ">=3.8"
requests = ">=2.31.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
black = "^23.0"
isort = "^5.0"
mypy = "^1.0"
pytest-asyncio = ">=0.21.0"
pytest-cov = ">=4.1.0"
pytest-mock = "^3.14.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
splunk-mcp = "splunk_mcp:mcp.run"
test = "pytest:main"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v"