ose-knowledge-mcp 0.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -0,0 +1,17 @@
1
+ """MCP server with bundled documentation data."""
2
+ import os
3
+ from pathlib import Path
4
+
5
+
6
+ def main():
7
+ data_dir = Path(__file__).parent / "data"
8
+ os.environ.setdefault("MILVUS_DB_PATH", str(data_dir / "milvus.db"))
9
+ os.environ.setdefault("AI_DOCS_CHUNKS_FILE", str(data_dir / "chunks.json"))
10
+
11
+ import asyncio
12
+ from opencrane.mcp.server import main as serve_main
13
+ asyncio.run(serve_main())
14
+
15
+
16
+ if __name__ == "__main__":
17
+ main()