circuit-mcp 1.0.4 → 1.0.5

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 (3) hide show
  1. package/package.json +1 -1
  2. package/publish.sh +21 -0
  3. package/src/index.js +15 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "circuit-mcp",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Circuit MCP server for Cursor and Claude Code",
5
5
  "type": "module",
6
6
  "bin": {
package/publish.sh ADDED
@@ -0,0 +1,21 @@
1
+ #!/bin/bash
2
+
3
+ # Publish script for circuit-mcp package
4
+ # Uses token to bypass 2FA
5
+
6
+ set -e
7
+
8
+ # NPM token for publishing (bypasses 2FA)
9
+ NPM_TOKEN="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"
10
+
11
+ # Create temporary .npmrc with token
12
+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
13
+
14
+ # Publish the package
15
+ npm publish --access public
16
+
17
+ # Clean up .npmrc
18
+ rm .npmrc
19
+
20
+ echo "✅ Published successfully!"
21
+
package/src/index.js CHANGED
@@ -119,23 +119,25 @@ async function runSetup() {
119
119
  console.log(chalk.dim(' ─────────────────────────────────────────\n'));
120
120
 
121
121
  console.log(chalk.cyan.bold(' Cursor\n'));
122
- console.log(chalk.dim(' Add to ~/.cursor/mcp.json:\n'));
123
- console.log(chalk.white(` {
124
- "mcpServers": {
125
- "circuit": {
126
- "command": "npx",
127
- "args": ["circuit-mcp"]
128
- }
129
- }
130
- }\n`));
122
+ console.log(chalk.dim(' 1. Open your MCP config file:\n'));
123
+ console.log(chalk.white(' open ~/.cursor/mcp.json\n'));
124
+ console.log(chalk.dim(' 2. Add this to the file:\n'));
125
+ console.log(chalk.white(` {
126
+ "mcpServers": {
127
+ "circuit": {
128
+ "command": "npx",
129
+ "args": ["circuit-mcp"]
130
+ }
131
+ }
132
+ }\n`));
133
+ console.log(chalk.dim(' 3. Restart Cursor\n'));
131
134
 
132
135
  console.log(chalk.cyan.bold(' Claude Code\n'));
133
- console.log(chalk.dim(' Run:\n'));
134
- console.log(chalk.white(` claude mcp add circuit -- npx circuit-mcp\n`));
136
+ console.log(chalk.dim(' Run this in your terminal:\n'));
137
+ console.log(chalk.white(' claude mcp add circuit -- npx circuit-mcp\n'));
135
138
 
136
139
  console.log(chalk.dim(' ─────────────────────────────────────────\n'));
137
- console.log(chalk.dim(' Restart your editor, then Circuit will'));
138
- console.log(chalk.dim(' prompt you to sign in on first use.\n'));
140
+ console.log(chalk.dim(' Circuit will prompt you to sign in on first use.\n'));
139
141
  }
140
142
 
141
143
  async function runAuth() {