-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmcp_agent.config.yaml
More file actions
126 lines (118 loc) · 3.37 KB
/
mcp_agent.config.yaml
File metadata and controls
126 lines (118 loc) · 3.37 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
$schema: ./schema/mcp-agent.config.schema.json
anthropic: null
default_search_server: brave
document_segmentation:
enabled: false
size_threshold_chars: 50000
execution_engine: asyncio
logger:
level: info
path_settings:
path_pattern: logs/mcp-agent-{unique_id}.jsonl
timestamp_format: '%Y%m%d_%H%M%S'
unique_id: timestamp
progress_display: false
transports:
- console
- file
mcp:
servers:
bocha-mcp:
args:
- tools/bocha_search_server.py
command: python3
env:
BOCHA_API_KEY: ''
PYTHONPATH: .
brave:
# macos and linux should use this
args:
- -y
- '@modelcontextprotocol/server-brave-search'
command: npx
# windows should use this
# args:
# # please use the correct path for your system
# - C:/Users/<YOUR_USERNAME>/AppData/Roaming/npm/node_modules/@modelcontextprotocol/server-brave-search/dist/index.js
# command: node
env:
BRAVE_API_KEY: ''
filesystem:
# macos and linux should use this
args:
- -y
- '@modelcontextprotocol/server-filesystem'
- .
command: npx
# windows should use this
# args:
# # please use the correct path for your system
# - C:/Users/<YOUR_USERNAME>/AppData/Roaming/npm/node_modules/@modelcontextprotocol/server-filesystem/dist/index.js
# - .
# command: node
code-implementation:
args:
- tools/code_implementation_server.py
command: python
description: Paper code reproduction tool server - provides file operations,
code execution, search and other functions
env:
PYTHONPATH: .
code-reference-indexer:
args:
- tools/code_reference_indexer.py
command: python
description: Code reference indexer server - Provides intelligent code reference
search from indexed repositories
env:
PYTHONPATH: .
command-executor:
args:
- tools/command_executor.py
command: python
env:
PYTHONPATH: .
document-segmentation:
args:
- tools/document_segmentation_server.py
command: python
description: Document segmentation server - Provides intelligent document analysis
and segmented reading to optimize token usage
env:
PYTHONPATH: .
fetch:
args:
- mcp-server-fetch
command: uvx
file-downloader:
args:
- tools/pdf_downloader.py
command: python
env:
PYTHONPATH: .
github-downloader:
args:
- tools/git_command.py
command: python
env:
PYTHONPATH: .
# LLM Provider Priority (选择使用哪个LLM / Choose which LLM to use)
# Options: "anthropic", "google", "openai"
# If not set or provider unavailable, will fallback to first available provider
llm_provider: "google" # 设置为 "google", "anthropic", 或 "openai"
openai:
base_max_tokens: 40000
# default_model: google/gemini-2.5-pro
default_model: anthropic/claude-sonnet-4.5
# default_model: openai/gpt-oss-120b
# default_model: deepseek/deepseek-v3.2-exp
# default_model: moonshotai/kimi-k2-thinking
reasoning_effort: low # Only for thinking models
max_tokens_policy: adaptive
retry_max_tokens: 32768
# Configuration for Google AI (Gemini)
google:
default_model: "gemini-3-pro-preview"
anthropic:
default_model: "claude-sonnet-4.5"
planning_mode: traditional