code2img-mcp 0.1.0 → 0.1.1

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 (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +19 -1
package/README.md CHANGED
@@ -8,10 +8,10 @@ Seven tools: `render_code_image`, `list_themes`, `list_languages`, `list_backgro
8
8
 
9
9
  ## stdio (local install)
10
10
 
11
- Not published on npm yet: `npx` installs the tarball served by the Code2Img instance.
11
+ Install from npm (`code2img-mcp@0.1.0`), or use the tarball served by the Code2Img instance as fallback.
12
12
 
13
13
  ```bash
14
- CODE2IMG_API_KEY=c2i_live_… npx -y --package https://code2img.app/downloads/code2img-mcp.tgz code2img-mcp
14
+ CODE2IMG_API_KEY=c2i_live_… npx -y code2img-mcp
15
15
  ```
16
16
 
17
17
  Claude Desktop / Cursor / Windsurf (`claude_desktop_config.json`, `~/.cursor/mcp.json`,
@@ -22,7 +22,7 @@ Claude Desktop / Cursor / Windsurf (`claude_desktop_config.json`, `~/.cursor/mcp
22
22
  "mcpServers": {
23
23
  "code2img": {
24
24
  "command": "npx",
25
- "args": ["-y", "--package", "https://code2img.app/downloads/code2img-mcp.tgz", "code2img-mcp"],
25
+ "args": ["-y", "code2img-mcp"],
26
26
  "env": { "CODE2IMG_API_KEY": "c2i_live_…" }
27
27
  }
28
28
  }
package/package.json CHANGED
@@ -1,8 +1,26 @@
1
1
  {
2
2
  "name": "code2img-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Model Context Protocol server for Code2Img: render code screenshots from Claude Desktop, Cursor, VS Code or Windsurf (stdio), or call the hosted server at https://code2img.app/mcp.",
5
5
  "license": "MIT",
6
+ "author": "Justin <hello@code2img.app> (https://github.com/0xJust1)",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/0xJust1/code2img.git"
10
+ },
11
+ "homepage": "https://code2img.app/mcp",
12
+ "bugs": {
13
+ "url": "https://github.com/0xJust1/code2img/issues"
14
+ },
15
+ "keywords": [
16
+ "code",
17
+ "screenshot",
18
+ "mcp",
19
+ "model-context-protocol",
20
+ "image",
21
+ "render",
22
+ "syntax-highlighting"
23
+ ],
6
24
  "type": "module",
7
25
  "bin": {
8
26
  "code2img-mcp": "./dist/stdio.js"