DNN API Server (.NET C# Version)

DNN API Server (.NET C# Version)

dnn-dotnet-mcp--server•bysachatrauwaen

A C# .NET Model Context Protocol server that provides tools for interacting with DNN Platform through its APIs.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Authenticates against the DNN API using configured credentials or a token.
  • •Exposes host tools to read DNN host settings and clear the DNN cache.
  • •Exposes portal tools to retrieve portal details and list all portals.
  • •Supports site configuration via environment variables or a JSON sites file.

BEST FOR

  • •Managing DNN host settings and cache through an MCP client.
  • •Inspecting DNN portal details and enumerating portals.
  • •Developers extending DNN tooling by adding new MCP server tools.

ABOUT DNN-DOTNET-MCP--SERVER

DNN API Server (.NET C# Version) is cataloged as an MCP server attributed to sachatrauwaen. A C# .NET Model Context Protocol server that provides tools for interacting with DNN Platform through its APIs. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for DNN API Server (.NET C# Version) are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does the server require to run?

.NET 7.0 or higher and a DNN Platform instance are required.

How can the server be configured?

The server can be configured using environment variables, optionally referencing a JSON file of site configurations.

Upstream README

View this exact version on GitHub

README.md · 2a1c3267539a · Fetched 2026-11-13 12:33:33 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

DNN API Server (.NET C# Version)

A Model Context Protocol (MCP) server for DNN Platform written in C# using .NET.

Overview

This server implements the Model Context Protocol to provide tools for interacting with DNN Platform through its APIs. It's a C# port of the Node.js implementation using the official ModelContextProtocol SDK.

Features

  • Authentication with DNN API
  • Host management tools
  • Portal management tools
  • Support for site configuration via environment variables or JSON file
  • Easily extensible using MCP SDK attributes

Requirements

  • .NET 7.0 or higher
  • DNN Platform instance

Configuration

The server can be configured using environment variables:

  • DNN_API_URL: URL to your DNN installation API (required)
  • DNN_USERNAME: DNN username (required if not using a token)
  • DNN_PASSWORD: DNN password (required if not using a token)
  • DNN_SITES_FILE: Path to a JSON file containing site configurations (optional)
  • DNN_SITE: Name of the site configuration to use from the sites file (optional, default: "dnn18")

Site Configuration File Format

{
  "sites": {
    "dnn18": {
      "url": "https://your-dnn-site.com",
      "token": "your-jwt-token",
      "expires": "2025-12-31"
    }
  }
}

Building and Running

cd DnnApiServer
dotnet build
dotnet run

Available Tools

Host Tools

  • get_host: Get DNN host settings
  • clear_cache: Clear DNN cache

Portal Tools

  • get_portal: Get portal details
  • list_portals: List all portals

Adding New Tools

To add new tools, simply add new methods to the DnnTools class:

  1. Open Tools/DnnTools.cs
  2. Add a new method in the appropriate region (or create a new region)
  3. Decorate the method with the [McpServerTool] and [Description] attributes
  4. Rebuild the project

For example:

[McpServerTool]
[Description("Get page details")]
public async Task<string> GetPage(int pageId, int portalId)
{
    var data = await ExecuteCommandAsync(portalId, $"get-page --id {pageId}");
    return JsonSerializer.Serialize(data, new JsonSerializerOptions { WriteIndented = true });
}

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for DNN API Server (.NET C# Version) from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/dnn-dotnet-mcp--server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools