alepha@docs:~/docs/packages/alepha$
cat mcp.md1 min read
Last commit:
#Alepha - Mcp
#Installation
Part of the alepha package. Import from alepha/mcp.
npm install alepha
#Overview
Model Context Protocol for AI tool integration.
Features:
- MCP resource definitions
- MCP tool definitions
- MCP prompt definitions
- JSON-RPC protocol
- SSE and Stdio transports
#API Reference
#Primitives
$prompt— Creates an MCP prompt primitive for defining reusable prompt templates.$resource— Creates an MCP resource primitive for exposing read-only data.$tool— Creates an MCP tool primitive for defining callable functions.
#Providers
McpServerProvider— Core MCP server provider that handles protocol messages.