mcpserver

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package mcpserver implements a Model Context Protocol server that exposes the redmine-cli API surface to MCP-compatible hosts (Claude Desktop, Claude Code, Cursor, etc.).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildServer

func BuildServer(client *api.Client, opts Options) *mcp.Server

BuildServer constructs an MCP server wired to the given Redmine API client. Tools that mutate remote state are only registered when opts.EnableWrites is true.

Types

type Options

type Options struct {
	// EnableWrites gates registration of mutating tools (create/update/delete
	// and similar). When false, those tools are not registered and therefore
	// never appear in tools/list.
	EnableWrites bool

	// Name is the server name advertised in the MCP initialize response.
	Name string

	// Version is the server version advertised in the MCP initialize response.
	Version string
}

Options controls how the MCP server is built.

Jump to

Keyboard shortcuts

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