27 lines
809 B
Go
27 lines
809 B
Go
// Code generated by mcp-framework generate. DO NOT EDIT.
|
|
|
|
package mcpgen
|
|
|
|
import fwmanifest "forge.lclr.dev/AI/mcp-framework/manifest"
|
|
|
|
const BinaryName = "email-mcp"
|
|
const DefaultDescription = "Local MCP server to read an IMAP mailbox."
|
|
const DocsURL = "https://gitea.lclr.dev/AI/email-mcp"
|
|
|
|
func BootstrapInfo(startDir string) (fwmanifest.BootstrapMetadata, string, error) {
|
|
manifestFile, source, err := LoadManifest(startDir)
|
|
if err != nil {
|
|
return fwmanifest.BootstrapMetadata{}, "", err
|
|
}
|
|
|
|
return manifestFile.BootstrapInfo(), source, nil
|
|
}
|
|
|
|
func ScaffoldInfo(startDir string) (fwmanifest.ScaffoldMetadata, string, error) {
|
|
manifestFile, source, err := LoadManifest(startDir)
|
|
if err != nil {
|
|
return fwmanifest.ScaffoldMetadata{}, "", err
|
|
}
|
|
|
|
return manifestFile.ScaffoldInfo(), source, nil
|
|
}
|