-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsqlite-paper-fastmcp-server.py
More file actions
66 lines (60 loc) · 1.3 KB
/
Copy pathsqlite-paper-fastmcp-server.py
File metadata and controls
66 lines (60 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""Compatibility entrypoint for the modular sqlite_lit_server package."""
import sys
from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parent
if str(REPO_ROOT) not in sys.path:
sys.path.insert(0, str(REPO_ROOT))
from sqlite_lit_server import (
DB_PATH,
EntityRelations,
SQLiteConnection,
SourceIdentifiers,
SourceStatus,
SourceTypes,
add_identifiers,
add_notes,
add_sources,
describe_table,
get_database_info,
get_entity_sources,
get_source_entities,
get_sources_details,
get_table_stats,
link_to_entities,
list_tables,
mcp,
read_query,
remove_entity_links,
search_sources,
update_entity_links,
update_status,
vacuum_database,
)
__all__ = [
"DB_PATH",
"EntityRelations",
"SQLiteConnection",
"SourceIdentifiers",
"SourceStatus",
"SourceTypes",
"add_identifiers",
"add_notes",
"add_sources",
"describe_table",
"get_database_info",
"get_entity_sources",
"get_source_entities",
"get_sources_details",
"get_table_stats",
"link_to_entities",
"list_tables",
"mcp",
"read_query",
"remove_entity_links",
"search_sources",
"update_entity_links",
"update_status",
"vacuum_database",
]
if __name__ == "__main__":
mcp.run()