AIContextBuilder (AICB): Roslyn MCP server and CLI for C#/.NET (dotnet) code intelligence - semantic code analysis and navigation for coding agents: callers, change impact, implementations, dependency injection, tests, side effects, dead code, token-budgeted context.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add aicontextbuilder -- dnx aicb-roslyn-mcp --yes~/.codex/config.toml
[mcp_servers.aicontextbuilder]
command = "dnx"
args = ["aicb-roslyn-mcp", "--yes"]
# codex mcp add aicontextbuilder -- dnx aicb-roslyn-mcp --yes~/.cursor/mcp.json
{
"mcpServers": {
"aicontextbuilder": {
"command": "dnx",
"args": [
"aicb-roslyn-mcp",
"--yes"
]
}
}
}.vscode/mcp.json
{
"servers": {
"aicontextbuilder": {
"type": "stdio",
"command": "dnx",
"args": [
"aicb-roslyn-mcp",
"--yes"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"aicontextbuilder": {
"command": "dnx",
"args": [
"aicb-roslyn-mcp",
"--yes"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"aicontextbuilder": {
"command": "dnx",
"args": [
"aicb-roslyn-mcp",
"--yes"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"aicontextbuilder": {
"command": "dnx",
"args": [
"aicb-roslyn-mcp",
"--yes"
]
}
}
}