Skip to content

Commit f2ad8a9

Browse files
committed
Add .mcp.json config and include in solution items
Added .mcp.json to define GitHub server configuration with API URL and authorization header. Updated G4.sln to include .mcp.json as a solution item for better project management.
1 parent 456e3a2 commit f2ad8a9

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/.mcp.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"servers": {
3+
"github": {
4+
"type": "http",
5+
"url": "https://api.githubcopilot.com/mcp/",
6+
"headers": {
7+
"Authorization": "Bearer "
8+
}
9+
}
10+
}
11+
}

src/G4.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".docs", ".docs", "{6C196AB2
3131
EndProject
3232
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{AB40C270-E21E-44D5-A50C-1CD5EA778ECC}"
3333
ProjectSection(SolutionItems) = preProject
34+
.mcp.json = .mcp.json
3435
..\.github\workflows\release-pipeline.yml = ..\.github\workflows\release-pipeline.yml
3536
EndProjectSection
3637
EndProject

0 commit comments

Comments
 (0)