@ema.co/mcp-toolkit 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1
- package/dist/mcp/handlers-consolidated.js +843 -116
- package/dist/mcp/prompts.js +134 -0
- package/dist/mcp/resources.js +4 -4
- package/dist/mcp/server.js +9 -215
- package/dist/mcp/tools-consolidated.js +71 -52
- package/dist/sdk/client.js +164 -20
- package/dist/sdk/contracts.js +1 -0
- package/docs/mcp-tools-guide.md +134 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -204,7 +204,7 @@ environments:
|
|
|
204
204
|
|------|---------|
|
|
205
205
|
| `env` | List available environments |
|
|
206
206
|
| `persona` | AI Employee management (get/list/create/update/compare) |
|
|
207
|
-
| `workflow` | Generate/
|
|
207
|
+
| `workflow` | Generate/extend/optimize/analyze workflows |
|
|
208
208
|
| `action` | Agent lookup, docs, and recommendations |
|
|
209
209
|
| `template` | Patterns, widgets, qualifying questions |
|
|
210
210
|
| `knowledge` | Data sources + embedding (upload/list/delete/toggle) |
|
|
@@ -212,6 +212,27 @@ environments:
|
|
|
212
212
|
| `sync` | Sync across environments |
|
|
213
213
|
| `demo` | Demo/RAG document utilities |
|
|
214
214
|
|
|
215
|
+
### Common Workflows
|
|
216
|
+
|
|
217
|
+
**Create new AI Employee (greenfield):**
|
|
218
|
+
```typescript
|
|
219
|
+
workflow(input="IT helpdesk with KB search", type="chat")
|
|
220
|
+
// Preview by default, use preview=false to deploy
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
**Extend existing AI Employee (brownfield):**
|
|
224
|
+
```typescript
|
|
225
|
+
// Combine multiple changes in one command!
|
|
226
|
+
workflow(mode="extend", persona_id="abc-123", input="add caller_type categorizer, add HITL before email, add compliance intent")
|
|
227
|
+
// Preview by default, use preview=false to deploy
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
**Fix issues automatically:**
|
|
231
|
+
```typescript
|
|
232
|
+
workflow(mode="optimize", persona_id="abc-123")
|
|
233
|
+
// Preview by default, use preview=false to apply fixes
|
|
234
|
+
```
|
|
235
|
+
|
|
215
236
|
## Dynamic Resources
|
|
216
237
|
|
|
217
238
|
| Resource | Source |
|
|
@@ -220,6 +241,7 @@ environments:
|
|
|
220
241
|
| `ema://catalog/templates` | Live from API |
|
|
221
242
|
| `ema://catalog/patterns` | Workflow patterns |
|
|
222
243
|
| `ema://rules/anti-patterns` | Validation rules |
|
|
244
|
+
| `ema://rules/mcp-usage` | MCP usage guide for agents |
|
|
223
245
|
|
|
224
246
|
---
|
|
225
247
|
|