Files
skill-seekers-reference/src/skill_seekers/mcp/__init__.py
yusyus f726a9abc5 refactor: Centralize version management in single source of truth
- Create src/skill_seekers/_version.py as single source of truth
- Read version dynamically from pyproject.toml at runtime
- Update all __init__.py files to import from _version module
- Add tomli dependency for Python <3.11 (built-in tomllib for 3.11+)
- Remove hardcoded version duplicates (2.7.2 in 3 files)
- Fixes version mismatch: pyproject.toml (2.7.4) vs __init__.py (2.7.2)

Benefits:
- Single place to update version (pyproject.toml)
- No more version mismatches across files
- Automatic version consistency
- Works across Python 3.10-3.13

Before:
- pyproject.toml: 2.7.4
- src/skill_seekers/__init__.py: 2.7.2
- src/skill_seekers/cli/__init__.py: 2.7.2
- src/skill_seekers/mcp/__init__.py: 2.7.2

After:
- pyproject.toml: 2.7.4 (single source of truth)
- All other files: import from _version.py
2026-01-31 17:03:40 +03:00

35 lines
1.3 KiB
Python

"""Skill Seekers MCP (Model Context Protocol) server package.
This package provides MCP server integration for Claude Code, allowing
natural language interaction with Skill Seekers tools.
Main modules:
- server_fastmcp: FastMCP-based server with 17 tools (MCP 2025 spec)
- agent_detector: AI coding agent detection and configuration
Available MCP Tools:
- list_configs: List all available preset configurations
- generate_config: Generate a new config file for any docs site
- validate_config: Validate a config file structure
- estimate_pages: Estimate page count before scraping
- scrape_docs: Scrape and build a skill
- package_skill: Package skill into .zip file (with auto-upload)
- upload_skill: Upload .zip to Claude
- split_config: Split large documentation configs
- generate_router: Generate router/hub skills
Agent Detection:
- Supports 5 AI coding agents: Claude Code, Cursor, Windsurf, VS Code + Cline, IntelliJ IDEA
- Auto-detects installed agents on Linux, macOS, and Windows
- Generates correct MCP config for each agent (stdio vs HTTP)
Usage:
The MCP server is typically run by Claude Code via configuration
in ~/.config/claude-code/mcp.json
"""
# Import centralized version
from skill_seekers._version import __version__
__all__ = ["agent_detector", "__version__"]