@cutoutlabs/mcp 0.2.0 → 0.2.2

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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +35 -31
  3. package/index.js +2 -2
  4. package/package.json +9 -2
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Cutout Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,31 +1,35 @@
1
- # @cutoutlabs/mcp
2
-
3
- MCP server for [Cutout Lab](https://www.cutoutlabs.com). It lets AI agents remove image backgrounds from local files or URLs and saves the transparent PNG next to the input.
4
-
5
- ## Setup
6
-
7
- 1. Get a free API key at https://www.cutoutlabs.com/background-removal-api
8
- 2. Add the server to your MCP client (Claude Desktop, Cursor, VS Code, and others):
9
-
10
- ```json
11
- {
12
- "mcpServers": {
13
- "cutoutlabs": {
14
- "command": "npx",
15
- "args": ["-y", "@cutoutlabs/mcp"],
16
- "env": { "CUTOUTLABS_API_KEY": "your-key" }
17
- }
18
- }
19
- }
20
- ```
21
-
22
- No local install? Use the hosted server instead: `https://api.cutoutlabs.com/mcp` with the header `Authorization: Bearer your-key`. The hosted server takes image URLs or base64 and returns the image inline.
23
-
24
- ## Tools
25
-
26
- - `remove_background`: `input_path` or `image_url`, plus optional `output_path`, `size` (`preview`, `medium`, `hd`, `full`), `format` (`png`, `webp`, `jpg`), `bg_color`, `crop`, `roi` (keep only the subject inside `x1 y1 x2 y2`), `clean_edges` (remove coloured fringes), `overwrite`. Saves the result and returns its path.
27
- - `get_quota`: free calls left today. The quota resets at 00:00 UTC.
28
-
29
- ## Limits
30
-
31
- Inputs up to 12 MB. Free daily quota per key during launch.
1
+ # @cutoutlabs/mcp
2
+
3
+ MCP server for [Cutout Labs](https://www.cutoutlabs.com). It lets AI agents remove image backgrounds from local files or URLs and saves the transparent PNG next to the input.
4
+
5
+ ## Setup
6
+
7
+ 1. Get a free API key at https://www.cutoutlabs.com/background-removal-api
8
+ 2. Add the server to your MCP client (Claude Desktop, Cursor, VS Code, and others):
9
+
10
+ ```json
11
+ {
12
+ "mcpServers": {
13
+ "cutoutlabs": {
14
+ "command": "npx",
15
+ "args": ["-y", "@cutoutlabs/mcp"],
16
+ "env": { "CUTOUTLABS_API_KEY": "your-key" }
17
+ }
18
+ }
19
+ }
20
+ ```
21
+
22
+ No local install? Use the hosted server instead: `https://api.cutoutlabs.com/mcp` with the header `Authorization: Bearer your-key`. The hosted server takes image URLs or base64 and returns the image inline.
23
+
24
+ ## Tools
25
+
26
+ - `remove_background`: `input_path` or `image_url`, plus optional `output_path`, `size` (`preview`, `medium`, `hd`, `full`), `format` (`png`, `webp`, `jpg`), `bg_color`, `crop`, `roi` (keep only the subject inside `x1 y1 x2 y2`), `clean_edges` (remove coloured fringes), `overwrite`. Saves the result and returns its path.
27
+ - `get_quota`: free calls left today. The quota resets at 00:00 UTC.
28
+
29
+ ## Limits
30
+
31
+ Inputs up to 12 MB. Free daily quota per key during launch.
32
+
33
+ ## License
34
+
35
+ MIT
package/index.js CHANGED
@@ -40,8 +40,8 @@ async function exists(file) {
40
40
 
41
41
  const server = new McpServer({
42
42
  name: "cutoutlabs",
43
- title: "Cutout Lab",
44
- version: "0.2.0",
43
+ title: "Cutout Labs",
44
+ version: "0.2.1",
45
45
  });
46
46
 
47
47
  server.registerTool(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cutoutlabs/mcp",
3
- "version": "0.2.0",
4
- "description": "MCP server for Cutout Lab: remove image backgrounds from local files or URLs and save transparent PNGs.",
3
+ "version": "0.2.2",
4
+ "description": "MCP server for Cutout Labs: remove image backgrounds from local files or URLs and save transparent PNGs.",
5
5
  "mcpName": "com.cutoutlabs/mcp",
6
6
  "type": "module",
7
7
  "bin": {
@@ -23,6 +23,13 @@
23
23
  "transparent-png"
24
24
  ],
25
25
  "homepage": "https://www.cutoutlabs.com/background-removal-api",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/cutout-labs/mcp.git"
29
+ },
30
+ "bugs": {
31
+ "url": "https://github.com/cutout-labs/mcp/issues"
32
+ },
26
33
  "license": "MIT",
27
34
  "dependencies": {
28
35
  "@modelcontextprotocol/sdk": "^1.32.2",