mcpserver

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mcpserver is godwit mcp: an MCP server that lets an agent read the user's mail, write drafts and ask to send them through the running Godwit's Local API, as the mcp role. Whether a draft is sent is decided by Godwit's core, by the user's 通过 MCP 发送 setting; no tool deletes or changes anything else, and every mail-derived field it returns is wrapped in an <untrusted_email> marker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *rpc.Client, version string) *mcp.Server

New is the MCP server for c, an mcp-role connection to the Local API. Results are text only: no structured content, which would carry mail-derived values outside the markers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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