cursor

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0 Imports: 5 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 {
	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 {
	Command string            `json:"command,omitempty"`
	Args    []string          `json:"args,omitempty"`
	Env     map[string]string `json:"env,omitempty"`
}

Jump to

Keyboard shortcuts

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