mcpserver

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: CC0-1.0 Imports: 18 Imported by: 0

Documentation

Overview

Package mcpserver registers every Plane operation as an MCP tool and serves them over stdio.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server bundles the MCP wiring with the Plane client. Construction is stateless: tools are registered once in New and run for the life of the process.

func New

func New(client *plane.Client) *Server

New builds a Server with every Plane tool registered.

func (*Server) MCPServer

func (s *Server) MCPServer() *server.MCPServer

MCPServer exposes the underlying server.MCPServer for tests/in-process callers (e.g. server.NewInProcessClient).

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

Serve runs the stdio transport until the context is cancelled or stdin is closed.

Jump to

Keyboard shortcuts

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