mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
semantica/mcp_server/__init__.py was fixed to stop hardcoding 0.4.0, but the separate top-level mcp/ package (run via `python -m mcp.server`, documented in mcp/__init__.py as a supported way to configure Claude Desktop/Windsurf/etc. from a source checkout) still hardcoded 0.4.0 in three places: mcp/__init__.py, mcp/server.py, and mcp/resources/registry.py. Reuses semantica.__version__ directly, matching the pattern just adopted in semantica/mcp_server/__init__.py, so both implementations stay in sync with the package version going forward.
32 lines
997 B
Python
32 lines
997 B
Python
"""
|
|
Semantica MCP Server Package
|
|
|
|
A full Model Context Protocol (MCP) server for Semantica — exposes knowledge graph
|
|
construction, semantic extraction, decision intelligence, reasoning, analytics,
|
|
and export capabilities as MCP tools and resources.
|
|
|
|
Run the server:
|
|
python -m mcp.server # from repo root
|
|
python -m semantica.mcp_server # alias inside installed package
|
|
|
|
Configure in Claude Desktop, Windsurf, Cline, Continue, VS Code:
|
|
{
|
|
"mcpServers": {
|
|
"semantica": {
|
|
"command": "python",
|
|
"args": ["-m", "mcp.server"],
|
|
"cwd": "/path/to/semantica"
|
|
}
|
|
}
|
|
}
|
|
"""
|
|
|
|
# `semantica.__version__` is the authoritative package version — see
|
|
# semantica/mcp_server/__init__.py for why it is used directly rather than
|
|
# importlib.metadata.version("semantica").
|
|
from semantica import __version__
|
|
|
|
from .server import SemanticaMCPServer, main
|
|
|
|
__all__ = ["SemanticaMCPServer", "main", "__version__"]
|