Skip to content

Commit 29c8e78

Browse files
committed
Configure Claude permissions and MCP servers
1 parent d952fff commit 29c8e78

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.claude/settings.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"includeCoAuthoredBy": true,
3+
"allowedMcpServers": [
4+
{ "serverName": "github" },
5+
{ "serverName": "microsoft-learn" }
6+
],
7+
"permissions": {
8+
"allow": [
9+
"Bash(cat:*)",
10+
"Bash(done:*)",
11+
"Bash(sed:*)",
12+
"Bash(gh pr view:*)",
13+
"Bash(gh pr diff:*)",
14+
"Bash(git log:*)",
15+
"Bash(git show:*)",
16+
"Bash(dotnet build:*)",
17+
"Bash(dotnet test:*)",
18+
"mcp__ide__getDiagnostics",
19+
"mcp__github__issue_read",
20+
"mcp__microsoft-learn__microsoft_docs_search",
21+
"mcp__microsoft-learn__microsoft_docs_fetch"
22+
],
23+
"deny": [
24+
"Read(./.env)",
25+
"Read(./.env.*)"
26+
]
27+
}
28+
}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Toolbox/Libs/
1616
out/
1717
.vs/
1818

19+
### Claude CLI ###
20+
.claude/*.local.json
21+
22+
1923
### VisualStudioCode ###
2024
.vscode/*
2125
!.vscode/tasks.json

0 commit comments

Comments
 (0)