@bridgent/core
v0.2.1
Published
Bridgent AI — MCP server runtime and Zod tool definition. stdio + Streamable HTTP + Web Standard fetch.
Maintainers
Readme
@bridgent/core
Bridgent core runtime — Zod tool definition + MCP stdio server.
import { createStdioServer, defineTool } from '@bridgent/core'
import { z } from 'zod'
await createStdioServer({
name: 'hello',
version: '0.0.1',
tools: [
defineTool({
name: 'add',
description: 'Add two numbers',
inputSchema: z.object({ a: z.number(), b: z.number() }),
run: ({ a, b }) => a + b,
}),
],
})See Bridgent docs for full guide.
