0.2.3 • Published 2 months ago
@sylphlab/mcp-core v0.2.3
MCP Core Types (@sylphlab/mcp-core)
Shared TypeScript types and interfaces for Sylph Lab MCP packages.
This package provides common definitions, such as the McpTool
and BaseMcpToolOutput
interfaces, used by other @sylphlab/mcp-*
tool libraries and servers.
Installation
This package is intended for internal use within the sylphlab/mcp
monorepo. Other packages should depend on it using the workspace:*
protocol.
# Add to another workspace package
pnpm add @sylphlab/mcp-core@workspace:* --filter <your-package-name>
Usage
Import types as needed:
import { McpTool, BaseMcpToolOutput } from '@sylphlab/mcp-core';
// ... use types ...
Development
- Build:
pnpm --filter @sylphlab/mcp-core build