Sign In

basicdeploy-mcp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basicdeploy-mcp - npm Package Compare versions

Comparing version
1.0.4
to
1.0.5
+1
-1
package.json
{
"name": "basicdeploy-mcp",
"version": "1.0.4",
"version": "1.0.5",
"description": "MCP server for BasicDeploy - lets AI coding agents deploy and manage containers",

@@ -5,0 +5,0 @@ "type": "module",

@@ -47,3 +47,3 @@ <p align="center"><img src="./logo.svg" width="96" alt="BasicDeploy"></p>

|---|---|---|
| `BASICDEPLOY_API_KEY` | Yes | Your API key (`bd_…`). The server refuses to start without it. |
| `BASICDEPLOY_API_KEY` | Yes | Your API key (`bd_…`). Required to call any tool (the server still starts and lists its tools without it, so clients can introspect it). |
| `BASICDEPLOY_URL` | No | API base URL. Defaults to `https://basicdeploy.com`. |

@@ -50,0 +50,0 @@

@@ -7,10 +7,5 @@ // Thin REST client for the BasicDeploy API.

if (!API_KEY) {
console.error(
"Error: BASICDEPLOY_API_KEY environment variable is not set.\n" +
"Create an API key in the BasicDeploy dashboard (API Keys -> Create) and set:\n" +
' BASICDEPLOY_API_KEY="bd_..."'
);
process.exit(1);
}
// The API key is required to CALL any tool, but NOT to start the server or list its
// tools — so MCP clients (and registries like Glama) can introspect the server
// without credentials. The check happens per request, below.

@@ -23,2 +18,8 @@ /**

async function request(path, { method = "GET", body, headers = {} } = {}) {
if (!API_KEY) {
throw new Error(
"BASICDEPLOY_API_KEY is not set. Create an API key at https://basicdeploy.com/api-keys " +
'and set BASICDEPLOY_API_KEY="bd_..." in the server env.'
);
}
const url = `${BASE_URL}${path}`;

@@ -25,0 +26,0 @@ const init = {