mcpserver

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 9 Imported by: ? modules, 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 serves a Lagrange workspace to MCP clients (Claude Code, Cursor, Claude Desktop, …): list and call addresses, ask people and wait for their answers, answer what waits on you, and look up runs. It calls the server's API with a personal API key, so everything happens as that person, in the key's workspace, within its role.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *client.Client, version string, opts Options) *mcp.Server

New returns an MCP server for the workspace c's key acts in.

Types

type Options

type Options struct {
	// Poll is how often waiting tools check a task; zero means one second.
	Poll time.Duration
}

Options tune the server; the zero value is fine.

type TaskResult

type TaskResult = client.Result

TaskResult is a task's state and what it answered.

Jump to

Keyboard shortcuts

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