@langapi/mcp-server 1.0.3 → 1.0.4

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 +34 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -72,7 +72,21 @@ After editing, **restart Claude Desktop** for changes to take effect.
72
72
 
73
73
  ### Claude Code (CLI)
74
74
 
75
- **Option 1: Project-level config** (recommended for teams)
75
+ **Option 1: CLI command** (quickest)
76
+
77
+ ```bash
78
+ # Add to current project (stored in .mcp.json)
79
+ claude mcp add --transport stdio langapi \
80
+ --env LANGAPI_API_KEY=your-api-key-here \
81
+ -- npx @langapi/mcp-server
82
+
83
+ # Or add globally for all projects (stored in ~/.claude.json)
84
+ claude mcp add --transport stdio langapi --scope user \
85
+ --env LANGAPI_API_KEY=your-api-key-here \
86
+ -- npx @langapi/mcp-server
87
+ ```
88
+
89
+ **Option 2: Project-level config** (recommended for teams)
76
90
 
77
91
  Create `.mcp.json` in your project root:
78
92
 
@@ -90,9 +104,9 @@ Create `.mcp.json` in your project root:
90
104
  }
91
105
  ```
92
106
 
93
- **Option 2: Global config**
107
+ **Option 3: User-level config**
94
108
 
95
- Add to `~/.claude/settings.json`:
109
+ Add to `~/.claude.json`:
96
110
 
97
111
  ```json
98
112
  {
@@ -108,7 +122,7 @@ Add to `~/.claude/settings.json`:
108
122
  }
109
123
  ```
110
124
 
111
- **Option 3: Environment variable**
125
+ **Option 4: Environment variable**
112
126
 
113
127
  ```bash
114
128
  export LANGAPI_API_KEY="your-api-key-here"
@@ -116,6 +130,22 @@ export LANGAPI_API_KEY="your-api-key-here"
116
130
 
117
131
  Then the MCP server will pick it up automatically.
118
132
 
133
+ **Verify connection:**
134
+
135
+ ```bash
136
+ # List configured servers
137
+ claude mcp list
138
+
139
+ # Check server status inside Claude Code
140
+ /mcp
141
+ ```
142
+
143
+ **Remove server:**
144
+
145
+ ```bash
146
+ claude mcp remove langapi
147
+ ```
148
+
119
149
  ---
120
150
 
121
151
  ### Cursor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langapi/mcp-server",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "MCP server for LangAPI - AI-powered translation management for i18n projects",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",