BUILD WITH MCP

MCP

Make your C# application services available to MCP-compatible clients.

MCP gives external AI clients a way to discover and call selected application capabilities. Runiq hosts the MCP server inside ASP.NET Core, alongside your existing services and dependency injection.

Start with one capability

Install the server integration in your host project:

.NET CLI
dotnet add package Runiq.AI.Mcp

Define an attributed tool, register its service dependencies, and map the endpoint. The default route is /mcp, using stateless Streamable HTTP.

Create your MCP server →

Choose the tool boundary

CapabilityHow it is made available
Runiq agent toolAttach an AgentTool<TInput, TOutput> to an agent.
MCP toolExpose an attributed method for MCP-compatible clients.
Application serviceReuse it through either adapter and dependency injection.

Registering an agent tool does not automatically publish it through MCP. This integration exposes a server; it does not attach a remote MCP server to your agents.

Build and verify

GuideOutcome
Creating an MCP serverRegister transport and choose an endpoint.
Application service as a toolBuild a complete C# tool backed by a service.
Studio testingInspect the tool locally, then verify the MCP connection.

On this page