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

project

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolGetGraphqlSchemaName         = "project-get-graphql-schema"
	ToolGetGraphqlSchemaInstructions = `Get GraphQL schema for an Nhost project running in the Nhost Cloud.`
)
View Source
const (
	ToolGraphqlQueryName = "project-graphql-query"
	//nolint:lll
	ToolGraphqlQueryInstructions = `` /* 484-byte string literal not displayed */
)

Variables

View Source
var (
	ErrNotFound           = errors.New("not found")
	ErrInvalidRequestBody = errors.New("invalid request body")
)

Functions

This section is empty.

Types

type GetGraphqlSchemaRequest

type GetGraphqlSchemaRequest struct {
	Role             string `json:"role"`
	ProjectSubdomain string `json:"projectSubdomain"`
}

type GraphqlQueryRequest

type GraphqlQueryRequest struct {
	Query            string         `json:"query"`
	Variables        map[string]any `json:"variables,omitempty"`
	ProjectSubdomain string         `json:"projectSubdomain"`
	Role             string         `json:"role"`
	UserID           string         `json:"userId,omitempty"`
}

type Project added in v0.0.4

type Project struct {
	// contains filtered or unexported fields
}

type Tool

type Tool struct {
	// contains filtered or unexported fields
}

func NewTool

func NewTool(
	projList []config.Project,
) (*Tool, error)

func (*Tool) Register

func (t *Tool) Register(mcpServer *server.MCPServer) error

Jump to

Keyboard shortcuts

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