Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Latest commit

 

History

History
55 lines (41 loc) · 1.84 KB

File metadata and controls

55 lines (41 loc) · 1.84 KB

NuGet NuGet NuGet NuGet License: MIT

netagents

.agents package manager and compile-time MCP server source generator for .NET.

Packages

Package Purpose
NetAgents CLI tool for bootstrapping, installing, syncing, and trusting .agents skill repositories
Qyl.Agents.Abstractions [McpServer] and [Tool] marker attributes (netstandard2.0)
Qyl.Agents.Generator Source generator that emits MCP dispatch, schema, metadata, and OTel instrumentation
Qyl.Agents Runtime: MCP transport, protocol handler, HTTP hosting, well-known discovery

Installation

# CLI tool
dotnet tool install --global NetAgents

# MCP server libraries
dotnet add package Qyl.Agents.Abstractions
dotnet add package Qyl.Agents.Generator
dotnet add package Qyl.Agents

Quick Start

using Qyl.Agents;

[McpServer("calc-server")]
public partial class CalcServer
{
    [Tool]
    public int Add(int a, int b) => a + b;
}

The generator produces MCP dispatch and metadata at build time. The runtime package hosts the server over stdio or HTTP.

netagents init
netagents add getsentry/dotagents
netagents install

Related