ojob.io/ai/mcps/genMCPServer

Usage

ojob ojob.io/ai/mcps/genMCPServer name=mini-a-custom title="OpenAF mini-a MCP custom server" description="A STDIO/HTTP MCP custom server" author="OpenAF Assistant" file=ai/mcps/mcp-custom.yaml fns=sample-tool,health-check params=input,context required=input readonly=true idempotent=true 

Description

Generates an oJob YAML MCP server skeleton (STDIO/HTTP) similar to ai/mcps/mcp-*.yaml.

Expects

Name Description
name MCP server short name (used in serverInfo.name and pid file)
title MCP server title
description MCP server description (help text + default function description)
author Author to place in the generated YAML comments
file Output file path (if omitted prints to stdout)
fns Comma separated MCP function ids
params Comma separated input parameter names for every function
required Comma separated required parameter names (subset of params)
readonly If true generated annotations.readOnlyHint is true
idempotent If true generated annotations.idempotentHint is true