Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a154cfe1d | ||
|
|
abfebbbd1d |
No files matched your search
@@ -0,0 +1,47 @@
|
||||
name: Sync from upstream
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '23 3 * * *'
|
||||
workflow_dispatch: {}
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
concurrency:
|
||||
group: registry-sync
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure git identity
|
||||
run: |
|
||||
git config user.name "arka-ops"
|
||||
git config user.email "ops@arka-ai.ru"
|
||||
|
||||
- name: Merge upstream main
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git remote add upstream https://github.com/librefang/librefang-registry.git || true
|
||||
git fetch --depth=1 upstream main
|
||||
# Fast-forward when possible; otherwise record a merge commit so the
|
||||
# arka-specific files under .gitea/ (which upstream does not ship)
|
||||
# stay on top of upstream content.
|
||||
git checkout main
|
||||
if ! git merge --no-edit -m "chore: merge upstream registry main" upstream/main; then
|
||||
echo "registry sync merge conflict — resolve manually" >&2
|
||||
git merge --abort
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Push to origin
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git push origin main
|
||||
+6
-2
@@ -7,8 +7,8 @@ tags = ["web", "fetch", "scraping", "markdown", "http"]
|
||||
|
||||
[transport]
|
||||
type = "stdio"
|
||||
command = "npx"
|
||||
args = ["-y", "@modelcontextprotocol/server-fetch@latest"]
|
||||
command = "uvx"
|
||||
args = ["mcp-server-fetch"]
|
||||
|
||||
[health_check]
|
||||
interval_secs = 60
|
||||
@@ -17,6 +17,10 @@ unhealthy_threshold = 3
|
||||
setup_instructions = """
|
||||
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.
|
||||
"""
|
||||
|
||||
|
||||
+10
-12
@@ -8,7 +8,14 @@ tags = ["git", "version-control", "commits", "diff", "history", "blame"]
|
||||
[transport]
|
||||
type = "stdio"
|
||||
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]
|
||||
interval_secs = 60
|
||||
@@ -19,17 +26,8 @@ Requires `uv` (Python package manager):
|
||||
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
|
||||
- Or: `pip install uv`
|
||||
|
||||
The `--repository .` argument uses the current working directory. To point at a specific repo:
|
||||
|
||||
```toml
|
||||
[[mcp_servers]]
|
||||
name = "git"
|
||||
|
||||
[mcp_servers.transport]
|
||||
type = "stdio"
|
||||
command = "uvx"
|
||||
args = ["mcp-server-git", "--repository", "/path/to/your/repo"]
|
||||
```
|
||||
Enter the absolute path to the Git repository you want to inspect in the
|
||||
GIT_REPOSITORY_PATH field above.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
+6
-5
@@ -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.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user