mcpserver

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mcpserver exposes application workflows to MCP clients over stdio.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(home, version string) *mcp.Server

New constructs a stdio-safe MCP server. Tool handlers open their own local database connection, keeping the protocol adapter separate from core logic.

func Run

func Run(ctx context.Context, home, version string) error

Run serves MCP JSON-RPC on stdin/stdout until its client disconnects.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL