fix(mcp): repair stdio server templates for fetch, sqlite, and git

- fetch: switch to `uvx mcp-server-fetch` (the old
  @modelcontextprotocol/server-fetch package 404s on npm)
- sqlite-mcp: switch to `npx -y mcp-sqlite` and forward the declared
  SQLITE_DB_PATH as the database path argument (old package 404s on npm)
- git: replace `--repository .` (which resolves to the daemon CWD) with a
  required GIT_REPOSITORY_PATH install parameter
This commit is contained in:
ixoblakp committed 2026-10-18 11:42:06 +03:00
1 parent abfebbbd1d
commit 7a154cfe1d
3 files changed
+22 -19

No files matched your search

+6 -5
View File
@@ -8,12 +8,12 @@ tags = ["database", "sql", "relational", "sqlite", "local", "embedded"]
[transport]
type = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-sqlite"]
args = ["-y", "mcp-sqlite", "$SQLITE_DB_PATH"]
[[required_env]]
name = "SQLITE_DB_PATH"
label = "SQLite Database Path"
help = "Absolute path to the SQLite database file (e.g., /home/user/data/mydb.sqlite)"
help = "Absolute path to the SQLite database file (e.g., ~/.agent-arka/data/sqlite-mcp.db)"
is_secret = false
get_url = ""
@@ -22,9 +22,10 @@ interval_secs = 60
unhealthy_threshold = 3
setup_instructions = """
1. Locate the SQLite database file you want to connect to on your local filesystem.
2. Enter the absolute path to the database file in the SQLITE_DB_PATH field above.
3. Ensure the file has appropriate read/write permissions for the LibreFang process.
1. Choose an absolute path for the SQLite database file (e.g. ~/.agent-arka/data/sqlite-mcp.db).
2. Enter it in the SQLITE_DB_PATH field above.
3. The database file is created automatically if it does not yet exist.
4. Ensure the LibreFang process has read/write access to that path.
"""