mcpprojection

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mcpprojection converts the canonical expanded Scenery graph into the provider-neutral MCP capability manifest. It deliberately consumes only compiler/graph output: source parsing, generation, and provider adapters do not belong in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Project

func Project(input any, server string) (mcpcontract.Manifest, error)

Project accepts either a *compiler.Result or a *graph.Manifest. A compiler result is preferred because it carries the authored workspace revision; callers with an already-selected expanded manifest can use the graph form, which falls back to that manifest's specification revision.

func ProjectManifest

func ProjectManifest(manifest *graph.Manifest, sourceRevision, server string) (mcpcontract.Manifest, error)

ProjectManifest projects an expanded graph and uses sourceRevision as the source/workspace identity in the generated capability manifest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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