Table of Contents

Enum McpErrorCode

Namespace
LMKit.Mcp.Server
Assembly
LM-Kit.NET.dll

JSON-RPC error codes used by the MCP protocol layer.

[Obfuscation(Exclude = true)]
public enum McpErrorCode

Fields

ParseError = -32700

The payload was not valid JSON.

InvalidRequest = -32600

The payload was valid JSON but not a valid JSON-RPC request.

MethodNotFound = -32601

The requested method is not implemented by this server.

InvalidParams = -32602

The method exists but the supplied parameters are unusable.

InternalError = -32603

An unexpected fault occurred while handling the request.

Remarks

These signal protocol faults. A tool that fails for a reason the caller could correct returns FromError(string) instead, so the caller sees the explanation.

Share