Skip to content

McpOperationStatus

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The result status of an MCP request.

public enum McpOperationStatus

CapabilityUnsupported = 2

The server does not report the requested capability (prompts/resources).

ConnectionFailed = 3

Could not connect to the server, or an error occurred during the request.

ItemNotFound = 4

The requested prompt/resource does not exist on the server.

Ok = 0

The request succeeded.

ServerNotFound = 1

No server is registered with this name.

UriNotDeclared = 5

The requested resource URI is not in the resource list reported by the server. Free-form URI reads are rejected because they carry an SSRF risk.