MCP Directory

How to add .NET Types Explorer MCP Server to Windsurf

Explore .NET assemblies, namespaces, types and NuGet packages via reflection so AI agents write accurate code. Paste the config into ~/.codeium/windsurf/mcp_config.json and restart Windsurf.

Last updated June 14, 2026 · 27 · stdio · no auth

Windsurf config for .NET Types Explorer MCP Server

docker pull vrogozhin/dotnet-types-explorer-mcp:latest
{
  "mcpServers": {
    "net-types-explorer-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "/path/to/your/dotnet/projects:/workspace",
        "vrogozhin/dotnet-types-explorer-mcp:latest"
      ]
    }
  }
}

Requires Docker to be installed and running.

Setup steps

  1. 1Open Windsurf → Cascade → the hammer/MCP icon → Configure (or edit ~/.codeium/windsurf/mcp_config.json).
  2. 2Paste the .NET Types Explorer MCP Server config below.
  3. 3Fill in placeholder secrets, then save.
  4. 4Click Refresh in the MCP panel.
  5. 5.NET Types Explorer MCP Server's tools become available to Cascade.

Before you start

  • .NET 9.0 SDK or later (for native installation)
  • A .NET project to explore (built for project-specific types; restored for NuGetCache mode)
  • Docker (optional, for the containerized deployment)
  • An MCP-compatible client (e.g. Roo Code / Cline, Cursor, Claude Desktop)

What .NET Types Explorer MCP Server can do in Windsurf

ReferencedAssembliesExplorer

Retrieves the assemblies referenced by a .NET project, with wildcard full-text filtering and pagination. Requires the project file absolute path.

NamespacesExplorer

Retrieves the namespaces contained in specified assemblies of a project, with wildcard filtering and pagination.

NamespaceTypes

Retrieves detailed type information (full name, implemented interfaces, constructors, methods, properties, fields, events) for types within specified namespaces, with wildcard filtering and pagination.

NuGetPackageSearch

Searches for NuGet packages on nuget.org (and configured feeds) by query, with optional prerelease inclusion, wildcard filtering and pagination.

NuGetPackageVersions

Retrieves version history and dependency information (per target framework) for a specific NuGet package, with optional prerelease inclusion, wildcard filtering and pagination.

Security

Reads .NET projects via MSBuild/reflection from the local filesystem; the Docker config mounts a host project directory into the container at /workspace, granting the server access to every project in that path. NuGet tools make outbound requests to nuget.org and any custom feeds configured in appsettings.json. No authentication is required.

.NET Types Explorer MCP Server + Windsurf FAQ

Where is the Windsurf config file?

Windsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json. Paste the .NET Types Explorer MCP Server config there under the "mcpServers" key and restart the client.

Is .NET Types Explorer MCP Server safe to use with Windsurf?

Reads .NET projects via MSBuild/reflection from the local filesystem; the Docker config mounts a host project directory into the container at /workspace, granting the server access to every project in that path. NuGet tools make outbound requests to nuget.org and any custom feeds configured in appsettings.json. No authentication is required.

Does the project need to be built first?

It depends on the resolution mode. In the default BuildOutput mode the project must be built before scanning. In NuGetCache mode only `dotnet restore` is required to inspect third-party package APIs, though project-specific types are still only available after a build.

Does it follow references to other projects in a solution?

No. It only inspects the specified project and its NuGet dependencies. To analyze multiple projects you must scan each one separately.

Can it query private or custom NuGet feeds?

Yes. Configure additional sources under Tools.NuGetSources in appsettings.json; all enabled sources are queried in parallel with priority-based deduplication. nuget.org is added by default only when no sources are configured.

View repo Full .NET Types Explorer MCP Server page