@statforge/claudestat-mcp-bundle
v0.1.0
Published
MCP server bundle for @statforge/claudestat — createMcpServer() factory as a standalone package.
Downloads
77
Maintainers
Readme
claudestat-mcp-bundle
MCP server bundle for @statforge/claudestat — wraps createMcpServer() into a standalone package with CLI and programmatic import.
Install
npm install -g @statforge/claudestat-mcp-bundleQuick start
claudestat-mcpThen add to Claude Code's claude.json:
{
"mcpServers": {
"claudestat": {
"command": "claudestat-mcp"
}
}
}Programmatic usage
import { createMcpServer } from '@statforge/claudestat-mcp-bundle'
const server = createMcpServer({
contextPolling: true,
tools: [
{ name: 'my_tool', description: 'Does something', inputSchema: {}, handler: () => 'hello' },
],
})
server.start()API
createMcpServer(options?) returns an McpServer with:
start()— begin listening on stdinstop()— close stdin listeneraddTool(def)— register a tool at runtimeremoveTool(name)— unregister a tooltools— current tool list (readonly)
Options: { tools?, name?, version?, contextPolling? }
License
MIT
