com.IvanMurzak.Brutal.MCP.RakNet
0.1.0
dotnet add package com.IvanMurzak.Brutal.MCP.RakNet --version 0.1.0
NuGet\Install-Package com.IvanMurzak.Brutal.MCP.RakNet -Version 0.1.0
<PackageReference Include="com.IvanMurzak.Brutal.MCP.RakNet" Version="0.1.0" />
<PackageVersion Include="com.IvanMurzak.Brutal.MCP.RakNet" Version="0.1.0" />
<PackageReference Include="com.IvanMurzak.Brutal.MCP.RakNet" />
paket add com.IvanMurzak.Brutal.MCP.RakNet --version 0.1.0
#r "nuget: com.IvanMurzak.Brutal.MCP.RakNet, 0.1.0"
#:package com.IvanMurzak.Brutal.MCP.RakNet@0.1.0
#addin nuget:?package=com.IvanMurzak.Brutal.MCP.RakNet&version=0.1.0
#tool nuget:?package=com.IvanMurzak.Brutal.MCP.RakNet&version=0.1.0
Brutal-MCP RakNet
com.IvanMurzak.Brutal.MCP.RakNet — Brutal-MCP extension for Ahwoo.BRUTAL.RakNet (namespace Brutal.RakNetApi).
Lets an AI agent inspect the game's RakNet peers and connections, simulate a bad network and close connections.
It never calls Receive: reads cannot steal the game's packets.
Setup
dotnet add package com.IvanMurzak.Brutal.MCP.RakNet
Register the peer once after Startup (a static field of type RakPeerInstance, RakPeerInstance? or a collection of
them is found without registering, and always reflects the field's current value):
BrutalMcp.Register(peer, "Server");
RakPeerInstance is a struct wrapping a native pointer: Register stores a copy, and the registry compares copies by
value (registering the same peer again renames it instead of adding a second entry). Unregister it
(BrutalMcp.Unregister(peer)) before Dispose() / DestroyInstance, otherwise a later query reads a freed peer.
RQL
| Source | Content |
|---|---|
network |
Name Active Guid BoundAddress ConnectionCount MaxIncomingConnections MaxPeers NetworkSimulatorActive Connections; calls ApplyNetworkSimulator(packetLoss, minExtraPing, variance), CloseConnection(address, notify) |
connections |
Peer Address Ip Guid State AveragePing LastPing LowestPing Statistics (byte counters per second / total, packet loss, send and resend buffers); call Close(notify) |
connections | select Address State AveragePing Statistics.PacketlossLastSecond
network | call ApplyNetworkSimulator(0.1, 50, 20)
network | call CloseConnection("127.0.0.1:60001")
ApplyNetworkSimulator is for development: it only has an effect when the RakNet native library was built with the
simulator (NetworkSimulatorActive tells).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Ahwoo.BRUTAL.RakNet (>= 2026.10.2)
- com.IvanMurzak.Brutal.MCP (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 61 | 10/17/2026 |