Help us shape the future of Go! Take the 2026 Go Developer Survey

cursor

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CursorMcpConfig

type CursorMcpConfig struct{}

func (*CursorMcpConfig) GetConfig

func (p *CursorMcpConfig) GetConfig(tools []api.ToolsProvider) ([]byte, error)

func (*CursorMcpConfig) GetFile

func (p *CursorMcpConfig) GetFile() string

type CursorMcpConfigFile

type CursorMcpConfigFile struct {
	McpServers map[string]any `json:"mcpServers"`
}

type RemoteServerConfig

type RemoteServerConfig struct {
	Type string `json:"type,omitempty"`
	Url  string `json:"url,omitempty"`
	/**
	 * Optional HTTP headers to include with every request to this server (e.g. for authentication).
	 * The keys are header names and the values are header values.
	 */
	Headers map[string]string `json:"headers,omitempty"`
}

type StdioServerConfig

type StdioServerConfig struct {
	Type    string            `json:"type,omitempty"`
	Command string            `json:"command,omitempty"`
	Args    []string          `json:"args,omitempty"`
	Env     map[string]string `json:"env,omitempty"`
	EnvFile string            `json:"envFile,omitempty"`
}

Jump to

Keyboard shortcuts

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