Feedback

DNN API Server (.NET C# Version) MCP Server

@sachatrauwaen Claim

Basic information

Runtime
c#
Category
License
MIT license
Transports
stdio
Author
sachatrauwaen
Submitted by
Community
Quality
10
Stars
2

About DNN API Server (.NET C# Version) MCP Server

# DNN API Server (.NET C# Version)

DNN API Server (.NET C# Version) is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by sachatrauwaen. Supported transport: stdio. Runtime: c#. License: MIT license. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: api, csharp, dnn, dotnet, server.

DNN API Server (.NET C# Version) MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

DNN API Server (.NET C# Version) MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is DNN API Server (.NET C# Version)?

It is a Model Context Protocol (MCP) server for DNN Platform written in C# using .NET. It provides tools for interacting with DNN Platform through its APIs and is a C# port of the Node.js implementation using the official ModelContextProtocol SDK.

How to use DNN API Server (.NET C# Version)?

Configure the server via environment variables (DNN_API_URL, DNN_USERNAME, DNN_PASSWORD, DNN_SITES_FILE, DNN_SITE) or a site configuration JSON file. Build and run by executing cd DnnApiServer; dotnet build; dotnet run. Requires .NET 7.0 or higher and a running DNN Platform instance.

Key features of DNN API Server (.NET C# Version)

  • Authentication with DNN API using username/password or JWT token
  • Host management tools: get_host, clear_cache
  • Portal management tools: get_portal, list_portals
  • Support for site configuration via environment variables or JSON file
  • Easily extensible using MCP SDK attributes

Use cases of DNN API Server (.NET C# Version)

  • Retrieve and manage DNN host settings programmatically
  • Clear DNN cache remotely via an MCP tool
  • Get details of a specific DNN portal
  • List all DNN portals in the instance
  • Extend functionality by adding custom MCP tools

Frequently asked questions

1 How does this server differ from the Node.js version?

It is a C# port using the official ModelContextProtocol SDK, offering the same functionality in the .NET ecosystem.

2 What are the runtime requirements?

.NET 7.0 or higher and a DNN Platform instance.

3 How do I configure authentication for the server?

Set the environment variables DNN_API_URL, DNN_USERNAME, and DNN_PASSWORD, or use a JSON site configuration file that includes a JWT token.

4 How can I add new tools to this server?

Open Tools/DnnTools.cs, add a new method in the appropriate region, and decorate it with the [McpServerTool] and [Description] attributes, then rebuild the project.

5 What transport or authentication does the server use?

It uses the Model Context Protocol; authentication is handled via username/password or a JWT token provided in the site configuration.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬