@realaman90/x-mcp 2.0.0 → 2.0.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.
- package/README.md +3 -3
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ Post a tweet: "Hello from Claude!"
|
|
|
100
100
|
|
|
101
101
|
## Team Setup (sharing your app with others)
|
|
102
102
|
|
|
103
|
-
If you want a
|
|
103
|
+
If you want a team member to use your X app but post from **their own account**:
|
|
104
104
|
|
|
105
105
|
### App owner (one-time)
|
|
106
106
|
|
|
@@ -108,9 +108,9 @@ If you want a colleague to use your X app but post from **their own account**:
|
|
|
108
108
|
- App permissions: **Read and write**
|
|
109
109
|
- Type of App: **Web App, Automated App or Bot**
|
|
110
110
|
- Callback URL: `http://localhost:3456/callback`
|
|
111
|
-
2. Share your **API Key**, **API Secret**, and **Bearer Token** with
|
|
111
|
+
2. Share your **API Key**, **API Secret**, and **Bearer Token** with them
|
|
112
112
|
|
|
113
|
-
###
|
|
113
|
+
### Team member (one-time)
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
116
|
npx @realaman90/x-mcp --setup
|
package/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import { z } from "zod";
|
|
|
17
17
|
|
|
18
18
|
// ─── Auth config ───────────────────────────────────────────────────────────────
|
|
19
19
|
|
|
20
|
-
const BEARER_TOKEN =
|
|
20
|
+
const BEARER_TOKEN = process.env.X_BEARER_TOKEN || "";
|
|
21
21
|
if (!BEARER_TOKEN) {
|
|
22
22
|
console.error("X_BEARER_TOKEN environment variable is required");
|
|
23
23
|
process.exit(1);
|
package/package.json
CHANGED