UNPKG

jsonv-ts

Version:

JSON Schema builder and validator for TypeScript with static type inference, Hono middleware for OpenAPI generation and validation, and MCP server/client implementation. Lightweight, dependency-free, and built on Web Standards.

10 lines (9 loc) 1.1 kB
export { McpServer, type McpServerInfo, type McpServerOptions, mcpServer, type LogLevel, logLevelNames as logLevels, } from "./server"; export { Tool, type ToolConfig, type ToolAnnotation, type ToolHandlerCtx, type ToolResponse, type ToolJson, } from "./tool"; export { Resource, type ResourceConfig, type ResourceResponse, type TResourceUri, type ResourceHandlerCtx, type ResourceJson, } from "./resource"; export { mcp, type McpServerInit, type McpOptionsBase, type McpOptionsSetup, type McpOptionsStatic, } from "./hono/mcp.middleware"; export { type RpcMessage, type RpcNotification, type TRpcId, type TRpcRequest, type TRpcResponse, } from "./rpc"; export { McpClient, type McpClientConfig } from "./client"; export { mcpTool, mcpResource, getMcpServer, withMcp, type McpFeatureTool, type McpFeatureResource, type McpFeatureWithRouteInfo, } from "./hono/mcp-features.middleware"; export { streamableHttpTransport, type StreamableHttpTransportOptions, } from "./transports/streamable-http-transport"; export { stdioTransport, type StdioTransportOptions, } from "./transports/stdio-transport";