Skip to content

Commit 0ecddfc

Browse files
committed
dotenv cli
1 parent da62f30 commit 0ecddfc

File tree

2 files changed

+113
-1
lines changed

2 files changed

+113
-1
lines changed

package-lock.json

Lines changed: 111 additions & 0 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
@@ -5,7 +5,7 @@
55
"scripts": {
66
"build": "tsc && shx chmod +x dist/*.js",
77
"watch": "tsc --watch",
8-
"inspector": "npx @modelcontextprotocol/inspector dist/index.js"
8+
"inspector": "dotenv -e .env.local npx @modelcontextprotocol/inspector dist/index.js -e METAMCP_API_KEY=${METAMCP_API_KEY} -e METAMCP_API_BASE_URL=${METAMCP_API_BASE_URL}"
99
},
1010
"repository": {
1111
"type": "git",
@@ -25,6 +25,7 @@
2525
},
2626
"devDependencies": {
2727
"@types/node": "^22.13.4",
28+
"dotenv-cli": "^8.0.0",
2829
"shx": "^0.3.4",
2930
"typescript": "^5.7.3"
3031
},

0 commit comments

Comments
 (0)