MCP Server IIS

by dotnet-demos

597 downloads
Not rated
GitHub

About

MCP Server IIS is a Model Context Protocol (MCP) server that provides an interface to manage a local IIS web server. It is intended for developers and system administrators who want to control IIS through MCP‑compatible hosts like VS Code or Claude Desktop.

Details

Author
dotnet-demos
Downloads
597
Categories
Other, Infrastructure, Automation

- Implements the Model Context Protocol for IIS management
- Uses Server‑Sent Events (SSE) transport
- Built with .NET 8 and C#
- Leverages Microsoft.Web.Administration for configuration
- Integrates with Visual Studio Code and Claude Desktop

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server IIS
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Build and run the server from source using dotnet build and dotnet run (requires .NET 8 SDK and IIS on Windows). Register the running server in an MCP host using the SSE endpoint (e.g., http://localhost:5000/sse).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server iis": {
            "mcp-server-iis": {
                "type": "http",
                "url": "http://localhost:5000/sse"
            }
        }
    }
}

McpServers

{
    "mcp-server-iis": {
        "type": "http",
        "url": "http://localhost:5000/sse"
    }
}

MCP Server IIS

Model Context Protocol (MCP) Server for IIS web server management

How to run

- Checkout source - Compile and run either via Visual Studio or VS Code - dotnet build - dotnet run

How to test

- Register the server into MCP hosts such as VS Code, Claude Desktop - Use the URL shown by dotnet run with /sse appended (e.g., http://localhost:5000/sse).

Prerequisites

- Windows with IIS installed and configured
- .NET 8 SDK
- Visual Studio or Visual Studio Code

Limitations

- Works only with local IIS. No remote support - Limited capabilities as tool - The transport used is SSE not the StdIO

Tools & Technologies

- .NET 8 with C# - Model Context Protocol (MCP) - Nuget packages - ModelContextProtocol - Microsoft.Web.Administration - Microsoft.Extensions.Hosting
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.