@remit/mcp-server 0.0.0-stage → 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/dist/app-entry.d.ts +10 -0
- package/dist/app-entry.js +9 -0
- package/dist/app.d.ts +11 -0
- package/dist/app.js +261 -0
- package/dist/auth/authorization-server.d.ts +6835 -0
- package/dist/auth/authorization-server.js +592 -0
- package/dist/auth/database.d.ts +7 -0
- package/dist/auth/database.js +33 -0
- package/dist/auth/node-auth.d.ts +3 -0
- package/dist/auth/node-auth.js +17 -0
- package/dist/auth/remit-password.d.ts +8 -0
- package/dist/auth/remit-password.js +18 -0
- package/dist/auth/scopes.d.ts +6 -0
- package/dist/auth/scopes.js +13 -0
- package/dist/auth/token-verifier.d.ts +11 -0
- package/dist/auth/token-verifier.js +1 -0
- package/dist/cli/device-login.d.ts +16 -0
- package/dist/cli/device-login.js +111 -0
- package/dist/cli/mcp-login.d.ts +1 -0
- package/dist/cli/mcp-login.js +21 -0
- package/dist/config.d.ts +9 -0
- package/dist/config.js +41 -0
- package/dist/deps.d.ts +33 -0
- package/dist/deps.js +14 -0
- package/dist/filter-tools.d.ts +3 -0
- package/dist/filter-tools.js +155 -0
- package/dist/folder-tools.d.ts +3 -0
- package/dist/folder-tools.js +125 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +53 -0
- package/dist/pages/assets.d.ts +8 -0
- package/dist/pages/assets.js +14 -0
- package/dist/pages/geist-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/pages/geist-cyrillic-wght-normal.woff2 +0 -0
- package/dist/pages/geist-latin-ext-wght-normal.woff2 +0 -0
- package/dist/pages/geist-latin-wght-normal.woff2 +0 -0
- package/dist/pages/geist-vietnamese-wght-normal.woff2 +0 -0
- package/dist/pages/hanken-grotesk-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/pages/hanken-grotesk-latin-ext-wght-normal.woff2 +0 -0
- package/dist/pages/hanken-grotesk-latin-wght-normal.woff2 +0 -0
- package/dist/pages/hanken-grotesk-vietnamese-wght-normal.woff2 +0 -0
- package/dist/pages/inter-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/pages/inter-cyrillic-wght-normal.woff2 +0 -0
- package/dist/pages/inter-greek-ext-wght-normal.woff2 +0 -0
- package/dist/pages/inter-greek-wght-normal.woff2 +0 -0
- package/dist/pages/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/pages/inter-latin-wght-normal.woff2 +0 -0
- package/dist/pages/inter-vietnamese-wght-normal.woff2 +0 -0
- package/dist/pages/load-assets.d.ts +2 -0
- package/dist/pages/load-assets.js +23 -0
- package/dist/pages/pages.css +1 -0
- package/dist/pages/render.d.ts +6 -0
- package/dist/pages/render.js +34 -0
- package/dist/pages/views.d.ts +11 -0
- package/dist/pages/views.js +20 -0
- package/dist/read-tools.d.ts +4 -0
- package/dist/read-tools.js +205 -0
- package/dist/server.d.ts +7 -0
- package/dist/server.js +27 -0
- package/dist/tool-result.d.ts +5 -0
- package/dist/tool-result.js +16 -0
- package/package.json +66 -5
- package/README.md +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,67 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@remit/mcp-server",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The remit MCP server: mail tools over streamable HTTP and the OAuth authorization server that guards them.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
"./app": {
|
|
8
|
+
"types": "./dist/app-entry.d.ts",
|
|
9
|
+
"default": "./dist/app-entry.js"
|
|
10
|
+
},
|
|
11
|
+
"./pages.css": "./dist/pages/pages.css"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"prepack": "node ../../npm-scripts/pack-dist.mjs prepack && vite build --config vite.pages.config.ts --emptyOutDir=false",
|
|
15
|
+
"postpack": "node ../../npm-scripts/pack-dist.mjs postpack",
|
|
16
|
+
"build": "vite build --config vite.pages.config.ts",
|
|
17
|
+
"test:typecheck": "tsgo --noEmit",
|
|
18
|
+
"test:run": "node $NODE_TEST_FLAGS --env-file=../../localhost-test-unit.env --import tsx --test 'src/**/*.test.ts'",
|
|
19
|
+
"test": "npm run test:typecheck && npm run test:run",
|
|
20
|
+
"start": "MCP_PAGE_ASSETS_DIR=dist/pages node --import tsx src/main.ts",
|
|
21
|
+
"mcp-login": "node --import tsx src/cli/mcp-login.ts"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@remit/logger": "*",
|
|
25
|
+
"@better-auth/oauth-provider": "^1.7.12",
|
|
26
|
+
"@hono/node-server": "^2.1.3",
|
|
27
|
+
"@modelcontextprotocol/sdk": "1.32.1",
|
|
28
|
+
"@remit/auth-service": "*",
|
|
29
|
+
"@remit/data-ports": "*",
|
|
30
|
+
"@remit/domain-enums": "*",
|
|
31
|
+
"@remit/drizzle-service": "*",
|
|
32
|
+
"@remit/logger-lambda": "*",
|
|
33
|
+
"@remit/mailbox-service": "*",
|
|
34
|
+
"@remit/storage-service": "*",
|
|
35
|
+
"@remit/ui": "0.0.234",
|
|
36
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
37
|
+
"better-auth": "^1.7.12",
|
|
38
|
+
"better-sqlite3": "^12.11.1",
|
|
39
|
+
"drizzle-orm": "^0.45.2",
|
|
40
|
+
"jose": "^6.2.3",
|
|
41
|
+
"react": "^19",
|
|
42
|
+
"react-dom": "^19",
|
|
43
|
+
"zod": "^4.6.7",
|
|
44
|
+
"@remit/backend": "*",
|
|
45
|
+
"@types/react": "^19",
|
|
46
|
+
"@types/react-dom": "^19"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@remit/imap-worker": "*",
|
|
50
|
+
"@tailwindcss/vite": "^4",
|
|
51
|
+
"tailwindcss": "^4",
|
|
52
|
+
"tsx": "*",
|
|
53
|
+
"vite": "^7.3.7"
|
|
54
|
+
},
|
|
55
|
+
"license": "MIT",
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/remit-mail/reader.git",
|
|
62
|
+
"directory": "packages/mcp-server"
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist"
|
|
66
|
+
]
|
|
67
|
+
}
|
package/README.md
DELETED