80 lines
2.1 KiB
JSON
80 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"permission": "allow",
|
|
"mcp": {
|
|
"forgejo": {
|
|
"type": "local",
|
|
"command": ["/usr/local/bin/forgejo-mcp", "-t", "stdio", "-url", "https://git.cleverthis.com", "-token", "{env:FORGEJO_PAT}"],
|
|
"environment": {
|
|
"FORGEJO_HOST": "https://git.cleverthis.com",
|
|
"FORGEJO_ACCESS_TOKEN": "{env:FORGEJO_PAT}"
|
|
},
|
|
"enabled": true
|
|
},
|
|
"context7": {
|
|
"type": "local",
|
|
"command": ["npx", "-y", "@upstash/context7-mcp"],
|
|
"enabled": true
|
|
},
|
|
"sequential-thinking": {
|
|
"type": "local",
|
|
"command": ["npx", "@modelcontextprotocol/server-sequential-thinking"],
|
|
"enabled": true
|
|
},
|
|
"sqlite": {
|
|
"type": "local",
|
|
"command": ["uvx", "mcp-server-sqlite"],
|
|
"enabled": false
|
|
},
|
|
"postgres": {
|
|
"type": "local",
|
|
"command": ["npx", "-y", "@modelcontextprotocol/server-postgres"],
|
|
"environment": {
|
|
"POSTGRES_CONNECTION_STRING": "{env:POSTGRES_CONNECTION_STRING}"
|
|
},
|
|
"enabled": false
|
|
}
|
|
},
|
|
"provider": {
|
|
"llama-local": {
|
|
"name": "Llama.cpp (10.233.1.16)",
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"options": {
|
|
"baseURL": "http://10.233.1.16:8080/v1"
|
|
},
|
|
"models": {
|
|
"google-gemma-4-31b-q5km-text": {
|
|
"name": "Gemma 4 31B text",
|
|
"limit": {
|
|
// adjust this according to llama-server parameter
|
|
"context": 262144,
|
|
"output": 65536
|
|
},
|
|
"options": {
|
|
"temperature": 1.0
|
|
},
|
|
"modalities": {
|
|
"input": ["text"],
|
|
"output": ["text"]
|
|
}
|
|
},
|
|
"google-gemma-4-26b-a4b-q80-vision": {
|
|
"name": "Gemma 4 26B A4B Vision",
|
|
"limit": {
|
|
// adjust this according to llama-server parameter
|
|
"context": 262144,
|
|
"output": 65536
|
|
},
|
|
"options": {
|
|
"temperature": 1.0
|
|
},
|
|
"modalities": {
|
|
"input": ["text", "image"],
|
|
"output": ["text"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|