mcpbox 0.0.1 → 0.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 CHANGED
@@ -116,32 +116,21 @@ docker run -v ./mcpbox.json:/config/config.json -v ./data:/data -p 8080:8080 ghc
116
116
 
117
117
  ## Connect Your AI
118
118
 
119
- To connect, you need your **box URL** (e.g., `https://mcpbox.example.com`) — see [Deployment](#deployment) first.
119
+ ### Claude Web & Mobile
120
120
 
121
- ### Choose your authentication
121
+ Settings Connectors → Add Custom Connector → enter your URL → Connect
122
122
 
123
- - **API Key** best for CLI tools, local configs, or background services.
124
- - **OAuth** — best for user-facing apps that support native OAuth flows. Requires `dynamic_registration: true` in your config.
123
+ Requires `dynamic_registration: true` in your config.
125
124
 
126
- ### Client setup
127
-
128
- #### Claude
129
-
130
- **Web / Desktop / Mobile** (OAuth):
131
-
132
- 1. Go to **Settings → Connectors → Add Custom Connector**
133
- 2. Enter your URL and click **Add**
134
- 3. Click **Connect** and log in with your credentials
135
-
136
- **Claude Code** (OAuth):
125
+ ### Claude Code
137
126
 
138
127
  ```bash
139
128
  claude mcp add --transport http mcpbox https://your-mcpbox-url.com
140
129
  ```
141
130
 
142
- Then run `/mcp` to authenticate.
131
+ Requires `dynamic_registration: true` in your config.
143
132
 
144
- #### MCP clients with JSON config
133
+ ### MCP clients with JSON config
145
134
 
146
135
  ```json
147
136
  {
@@ -105,7 +105,14 @@ export function resolveConfigPath(configPath) {
105
105
  }
106
106
  export function loadConfig(configPath) {
107
107
  if (!existsSync(configPath)) {
108
- throw new Error(`Config file not found: ${configPath}`);
108
+ // Return defaults: no auth, no MCPs
109
+ return {
110
+ server: { port: 8080 },
111
+ auth: undefined,
112
+ storage: undefined,
113
+ log: undefined,
114
+ mcps: [],
115
+ };
109
116
  }
110
117
  const content = readFileSync(configPath, "utf-8");
111
118
  let parsed;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "mcpbox",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "A lightweight gateway that exposes local stdio-based MCP servers via Streamable HTTP",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
- "mcpbox": "./dist/index.js"
7
+ "mcpbox": "dist/index.js"
8
8
  },
9
9
  "scripts": {
10
10
  "dev": "node --disable-warning=ExperimentalWarning --import tsx src/index.ts",