Repository navigation
Expand file tree
/
Copy pathconfig.yml
More file actions
69 lines (62 loc) · 2.54 KB
/
Copy pathconfig.yml
File metadata and controls
69 lines (62 loc) · 2.54 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
default_model: "openai_gpt4o"
# Used with either sqlite or postgres checkpointer
# checkpoint_db: checkpoint.db
# checkpoint_db: postgresql+asyncpg://postgres:password@localhost:5432/postgres
# Only used with postgres store
# store_db: postgresql+asyncpg://postgres:password@localhost:5432/postgres
system_prompt: |
You are a chatbot operating in a developer debugging environment. You can give detailed information about any information you have access to (you do not have to worry about hiding implementation details from a user).
Respond in markdown.
Your allowed directory is ~/mcp_allowed/
You should generally aim to be fully autonomous (completing up to 10 sequential tool calls in a row).
# Servers as either urls or paths to python modules (not javascript for now)
mcp_servers:
# Example for connecting to an sse server already running locally (won't do anything if you don't have one running)
example_server:
url: "http://localhost:9090/sse"
# Example for connecting to a local python MCP server
# Clone the https://github.com/modelcontextprotocol/servers next to this one for this to work
git:
command: uv
args: ["--directory", "../servers/src/git", "run", "mcp-server-git"]
# Example for connecting to a dockerized MCP server
# This will work straight away as long as you have docker installed
github:
# https://github.com/github/github-mcp-server?tab=readme-ov-file#usage-with-claude-desktop
command: docker
args:
[
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN}",
"ghcr.io/github/github-mcp-server",
]
# Example for connection to a javascript/typescript MCP server
# This will work straight away as long as you have node installed
filesystem:
command: npx
args: ["-y", "@modelcontextprotocol/server-filesystem", "~/mcp_allowed/"]
# Make sure these are set in a `.env` file or in your environment
secrets:
# https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
# https://platform.openai.com/settings/
OPENAI_API_KEY: ${OPENAI_API_KEY}
# https://github.com/settings/personal-access-tokens/new
GITHUB_PERSONAL_ACCESS_TOKEN: ${GITHUB_PERSONAL_ACCESS_TOKEN}
logging:
version: 1
formatters:
formatter:
format: "[%(asctime)s] [%(levelname)s] [%(name)s]: %(message)s"
handlers:
console:
class: "logging.StreamHandler"
level: "INFO"
formatter: "formatter"
stream: "ext://sys.stderr"
root:
level: "INFO"
handlers: ["console"]