@svatah/yam-mcp
The Yam MCP server: surface and operation tools over stdio or Streamable HTTP
- Source:
packages/mcp· README:packages/mcp/README.md - Install:
npm install @svatah/yam-mcp· bin:yam-mcp - Version 0.1.0 · Apache-2.0
Exports
| Export | Kind | Signature | |
|---|---|---|---|
buildMcpServer | function | export async function buildMcpServer(options: McpServerOptions): Promise< | Build the server. |
createEventStore | function | export function createEventStore(limitPerStream = 512): EventStore | The events of one stream, kept so a client that lost its connection can ask |
httpMcpCommand | function | export async function httpMcpCommand(args: ParsedArgs, io: CommandIo): Promise<ExitCode> | yam mcp --http — serve over Streamable HTTP. |
HttpMcpOptions | interface | export interface HttpMcpOptions extends McpServerOptions | |
mcpCommand | function | export async function mcpCommand(args: ParsedArgs, io: CommandIo): Promise<ExitCode> | yam mcp — serve over stdio. |
McpServerOptions | interface | export interface McpServerOptions | |
PINNED_PROTOCOL_VERSION | variable | PINNED_PROTOCOL_VERSION = "2025-11-25" | The protocol revision this transport was written and tested against. |
RunningHttpMcp | interface | export interface RunningHttpMcp | |
SDK_LATEST_PROTOCOL_VERSION | variable | SDK_LATEST_PROTOCOL_VERSION: string = LATEST_PROTOCOL_VERSION | What the SDK in this workspace speaks, so a test can compare the two. |
startHttpMcp | function | export async function startHttpMcp(options: HttpMcpOptions): Promise<RunningHttpMcp> | Start the transport. Exported so a test can drive it in-process with a |