MsgPack (LsMsgPack)
Decode MsgPack bytes into readable text, including from paused debugger variables
- Pricing
- Open source
- Platforms
- CLI, vscode, Windows
- Runs
- Locally
- Version
- 2026.11.12.1
- Listing updated
- 2 days ago
About MsgPack (LsMsgPack)
MsgPack (LsMsgPack) is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Language models read text better than bytes, and hex or base64 costs several tokens per byte. This server decodes MsgPack with the same library that powers the MsgPack Explorer extension and prints it as JSON with comments that show type names, schema indexes, timestamps and GUIDs. It reads any MsgPack, not only data written by LsMsgPack, and reports errors with their byte offset.
Its debugger bridge goes further: when a program is paused in VS Code or Visual Studio, the agent can list the stack frame's variables and read the bytes of one directly. By default only variable and member paths are read, with no method calls; the IDE setting can allow any expression, and a stream that cannot seek is only consumed after the IDE asks the user.
It installs as a .NET global tool and also works as a command-line decoder.
Install
Run in a terminal
claude mcp add lsmsgpack -- dnx LsMsgPack.Mcp --yesAdd to claude_desktop_config.json
{
"mcpServers": {
"lsmsgpack": {
"command": "dnx",
"args": [
"LsMsgPack.Mcp",
"--yes"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"lsmsgpack": {
"command": "dnx",
"args": [
"LsMsgPack.Mcp",
"--yes"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"lsmsgpack": {
"type": "stdio",
"command": "dnx",
"args": [
"LsMsgPack.Mcp",
"--yes"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"lsmsgpack": {
"command": "dnx",
"args": [
"LsMsgPack.Mcp",
"--yes"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"lsmsgpack": {
"command": "dnx",
"args": [
"LsMsgPack.Mcp",
"--yes"
]
}
}
}Tools this server provides (7)
Taken from the project documentation; the running server may differ.
- msgpack_debug_status
- The IDEs with the MsgPack extension, their debug sessions, and where the program is paused.
- msgpack_debug_locals
- The variables of the paused stack frame with their types.
- msgpack_debug_read
- Reads the bytes of an expression in the paused program and decodes them.
- msgpack_decode
- Decodes data, a file or an earlier document.
- msgpack_read_as_class
- Reads data into a class of a compiled .NET assembly and reports mismatches.
- msgpack_explain_offset
- Explains what the byte at an offset is.
- msgpack_search
- Finds items holding a text or value, with offsets and paths.
What it does
- Readable decoding
- Turns MsgPack bytes into JSON with comments, resolving type ids and schema indexes.
- Debugger variable reads
- Reads byte arrays, streams, memory buffers, base64 or hex strings from a paused program.
- Class mismatch report
- Compares data against a compiled .NET class and lists properties and values that do not match.
- Offset explanation
- Says what the byte at a given offset is and which item and member hold it.
- Search in payloads
- Finds a text or value with its offsets and object path.
- Command-line mode
- Decodes, explains and searches files from a terminal without an agent.
Good for
- Inspect a MsgPack payload stuck in a variable while debugging
- Check why a payload does not deserialise into a .NET class
- Find which byte is corrupt after a decode error
- Search a large MsgPack file for a customer name or value
- Decode schema-indexed LsMsgPack data an agent could not read as raw bytes
Pricing
Open source
MsgPack (LsMsgPack) FAQ
What does it need to run?
The .NET runtime 8 or later; install with dotnet tool install -g LsMsgPack.Mcp.
Which IDEs can it read variables from?
VS Code, through the MsgPack Explorer extension, and Visual Studio, through the MsgPack Debugger Extension.
Does it only read LsMsgPack data?
No. It reads any MsgPack, though schema-indexed data may need a schema store to resolve.
Can it run code in my program?
By default it reads only variable and member paths. Any-expression evaluation is a setting you turn on in the IDE.
Is MsgPack (LsMsgPack) free?
Yes. MsgPack (LsMsgPack) is open source, so you can use and self-host it for free.
How do I add MsgPack (LsMsgPack) to Claude Code?
Run this command in your terminal: claude mcp add lsmsgpack -- dnx LsMsgPack.Mcp --yes
What are the best alternatives to MsgPack (LsMsgPack)?
The closest alternatives to MsgPack (LsMsgPack) are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to MsgPack (LsMsgPack)

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools