File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,22 @@ section "Data directory & config"
116116mkdir -p " $DATA_DIR /skills" " $DATA_DIR /tools"
117117info " Directories: $DATA_DIR /skills $DATA_DIR /tools"
118118
119+ CONFIG_FILE=" $DATA_DIR /config.json"
120+ if [[ ! -f " $CONFIG_FILE " ]]; then
121+ cat > " $CONFIG_FILE " << EOF
122+ {
123+ "mcpServers": {},
124+ "skillPaths": [
125+ "$DATA_DIR /skills"
126+ ]
127+ }
128+ EOF
129+ CREATED_FILES+=(" $CONFIG_FILE " )
130+ info " Created $CONFIG_FILE (add MCP servers here)"
131+ else
132+ info " Existing $CONFIG_FILE kept (not overwritten)"
133+ fi
134+
119135ENV_FILE=" $DATA_DIR /.env"
120136if [[ ! -f " $ENV_FILE " ]]; then
121137 API_KEY=" td_$( openssl rand -hex 24) "
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ dependencies = [
1515 " pydantic-settings" ,
1616 " python-dotenv" ,
1717 " sentence-transformers" ,
18+ " slowapi" ,
19+ " fastmcp" ,
20+ " mcp" ,
1821]
1922
2023[project .scripts ]
You can’t perform that action at this time.
0 commit comments