Turn Claude, ChatGPT, and any LLM into a safe, bloat-free Autonomous Coding Agent with semantic navigation and worktree sandboxing.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add agentic --env AGENTIC_ALLOWED_ROOTS='<AGENTIC_ALLOWED_ROOTS>' -- npx -y mcp-agentic-server~/.codex/config.toml
[mcp_servers.agentic]
command = "npx"
args = ["-y", "mcp-agentic-server"]
env = { AGENTIC_ALLOWED_ROOTS = "<AGENTIC_ALLOWED_ROOTS>" }
# codex mcp add agentic --env AGENTIC_ALLOWED_ROOTS='<AGENTIC_ALLOWED_ROOTS>' -- npx -y mcp-agentic-server~/.cursor/mcp.json
{
"mcpServers": {
"agentic": {
"command": "npx",
"args": [
"-y",
"mcp-agentic-server"
],
"env": {
"AGENTIC_ALLOWED_ROOTS": "<AGENTIC_ALLOWED_ROOTS>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agentic": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-agentic-server"
],
"env": {
"AGENTIC_ALLOWED_ROOTS": "<AGENTIC_ALLOWED_ROOTS>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentic": {
"command": "npx",
"args": [
"-y",
"mcp-agentic-server"
],
"env": {
"AGENTIC_ALLOWED_ROOTS": "<AGENTIC_ALLOWED_ROOTS>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agentic": {
"command": "npx",
"args": [
"-y",
"mcp-agentic-server"
],
"env": {
"AGENTIC_ALLOWED_ROOTS": "<AGENTIC_ALLOWED_ROOTS>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentic": {
"command": "npx",
"args": [
"-y",
"mcp-agentic-server"
],
"env": {
"AGENTIC_ALLOWED_ROOTS": "<AGENTIC_ALLOWED_ROOTS>"
}
}
}
}需要的环境变量
AGENTIC_ALLOWED_ROOTS
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。