You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Authenticate the GitHub MCP server in Claude Code through a `headersHelper`
that reuses the GitHub token stored by Git Credential Manager. The server
does not support dynamic client registration, so the OAuth flow of Claude
Code fails. The helper prints `{}` when there is no credential.
* Sort MCP servers alphabetically and replace the server table in the
instructions with hints on when to prefer a server.
* Add `AGENTS.md` pointing at the shared instructions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+5-13Lines changed: 5 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,20 +63,12 @@ Use GitHub MCP tools for code search in these repositories when needed.
63
63
64
64
## MCP Servers
65
65
66
-
MCP server configuration lives in #file:'.mcp.json':
66
+
Agents discover servers from #file:'.mcp.json'; these are only hints on when to prefer one.
67
67
68
-
*`servers` – read by VS Code / GitHub Copilot.
69
-
*`mcpServers` – read by Claude Code. Mirrors the same servers; keep both sections in sync when adding or changing a server.
70
-
71
-
Local tool packages are pinned in #file:'.config/dotnet-tools.json' – run `dotnet tool restore` before first use.
72
-
73
-
| Server | Tool package | Command | Notes |
74
-
|---|---|---|---|
75
-
|`F#`|`fslangmcp`|`dotnet tool run fslangmcp`| Semantic F# MCP backed by the compiler and FSAC. Use it for cross-project symbol search, project/file outlines, diagnostics, rename previews, dead-code checks, and other F#-aware analysis that plain text search misses. See <https://github.com/Neftedollar/FsLangMCP>. |
|`Microsoft Docs`| – | HTTP | Official Microsoft and .NET documentation. |
78
-
79
-
For F# work, prefer FsLangMCP over `rg`/plain text search whenever the task depends on symbol meaning, compile context, cross-project usage, diagnostics, or safe refactoring preview.
68
+
* For F# work, prefer the `F#` server ([FsLangMCP](https://github.com/Neftedollar/FsLangMCP)) over `rg`/plain text search whenever the task depends on symbol meaning, compile context, cross-project usage, diagnostics, or safe refactoring preview. Its tool package is pinned in #file:'.config/dotnet-tools.json' – run `dotnet tool restore` before first use.
69
+
* Use the `GitHub` server for code search in dependency repositories. In Claude Code it authenticates through `.claude/scripts/github-mcp-headers.ps1`, which reuses the GitHub token stored by Git Credential Manager, because the server does not support the OAuth dynamic client registration Claude Code needs.
70
+
* Use the `Microsoft Docs` server for official Microsoft and .NET documentation.
71
+
* When adding or changing a server, keep `servers` (VS Code / GitHub Copilot) and `mcpServers` (Claude Code) in sync and sorted alphabetically by key.
Before starting any task, read and follow [.github/copilot-instructions.md](.github/copilot-instructions.md). It holds the full project context and coding standards.
0 commit comments