-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
56 lines (52 loc) · 1.96 KB
/
opencode.jsonc
File metadata and controls
56 lines (52 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$schema": "https://opencode.ai/config.json",
// ===========================================================================
// OpenCode Project Configuration Template
// ===========================================================================
// This file provides commented examples of ALL available configuration
// options. Uncomment and modify sections as needed for this project.
// Project config overrides global config (~/.config/opencode/opencode.jsonc)
// ===========================================================================
// --- MCP Servers -----------------------------------------------------------
// Configure Model Context Protocol servers
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}",
},
"enabled": true,
},
"firecrawl": {
"type": "local",
"command": ["npx", "-y", "firecrawl-mcp"],
"enabled": true,
"environment": {
"FIRECRAWL_API_KEY": "{env:FIRECRAWL_API_KEY}",
"FIRECRAWL_RETRY_MAX_ATTEMPTS": "3",
"FIRECRAWL_RETRY_INITIAL_DELAY": "2000",
"FIRECRAWL_RETRY_MAX_DELAY": "30000",
"FIRECRAWL_RETRY_BACKOFF_FACTOR": "3",
"FIRECRAWL_CREDIT_WARNING_THRESHOLD": "500",
"FIRECRAWL_CREDIT_CRITICAL_THRESHOLD": "100",
},
},
"shadcn": {
"type": "local",
"command": ["npx", "shadcn@latest", "mcp"],
"enabled": true,
},
},
// --- Instructions ----------------------------------------------------------
// Include instruction files for the model
"instructions": [
".cursor/rules/*.md",
".cursor/rules/**/*.mdc",
".llms/rules/**/*.md",
".llms/rules/**/*.mdc",
],
// --- Disabled Providers ----------------------------------------------------
// Disable specific providers even if credentials are available
"disabled_providers": ["openai", "anthropic", "google"],
}