mcp-sight 1.0.1 → 1.0.3

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 +17 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,14 +4,27 @@ Give Claude Code the power of sight — describe images using any vision-capable
4
4
 
5
5
  ## Setup
6
6
 
7
- Add to `~/.claude/settings.json` or `<project>/.claude/settings.json`:
7
+ **Method 1: `claude mcp add` (recommended)**
8
+
9
+ ```bash
10
+ claude mcp add mcp-sight \
11
+ --scope user \
12
+ --env VISION_API_KEY=sk-your-api-key \
13
+ --env VISION_BASE_URL=https://api.openai.com/v1 \
14
+ --env VISION_MODEL=gpt-4o \
15
+ -- bunx --bun mcp-sight
16
+ ```
17
+
18
+ **Method 2: Edit `~/.claude.json` directly**
19
+
20
+ Add to the `mcpServers` block in `~/.claude.json`:
8
21
 
9
22
  ```json
10
23
  {
11
24
  "mcpServers": {
12
25
  "mcp-sight": {
13
26
  "command": "bunx",
14
- "args": ["mcp-sight"],
27
+ "args": ["--bun", "mcp-sight"],
15
28
  "env": {
16
29
  "VISION_API_KEY": "sk-your-api-key",
17
30
  "VISION_BASE_URL": "https://api.openai.com/v1",
@@ -22,16 +35,9 @@ Add to `~/.claude/settings.json` or `<project>/.claude/settings.json`:
22
35
  }
23
36
  ```
24
37
 
25
- Or use the `claude mcp add` command:
38
+ **Method 3: `.mcp.json` for team sharing**
26
39
 
27
- ```bash
28
- claude mcp add mcp-sight \
29
- --scope user \
30
- --env VISION_API_KEY=sk-your-api-key \
31
- --env VISION_BASE_URL=https://api.openai.com/v1 \
32
- --env VISION_MODEL=gpt-4o \
33
- -- bunx mcp-sight
34
- ```
40
+ Same JSON as above, placed in `<project>/.mcp.json` — commit to git so the whole team gets it.
35
41
 
36
42
  ## Environment Variables
37
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-sight",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server that gives Claude Code sight — describe images using a vision-capable LLM",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",