You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
`netagents` publishes a small set of packages for managing `.agents` skill repositories and building compile-time MCP servers in .NET.
4
+
5
+
## Packages
6
+
7
+
-`NetAgents`: a .NET tool for initializing, installing, syncing, and trusting `.agents` directories.
8
+
-`Qyl.Agents.Abstractions`: `[McpServer]` and `[Tool]` attributes used by the generator.
9
+
-`Qyl.Agents.Generator`: incremental source generator that emits MCP dispatch, metadata, schema, and telemetry glue.
10
+
-`Qyl.Agents`: runtime protocol and hosting helpers for generated servers.
11
+
12
+
## Install
13
+
14
+
```bash
15
+
dotnet tool install --global NetAgents
16
+
dotnet add package Qyl.Agents.Abstractions
17
+
dotnet add package Qyl.Agents.Generator
18
+
dotnet add package Qyl.Agents
19
+
```
20
+
21
+
## Quick Start
22
+
23
+
```csharp
24
+
usingQyl.Agents;
25
+
26
+
[McpServer("calc-server")]
27
+
publicpartialclassCalcServer
28
+
{
29
+
[Tool]
30
+
publicintAdd(inta, intb) =>a+b;
31
+
}
32
+
```
33
+
34
+
The generator produces the MCP-facing dispatch and metadata at build time. The runtime package provides the protocol host and handler used to serve generated MCP servers.
35
+
36
+
For repository management, initialize a project with:
0 commit comments