acp

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionMCPProvider

type SessionMCPProvider interface {
	SessionMCPServers(ctx context.Context) ([]SessionMCPServer, error)
}

SessionMCPProvider supplies per-turn MCP servers for agent/acp-remote. Implementations should read session context from ctx (TurnEnvelope, workspace, etc.). This is separate from project mcp.json, which remote agents load on their own.

type SessionMCPServer

type SessionMCPServer struct {
	Stdio *StdioMCPServer
}

SessionMCPServer describes one harness-provided MCP server for an ACP session. Additional transports (HTTP/SSE/ACP inline) may be added when virtual tools land.

type StdioMCPServer

type StdioMCPServer struct {
	Name    string
	Command string
	Args    []string
	Env     map[string]string
}

StdioMCPServer is stdio transport configuration for one MCP server passed to an external ACP agent at session/new or session/resume.

Jump to

Keyboard shortcuts

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