Skip to content

Commit d5c3a25

Browse files
author
demetrio.marino
committed
Merge branch 'main' into feat/oauth2-support
2 parents ac82e97 + 6abf721 commit d5c3a25

File tree

7 files changed

+982
-645
lines changed

7 files changed

+982
-645
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ npm ci
2929
npm run build
3030
```
3131

32-
These commands will install all the dependencies and then transpile the typescript code in the `build` folder.
32+
These commands will install all the dependencies and then transpile the typescript code in the `build` folder.
33+
34+
> [!NOTE]
35+
> The server automatically loads environment variables from a `.env` file if present in the project root.
36+
> You can create one by copying `default.env` to `.env` and updating the values as needed.
37+
3338
Once these steps are completed you can setup the MCP server using the `node` command like the following:
3439

3540
```json
@@ -79,6 +84,7 @@ Instead of `3000`, please include the port defined in the environment variable `
7984

8085
### Environment Variables
8186

87+
Environment variables located inside a file named `.env` are automatically included at service startup.
8288

8389
| Variable Name | Description | Required | Default Value |
8490
|---------------|-------------|----------|---------------|
@@ -102,7 +108,7 @@ following command:
102108
npm ci
103109
```
104110

105-
Once has finished you will have all the dependencies installed on the project, then you have to prepare an environent
111+
Once has finished you will have all the dependencies installed on the project, then you have to prepare an environment
106112
file by copying the default.env file and edit it accordingly.
107113

108114
```sh

package-lock.json

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mia-platform/console-mcp-server",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Mia-Platform Console MCP Server",
55
"main": "mcp-server/index.js",
66
"bin": {
@@ -36,6 +36,7 @@
3636
"commander": "^14.0.0",
3737
"fastify": "^5.5.0",
3838
"undici": "^7.15.0",
39+
"dotenv": "^17.2.2",
3940
"zod": "^3.25.76"
4041
},
4142
"devDependencies": {

0 commit comments

Comments
 (0)