pi agent: spark models and a working wiki/lapis MCP set

- models.json: add spark:ablit and spark:4b from the local Ollama endpoint
  (OLLAMA_CONTEXT_LENGTH is now 32k on yveltal so long prompts fit)
- mcp.json: replace the stale ETV wikijs entry and WIKI_BEARER_TOKEN with
  the homelab wiki over _mcp and WIKI3_MCP_TOKEN, and add LaPis memory
This commit is contained in:
Ziad committed 2026-12-01 11:42:55 -07:00
1 parent c6199ec824
commit b70572b269
2 files changed
+33 -58

No files matched your search

+13 -58
View File
@@ -1,66 +1,21 @@
{
"mcpServers": {
"websearch-simple": {
"url": "https://RivalSearchMCP.fastmcp.app/mcp",
"exposure": "direct"
},
"wiki": {
"command": "npx",
"args": [
"-y",
"@yowu-dev/requarks-wiki-mcp@latest"
],
"env": {
"WIKI_BASE_URL": "https://wikijs.etvamerica.com/",
"WIKI_API_TOKEN": "${WIKI_API_TOKEN}",
"WIKI_MUTATIONS_ENABLED": "true",
"WIKI_MUTATION_DRY_RUN": "false"
"url": "https://wiki.godemperordoge.org/_mcp",
"description": "Wiki.js homelab docs at godemperordoge.org: search, browse, read and update pages.",
"headers": {
"Authorization": "!secretctl get WIKI3_MCP_TOKEN -- sh -c 'printf \"Bearer %s\" \"$WIKI3_MCP_TOKEN\"'"
},
"exposure": "direct"
},
"mise-en-place": {
"command": "${HOME}/.nix-profile/bin/mise",
"args": [
"mcp"
],
"env": {
"MISE_EXPERIMENTAL": "1"
},
"exposure": "direct"
},
"playwright-browser-automation": {
"command": "npx",
"args": [
"@playwright/mcp@latest",
"--extension"
],
"env": {
"PLAYWRIGHT_MCP_EXECUTABLE_PATH": "${HOME}/chrome.sh",
"PLAYWRIGHT_MCP_EXTENSION_TOKEN": "${PLAYWRIGHT_MCP_EXTENSION_TOKEN}"
},
"exposure": "direct"
},
"web-search-advanced": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Shelpuk-AI-Technology-Consulting/kindly-web-search-mcp-server",
"kindly-web-search-mcp-server",
"start-mcp-server"
],
"env": {
"SEARXNG_BASE_URL": "https://google.godemperordoge.org/",
"SEARXNG_USER_AGENT": "Mozilla/5.0 ..."
"exposure": "codemode",
"toolExposure": {
"get_page": "direct"
}
},
"gitea": {
"command": "${HOME}/.nix-profile/bin/gitea-mcp",
"args": [
"-H",
"https://gitea.etvamerica.com",
"-T",
"${ETV_GITEA_TOKEN}"
]
"lapis": {
"command": "sh",
"args": ["-c", "exec \"$HOME/.dotfiles/bin/mcp-lapis\""],
"description": "LaPis persistent memory (SQLite ~/.pi/memory/memory.db): memory-save, memory-search, memory-get, memory-code and memory-doc for the current project.",
"exposure": "codemode"
}
}
}
}
+20
View File
@@ -5,6 +5,26 @@
"api": "openai-completions",
"apiKey": "ollama",
"models": [
{
"id": "spark:ablit",
"name": "Spark-X2.6-4B abliterated (GTX 1080)",
"contextWindow": 32768,
"maxTokens": 8192,
"reasoning": true,
"input": [
"text"
]
},
{
"id": "spark:4b",
"name": "Spark-X2.6-4B official (GTX 1080)",
"contextWindow": 32768,
"maxTokens": 8192,
"reasoning": true,
"input": [
"text"
]
},
{
"id": "gemma4-12b-qat-64k:latest",
"contextWindow": 65536,