- Fix TOML syntax error in pyproject.toml configuration - Simplify dependencies to only FastMCP by default - Create optional 'video' dependency group for full features - Add minimal test server (test_minimal.py) for fast startup - Add graceful import handling for optional video libraries - Create both full and minimal startup scripts - Ensure MCP server starts quickly without heavy dependencies Server now successfully starts and connects to Claude Code!
48 lines
955 B
TOML
48 lines
955 B
TOML
[project]
|
|
name = "mcp-video-editor"
|
|
version = "0.1.0"
|
|
description = "MCP Video Editor - Professional video production tools for Model Context Protocol"
|
|
authors = [
|
|
{name = "MCP Video Editor Team"}
|
|
]
|
|
dependencies = [
|
|
"fastmcp>=2.12.2",
|
|
]
|
|
|
|
requires-python = ">=3.12"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
|
|
[project.optional-dependencies]
|
|
video = [
|
|
"moviepy>=1.0.3",
|
|
"opencv-python>=4.8.0",
|
|
"pillow>=10.0.0",
|
|
"numpy>=1.24.0",
|
|
"ffmpeg-python>=0.2.0",
|
|
]
|
|
dev = [
|
|
"ruff>=0.1.0",
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "W", "F", "I", "N", "UP", "RUF"]
|
|
extend-select = ["I", "N", "UP", "RUF"]
|
|
ignore = ["E501", "E722"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
|
|
[project.scripts]
|
|
mcp-video-editor = "mcp_video_editor:main" |