Skip to content

Commit 2b37565

Browse files
authored
Enhance MCP mini-a configuration with new options
Added new configuration options for server name, title, description, and tool prefix in the MCP mini-a YAML file.
1 parent 95c681a commit 2b37565

1 file changed

Lines changed: 32 additions & 6 deletions

File tree

mcps/mcp-mini-a.yaml

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,22 @@ help:
1414
desc : Custom rules to enforce on every run (string or JSON, server launch only)
1515
example : "[ 'avoid-shell' ]"
1616
mandatory: false
17+
- name : servername
18+
desc : Override the MCP server name advertised to clients (default is mini-a-agent)
19+
example : "my-coder-agent"
20+
mandatory: false
21+
- name : servertitle
22+
desc : Override the human-readable MCP server title advertised to clients
23+
example : "My Coding Agent"
24+
mandatory: false
25+
- name : tooldesc
26+
desc : Override the description of the run-goal tool shown to the model
27+
example : "Ask the coding assistant to accomplish a goal"
28+
mandatory: false
29+
- name : toolprefix
30+
desc : Prefix added to every exposed tool name without changing internal job routing
31+
example : "myagent-"
32+
mandatory: false
1733

1834
todo:
1935
- Init
@@ -23,15 +39,17 @@ todo:
2339
- (httpdHealthz ): "${onport:-8080}"
2440
- (httpdMetrics ): "${onport:-8080}"
2541
- (httpdMCP ): "${onport:-8080}"
42+
((tplDesc )): true
43+
((toolPrefix )): "${toolprefix}"
2644
((description)): &MCPSERVER
2745
serverInfo:
28-
name : mini-a-agent
29-
title : OpenAF mini-a MCP agent runner server
46+
name : "{{servername}}"
47+
title : "{{servertitle}}"
3048
version: 1.0.0
3149
((fnsMeta)): &MCPFNSMETA
3250
run-goal:
3351
name : run-goal
34-
description: Execute the Mini-A autonomous agent for a goal with optional settings.
52+
description: "{{tooldesc}}"
3553
inputSchema:
3654
type : object
3755
properties:
@@ -79,9 +97,11 @@ todo:
7997
((fns )): &MCPFNS
8098
run-goal: Run Mini-A goal
8199
((else)):
82-
- (stdioMCP ): *MCPSERVER
83-
((fnsMeta)): *MCPFNSMETA
84-
((fns )): *MCPFNS
100+
- (stdioMCP ): *MCPSERVER
101+
((tplDesc )): true
102+
((toolPrefix)): "${toolprefix}"
103+
((fnsMeta )): *MCPFNSMETA
104+
((fns )): *MCPFNS
85105

86106
ojob:
87107
opacks :
@@ -104,6 +124,12 @@ include:
104124
jobs:
105125
# -----------
106126
- name : Init
127+
check:
128+
in:
129+
servername : isString.default("mini-a-agent")
130+
servertitle: isString.default("OpenAF mini-a MCP agent runner server")
131+
tooldesc : isString.default("Execute the Mini-A autonomous agent for a goal with optional settings.")
132+
toolprefix : isString.default("")
107133
exec : | #js
108134
if (isUnDef(global.__mini_a_serverDefaults)) {
109135
global.__mini_a_serverDefaults = merge({}, args)

0 commit comments

Comments
 (0)