@mgcrea/mcp-x-api 0.1.0
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/LICENSE +21 -0
- package/README.md +290 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +114 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +836 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/server-BeRiqZxj.js +4008 -0
- package/dist/server-BeRiqZxj.js.map +1 -0
- package/package.json +78 -0
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mgcrea/mcp-x-api",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Model Context Protocol server for the X (Twitter) API v2",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"mcp",
|
|
7
|
+
"model-context-protocol",
|
|
8
|
+
"twitter",
|
|
9
|
+
"twitter-api",
|
|
10
|
+
"x",
|
|
11
|
+
"x-api"
|
|
12
|
+
],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"author": "Olivier Louvignes <olivier@mgcrea.io>",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/mgcrea/mcp-x-api.git"
|
|
18
|
+
},
|
|
19
|
+
"bin": {
|
|
20
|
+
"x-api-mcp": "dist/cli.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"type": "module",
|
|
26
|
+
"main": "./dist/index.js",
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"imports": {
|
|
29
|
+
"#/*": "./src/*.ts"
|
|
30
|
+
},
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/index.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "tsdown",
|
|
42
|
+
"dev": "tsdown --watch",
|
|
43
|
+
"start": "node dist/cli.js",
|
|
44
|
+
"login": "node dist/cli.js login",
|
|
45
|
+
"lint": "oxlint",
|
|
46
|
+
"lint:fix": "oxlint --fix",
|
|
47
|
+
"format": "oxfmt --write .",
|
|
48
|
+
"format:check": "oxfmt --check .",
|
|
49
|
+
"test": "vitest run",
|
|
50
|
+
"test:watch": "vitest",
|
|
51
|
+
"typecheck": "tsc --noEmit",
|
|
52
|
+
"release": "pnpm dlx release-it",
|
|
53
|
+
"docker:build": "BUILDER=build scripts/docker-build.sh",
|
|
54
|
+
"docker:buildx": "BUILDER=buildx scripts/docker-build.sh",
|
|
55
|
+
"docker:push": "docker push mgcrea/mcp-x-api:latest && docker push mgcrea/mcp-x-api:$npm_package_version",
|
|
56
|
+
"docker:release": "BUILDER=buildx scripts/docker-build.sh --push",
|
|
57
|
+
"prepublishOnly": "pnpm build"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@modelcontextprotocol/server": "^2.0.0",
|
|
61
|
+
"zod": "^4.4.3"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@modelcontextprotocol/client": "^2.0.0",
|
|
65
|
+
"@types/node": "^26.2.0",
|
|
66
|
+
"oxfmt": "^0.62.0",
|
|
67
|
+
"oxlint": "^1.77.0",
|
|
68
|
+
"tsdown": "^0.22.14",
|
|
69
|
+
"tsx": "^4.23.11",
|
|
70
|
+
"typescript": "^7.0.2",
|
|
71
|
+
"vite": "^8.2.1",
|
|
72
|
+
"vitest": "^4.1.10"
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=22"
|
|
76
|
+
},
|
|
77
|
+
"packageManager": "pnpm@11.13.1"
|
|
78
|
+
}
|