chore: pre-migration snapshot
Layer0, MCP servers, Terraform consolidation
This commit is contained in:
115
opencode.jsonc
115
opencode.jsonc
@@ -2,92 +2,92 @@
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"mcp": {
|
||||
// Popular open-source MCP servers
|
||||
|
||||
|
||||
// File system operations
|
||||
"filesystem": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-filesystem"],
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-filesystem", "."],
|
||||
"environment": {
|
||||
"HOME": "{env:HOME}"
|
||||
"HOME": "{env:HOME}",
|
||||
},
|
||||
"enabled": true
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
// Git operations
|
||||
"git": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-git"],
|
||||
"enabled": true
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// GitHub integration
|
||||
"github": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-github"],
|
||||
"environment": {
|
||||
"GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_TOKEN}"
|
||||
"GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_TOKEN}",
|
||||
},
|
||||
"enabled": true
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
// Postgres database
|
||||
"postgres": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-postgres"],
|
||||
"environment": {
|
||||
"DATABASE_URL": "{env:DATABASE_URL}"
|
||||
"DATABASE_URL": "{env:DATABASE_URL}",
|
||||
},
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// SQLite database
|
||||
"sqlite": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-sqlite"],
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// Docker integration
|
||||
"docker": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-docker"],
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// Web scraping
|
||||
"web-scraper": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "web-scraper-mcp"],
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// Google Maps integration
|
||||
"googlemaps": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-google-maps"],
|
||||
"environment": {
|
||||
"GOOGLE_MAPS_API_KEY": "{env:GOOGLE_MAPS_API_KEY}"
|
||||
"GOOGLE_MAPS_API_KEY": "{env:GOOGLE_MAPS_API_KEY}",
|
||||
},
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// Slack integration
|
||||
"slack": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-slack"],
|
||||
"environment": {
|
||||
"SLACK_BOT_TOKEN": "{env:SLACK_BOT_TOKEN}"
|
||||
"SLACK_BOT_TOKEN": "{env:SLACK_BOT_TOKEN}",
|
||||
},
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// Memory/knowledge base
|
||||
"memory": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-memory"],
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// AWS integration
|
||||
"aws": {
|
||||
"type": "local",
|
||||
@@ -95,73 +95,80 @@
|
||||
"environment": {
|
||||
"AWS_ACCESS_KEY_ID": "{env:AWS_ACCESS_KEY_ID}",
|
||||
"AWS_SECRET_ACCESS_KEY": "{env:AWS_SECRET_ACCESS_KEY}",
|
||||
"AWS_REGION": "{env:AWS_REGION}"
|
||||
"AWS_REGION": "{env:AWS_REGION}",
|
||||
},
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// Linear integration
|
||||
"linear": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-linear"],
|
||||
"environment": {
|
||||
"LINEAR_API_KEY": "{env:LINEAR_API_KEY}"
|
||||
"LINEAR_API_KEY": "{env:LINEAR_API_KEY}",
|
||||
},
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// Knowledge search via Context7
|
||||
"context7": {
|
||||
"type": "remote",
|
||||
"url": "https://mcp.context7.com/mcp",
|
||||
"headers": {
|
||||
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
|
||||
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}",
|
||||
},
|
||||
"enabled": false
|
||||
"enabled": false,
|
||||
},
|
||||
|
||||
|
||||
// GitHub code search via Grep
|
||||
"gh_grep": {
|
||||
"type": "remote",
|
||||
"url": "https://mcp.grep.app",
|
||||
"enabled": true
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
// WAF intelligence orchestrator
|
||||
"waf_intel": {
|
||||
"type": "local",
|
||||
"command": ["python3", "waf_intel_mcp.py"],
|
||||
"command": ["/bin/bash", "/Users/sovereign/work-core/.secret/mcp/waf_intelligence.sh"],
|
||||
"enabled": true,
|
||||
"timeout": 300000
|
||||
"timeout": 300000,
|
||||
},
|
||||
|
||||
|
||||
// GitLab integration
|
||||
"gitlab": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-gitlab"],
|
||||
"environment": {
|
||||
"GITLAB_TOKEN": "{env:GITLAB_TOKEN}",
|
||||
"GITLAB_URL": "{env:GITLAB_URL:https://gitlab.com}"
|
||||
},
|
||||
"enabled": false
|
||||
"command": ["/opt/homebrew/bin/python3", "-u", "/Users/sovereign/work-core/.secret/gitlab_mcp_opencode_proxy.py"],
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
// Cloudflare API integration
|
||||
"cloudflare": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-cloudflare"],
|
||||
"command": ["/bin/bash", "/Users/sovereign/work-core/.secret/mcp_cloudflare_safe.sh"],
|
||||
"environment": {
|
||||
"CLOUDFLARE_API_TOKEN": "{env:CLOUDFLARE_API_TOKEN}",
|
||||
"CLOUDFLARE_ACCOUNT_ID": "{env:CLOUDFLARE_ACCOUNT_ID}"
|
||||
"CLOUDFLARE_ACCOUNT_ID": "{env:CLOUDFLARE_ACCOUNT_ID}",
|
||||
},
|
||||
"enabled": false
|
||||
"enabled": true,
|
||||
},
|
||||
|
||||
|
||||
// Akash docs + SDL helpers (read-only; no wallet/key handling)
|
||||
"akash_docs": {
|
||||
"type": "local",
|
||||
"command": ["python3", "-m", "cloudflare.mcp.akash_docs"],
|
||||
"environment": {
|
||||
"PYTHONPATH": "/Users/sovereign/work-core"
|
||||
},
|
||||
"enabled": false,
|
||||
"timeout": 300000,
|
||||
},
|
||||
|
||||
// Test server (remove in production)
|
||||
"test_everything": {
|
||||
"type": "local",
|
||||
"command": ["npx", "-y", "@modelcontextprotocol/server-everything"],
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
"enabled": false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user