@ema.co/mcp-toolkit 0.2.0 → 0.2.2
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 +6 -6
- package/docs/api-contracts.md +2 -2
- package/docs/ema-user-guide.md +1 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -167,9 +167,9 @@ export EMA_DEV_BEARER_TOKEN="..." # → creates "dev" environment
|
|
|
167
167
|
| Environment | URL |
|
|
168
168
|
|-------------|-----|
|
|
169
169
|
| `prod` | `https://api.ema.co` |
|
|
170
|
-
|
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
| `<env>` | `https://api.<env>.ema.co` |
|
|
171
|
+
|
|
172
|
+
> For internal environments, use `EMA_<ENV>_API_KEY` or `EMA_<ENV>_BEARER_TOKEN` environment variables.
|
|
173
173
|
|
|
174
174
|
### Config File (Advanced)
|
|
175
175
|
|
|
@@ -182,9 +182,9 @@ environments:
|
|
|
182
182
|
bearerTokenEnv: EMA_PROD_BEARER_TOKEN
|
|
183
183
|
isMaster: true
|
|
184
184
|
|
|
185
|
-
- name:
|
|
186
|
-
baseUrl: https://api
|
|
187
|
-
bearerTokenEnv:
|
|
185
|
+
- name: myenv
|
|
186
|
+
baseUrl: https://api.<env>.ema.co
|
|
187
|
+
bearerTokenEnv: EMA_MYENV_BEARER_TOKEN
|
|
188
188
|
```
|
|
189
189
|
|
|
190
190
|
---
|
package/docs/api-contracts.md
CHANGED
|
@@ -203,8 +203,8 @@ git commit -m "Regenerate API types from OpenAPI spec"
|
|
|
203
203
|
# Check if backend is running
|
|
204
204
|
curl http://localhost:8000/api/openapi.json
|
|
205
205
|
|
|
206
|
-
# Use
|
|
207
|
-
npm run generate:types -- --url https
|
|
206
|
+
# Use a different environment
|
|
207
|
+
npm run generate:types -- --url https://<env>.ema.co/api/openapi.json
|
|
208
208
|
```
|
|
209
209
|
|
|
210
210
|
### Type mismatch in Zod schema
|
package/docs/ema-user-guide.md
CHANGED
|
@@ -1072,9 +1072,8 @@ fallback_response:
|
|
|
1072
1072
|
|
|
1073
1073
|
| Environment | URL | Purpose |
|
|
1074
1074
|
|-------------|-----|---------|
|
|
1075
|
-
| **Demo** | https://api.demo.ema.co | Testing, demos |
|
|
1076
|
-
| **Dev** | https://api.dev.ema.co | Development |
|
|
1077
1075
|
| **Production** | https://api.ema.co | Live deployments |
|
|
1076
|
+
| **Other** | https://api.`<env>`.ema.co | Internal environments |
|
|
1078
1077
|
|
|
1079
1078
|
### Version Information
|
|
1080
1079
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ema.co/mcp-toolkit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Ema AI Employee toolkit - MCP server, CLI, and SDK for managing AI Employees across environments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"bin": {
|
|
9
|
+
"mcp-toolkit": "dist/mcp/server.js",
|
|
9
10
|
"ema": "dist/cli/index.js",
|
|
10
11
|
"ema-mcp": "dist/mcp/server.js",
|
|
11
12
|
"ema-mcp-toolkit": "dist/mcp/server.js"
|