Merge pull request 'fix(mcp): repair stdio server templates for fetch, sqlite, and git' (#1) from fix/mcp-stdio-server-templates into main
This commit was merged in pull request #1.
This commit is contained in:
commit
ecbc799ea2
3 files changed
+22
-19
No files matched your search
+6
-2
@@ -7,8 +7,8 @@ tags = ["web", "fetch", "scraping", "markdown", "http"]
|
|||||||
|
|
||||||
[transport]
|
[transport]
|
||||||
type = "stdio"
|
type = "stdio"
|
||||||
command = "npx"
|
command = "uvx"
|
||||||
args = ["-y", "@modelcontextprotocol/server-fetch@latest"]
|
args = ["mcp-server-fetch"]
|
||||||
|
|
||||||
[health_check]
|
[health_check]
|
||||||
interval_secs = 60
|
interval_secs = 60
|
||||||
@@ -17,6 +17,10 @@ unhealthy_threshold = 3
|
|||||||
setup_instructions = """
|
setup_instructions = """
|
||||||
No API key required. Fetches any publicly accessible URL and returns the content as Markdown.
|
No API key required. Fetches any publicly accessible URL and returns the content as Markdown.
|
||||||
|
|
||||||
|
Requires `uv` (Python package manager):
|
||||||
|
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
|
||||||
|
- Or: `pip install uv`
|
||||||
|
|
||||||
For JavaScript-rendered pages (SPAs), use the Puppeteer integration instead.
|
For JavaScript-rendered pages (SPAs), use the Puppeteer integration instead.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
+10
-12
@@ -8,7 +8,14 @@ tags = ["git", "version-control", "commits", "diff", "history", "blame"]
|
|||||||
[transport]
|
[transport]
|
||||||
type = "stdio"
|
type = "stdio"
|
||||||
command = "uvx"
|
command = "uvx"
|
||||||
args = ["mcp-server-git", "--repository", "."]
|
args = ["mcp-server-git", "--repository", "$GIT_REPOSITORY_PATH"]
|
||||||
|
|
||||||
|
[[required_env]]
|
||||||
|
name = "GIT_REPOSITORY_PATH"
|
||||||
|
label = "Git Repository Path"
|
||||||
|
help = "Absolute path to the Git repository to inspect (e.g., /home/user/projects/my-repo)"
|
||||||
|
is_secret = false
|
||||||
|
get_url = ""
|
||||||
|
|
||||||
[health_check]
|
[health_check]
|
||||||
interval_secs = 60
|
interval_secs = 60
|
||||||
@@ -19,17 +26,8 @@ Requires `uv` (Python package manager):
|
|||||||
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
|
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
|
||||||
- Or: `pip install uv`
|
- Or: `pip install uv`
|
||||||
|
|
||||||
The `--repository .` argument uses the current working directory. To point at a specific repo:
|
Enter the absolute path to the Git repository you want to inspect in the
|
||||||
|
GIT_REPOSITORY_PATH field above.
|
||||||
```toml
|
|
||||||
[[mcp_servers]]
|
|
||||||
name = "git"
|
|
||||||
|
|
||||||
[mcp_servers.transport]
|
|
||||||
type = "stdio"
|
|
||||||
command = "uvx"
|
|
||||||
args = ["mcp-server-git", "--repository", "/path/to/your/repo"]
|
|
||||||
```
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+6
-5
@@ -8,12 +8,12 @@ tags = ["database", "sql", "relational", "sqlite", "local", "embedded"]
|
|||||||
[transport]
|
[transport]
|
||||||
type = "stdio"
|
type = "stdio"
|
||||||
command = "npx"
|
command = "npx"
|
||||||
args = ["-y", "@modelcontextprotocol/server-sqlite"]
|
args = ["-y", "mcp-sqlite", "$SQLITE_DB_PATH"]
|
||||||
|
|
||||||
[[required_env]]
|
[[required_env]]
|
||||||
name = "SQLITE_DB_PATH"
|
name = "SQLITE_DB_PATH"
|
||||||
label = "SQLite Database 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
|
is_secret = false
|
||||||
get_url = ""
|
get_url = ""
|
||||||
|
|
||||||
@@ -22,9 +22,10 @@ interval_secs = 60
|
|||||||
unhealthy_threshold = 3
|
unhealthy_threshold = 3
|
||||||
|
|
||||||
setup_instructions = """
|
setup_instructions = """
|
||||||
1. Locate the SQLite database file you want to connect to on your local filesystem.
|
1. Choose an absolute path for the SQLite database file (e.g. ~/.agent-arka/data/sqlite-mcp.db).
|
||||||
2. Enter the absolute path to the database file in the SQLITE_DB_PATH field above.
|
2. Enter it in the SQLITE_DB_PATH field above.
|
||||||
3. Ensure the file has appropriate read/write permissions for the LibreFang process.
|
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.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user