# LibTmux.Mcp.ServerInstructions.Compose

- **Module:** LibTmux.Mcp.ServerInstructions
- **Package:** LibTmux.Mcp
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Mcp/ServerInstructions.cs#L34
- **Page:** https://libtmux.org/en/dotnet/latest/mcp/reference/libtmux-mcp-serverinstructions-compose/

```
LibTmux.Mcp.ServerInstructions.Compose(policy: ServerPolicy, callerPaneId: string?) -> string
```

Composes the instructions for a running server.

## Parameters

- `policy` (ServerPolicy): What this server will do.
- `callerPaneId` (string?): The pane this server runs in, when it runs in one.

## Returns

The instructions.

## Raises

- `InvalidOperationException`: The fixed guidance no longer fits the budget. That is a bug in this file
rather than a condition to degrade around: silently dropping a segment
would leave a model without the rule it was dropped from.
