mcp

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: May 27, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package mcp implements the Model Context Protocol server for miru.

The mcp package provides: - MCP server implementation for external tool integration - Documentation source extensions through MCP - Resource and tool definitions for MCP clients - Configuration management for MCP services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Command returns the MCP server command

func InitTools

func InitTools() []server.ServerTool

func SearchDocumentation

func SearchDocumentation() (tool mcp.Tool, handler server.ToolHandlerFunc)

Types

type Server

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

Server represents the MCP server for miru

func NewServer

func NewServer() *Server

NewServer creates a new MCP server instance

func (*Server) Run

func (s *Server) Run() error

Run starts the MCP server

Jump to

Keyboard shortcuts

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