dropbox-mcp-server 2.0.0 → 2.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/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
3
3
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
4
|
import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -99,7 +99,7 @@ const rawClient = new Dropbox({
|
|
|
99
99
|
refreshToken: DROPBOX_REFRESH_TOKEN
|
|
100
100
|
});
|
|
101
101
|
const client = throttleClient(rawClient);
|
|
102
|
-
const server = new Server({ name: "dropbox-agent-mcp", version: "2.
|
|
102
|
+
const server = new Server({ name: "dropbox-agent-mcp", version: "2.1.0" }, { capabilities: { tools: {} } });
|
|
103
103
|
// ------------------------------------------------------------------
|
|
104
104
|
// 4. Tool Schemas
|
|
105
105
|
// ------------------------------------------------------------------
|
package/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
3
3
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
4
|
import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -106,7 +106,7 @@ const rawClient = new Dropbox({
|
|
|
106
106
|
const client = throttleClient(rawClient);
|
|
107
107
|
|
|
108
108
|
const server = new Server(
|
|
109
|
-
{ name: "dropbox-agent-mcp", version: "2.
|
|
109
|
+
{ name: "dropbox-agent-mcp", version: "2.1.0" },
|
|
110
110
|
{ capabilities: { tools: {} } }
|
|
111
111
|
);
|
|
112
112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dropbox-mcp-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dropbox-mcp-server": "dist/index.js"
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
14
14
|
"dotenv": "^16.4.5",
|
|
15
|
-
"dropbox": "^10.34.0"
|
|
15
|
+
"dropbox": "^10.34.0",
|
|
16
|
+
"dropbox-mcp-server": "^2.0.0"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"typescript": "^5.9.3"
|