MCP.so
Sign In

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

@sachatrauwaen

Basic information

Category

Developer Tools

License

MIT license

Transports

stdio

Author

sachatrauwaen

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

No overview available yet

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

More Developer Tools MCP servers