@hackage mcp-types0.1.0

Core types and protocol definitions for the Model Context Protocol (MCP)

This library provides the core type definitions and JSON-RPC protocol layer for the Model Context Protocol (MCP). MCP is a protocol that enables seamless communication between AI models and external tools, resources, and services.

This package contains only the pure protocol types with minimal dependencies, making it suitable for building both clients and servers on any framework. For a ready-made Servant-based server, see the mcp package.