Add the /mcp wizard for local and remote servers

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Muhammad Zakir Ramadhan
2026-09-05 17:31:38 +07:00
co-authored by Sisyphus
parent e23ec053ae
commit e06fbc3050
5 changed files with 524 additions and 0 deletions
+6
View File
@@ -30,6 +30,12 @@ export function testHooks(over: Partial<AppHooks> = {}): AppHooks {
install: async () => 'installed',
remove: async () => 'removed',
},
mcp: {
names: () => [],
list: () => 'no mcp servers configured',
add: async (result) => `added ${result.name}`,
remove: async (name) => `removed ${name}`,
},
initPrompt: 'write AGENTS.md',
history: [],
recordPrompt: () => {},