Skip to content

@himorishige/hatago-core

Core type definitions for Hatago MCP Hub.

Pure TypeScript types and minimal helpers with no side effects. All other packages depend on these types.

Terminal window
npm install @himorishige/hatago-core
core → runtime → transport → server → mcp-hub
  • Types for connections, sessions, registries
  • Error codes and severity
  • Event contracts for lifecycle and sessions
  • Protocol constants for MCP
import { ErrorCode } from '@himorishige/hatago-core';

MIT