@emotionlogic/mcp 1.0.0 → 1.1.0
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 +2 -32
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Official [Model Context Protocol](https://modelcontextprotocol.io/) server for t
|
|
|
7
7
|
The server authenticates with **HTTP Basic Auth**. Use an API **username** and **password** from EmotionLogic Hub — not the email of your Hub login.
|
|
8
8
|
|
|
9
9
|
1. Create an EmotionLogic Hub account at [app.emotionlogic.ai](https://app.emotionlogic.ai/).
|
|
10
|
-
2. Sign in and open **Analyze Now API Keys
|
|
10
|
+
2. Sign in and open **Analyze Now API Keys**.
|
|
11
11
|
3. Create an API user: give it a name and set a password.
|
|
12
12
|
4. Copy the generated **username** (a UUID) and the password you set.
|
|
13
13
|
5. Set them as `EMOTIONLOGIC_API_USERNAME` and `EMOTIONLOGIC_API_PASSWORD`.
|
|
@@ -90,34 +90,4 @@ Add the server to `.cursor/mcp.json`:
|
|
|
90
90
|
|
|
91
91
|
- `emotionlogic_get_api_reference` — OpenAPI contract or a single operation. No credentials required.
|
|
92
92
|
|
|
93
|
-
The server also exposes the OpenAPI document as the resource `emotionlogic://api/openapi.json
|
|
94
|
-
|
|
95
|
-
## Local development
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
cd projects/emlo/backend/apiGatewayService/packages/mcp
|
|
99
|
-
npm install
|
|
100
|
-
npm test
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Copy `.env.example` and export the variables before starting:
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
export EMOTIONLOGIC_API_USERNAME=
|
|
107
|
-
export EMOTIONLOGIC_API_PASSWORD=
|
|
108
|
-
npm start
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
## Publishing to npm
|
|
112
|
-
|
|
113
|
-
Publish to the [`@emotionlogic`](https://www.npmjs.com/settings/emotionlogic/packages) organization:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
npm login
|
|
117
|
-
npm test
|
|
118
|
-
npm publish --access public
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
## License
|
|
122
|
-
|
|
123
|
-
UNLICENSED
|
|
93
|
+
The server also exposes the OpenAPI document as the resource `emotionlogic://api/openapi.json`.
|
package/index.js
CHANGED