cursor

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() base.Harness

func Support

func Support(event hooks.Event, handler hooks.Handler) hooks.Support

func WriteMCP

func WriteMCP(path string, entries mcp.Entries) error

WriteMCP writes the servers as Cursor's mcp.json. A remote server keeps its headers and its OAuth client, which Cursor spells auth.CLIENT_ID, auth.CLIENT_SECRET and auth.scopes. Cursor documents no working directory for a stdio server and a fixed OAuth callback, so a cwd and a callback port are left out with a warning.

Types

type HookRenderer

type HookRenderer struct{}

func (HookRenderer) Render

func (HookRenderer) Render(bundle hooks.Bundle, context hooks.RenderContext) (hooks.RenderOutput, error)

func (HookRenderer) Target

func (HookRenderer) Target() harness.Target

Jump to

Keyboard shortcuts

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