mcp-sunsama 0.10.1 → 0.10.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/CHANGELOG.md +6 -0
- package/bun.lock +2 -2
- package/dev/update-task-text-response.json +11 -0
- package/dev/update-task-text.sh +20 -0
- package/dist/main.js +1 -1
- package/package.json +2 -2
- package/src/main.ts +1 -1
package/CHANGELOG.md
CHANGED
package/bun.lock
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"@types/papaparse": "^5.3.16",
|
|
8
8
|
"fastmcp": "3.3.1",
|
|
9
9
|
"papaparse": "^5.5.3",
|
|
10
|
-
"sunsama-api": "0.8.
|
|
10
|
+
"sunsama-api": "0.8.1",
|
|
11
11
|
"zod": "3.24.4",
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
|
|
431
431
|
"strtok3": ["strtok3@10.3.1", "", { "dependencies": { "@tokenizer/token": "^0.3.0" } }, "sha512-3JWEZM6mfix/GCJBBUrkA8p2Id2pBkyTkVCJKto55w080QBKZ+8R171fGrbiSp+yMO/u6F8/yUh7K4V9K+YCnw=="],
|
|
432
432
|
|
|
433
|
-
"sunsama-api": ["sunsama-api@0.8.
|
|
433
|
+
"sunsama-api": ["sunsama-api@0.8.1", "", { "dependencies": { "graphql": "^16.11.0", "graphql-tag": "^2.12.6", "marked": "^14.1.3", "tough-cookie": "^5.1.2", "tslib": "^2.8.1", "turndown": "^7.2.0", "yjs": "^13.6.27", "zod": "^3.25.64" } }, "sha512-CcLyMwrUnpQi9GmRrNqgqb0A7f2Ba5qxaI1uJdAivcqZQRNfg+g5V9RFzh64mGrN/7M3v+Meiv+Ev6AsiSAz3A=="],
|
|
434
434
|
|
|
435
435
|
"term-size": ["term-size@2.2.1", "", {}, "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg=="],
|
|
436
436
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
curl 'https://api.sunsama.com/graphql' \
|
|
2
|
+
-H 'accept: */*' \
|
|
3
|
+
-H 'accept-language: en-US,en;q=0.5' \
|
|
4
|
+
-H 'content-type: application/json' \
|
|
5
|
+
-b 'intercom-device-id-bneprukf=cb3bdbde-e6f5-452f-860a-3d9af07d287f; sunsamaSession=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjM2N2MzZjMzNzEzMzAwMDEwODEyNjAiLCJzZXNzaW9uSWQiOiI2OTcxMmYyOS1jZDZiLTQzNjgtODFmYS1iNTg3ZmQ0NGVlZWYiLCJzZXNzaW9uTm9uY2UiOiIwYjAyZWJlNC0yMzNlLTRhMjYtYTQ1Ni1hNmJhMzA2YTJhZTQiLCJncm91cElkIjoiNjYzNjdjNDMzMzcxMzMwMDAxMDgxMjYyIiwiZ3JvdXBVcmxQYXRoIjoiMTcxNDg0Njc4NzkzNDI0NzQiLCJpYXQiOjE3NTA1MTEzNzgsImV4cCI6MTc1MzEwMzM3OH0.rzteDU3SQfOPiZc9I71jVIfc78ocxh3MGEBeNqzDLJM; intercom-session-bneprukf=NnRmSnl1ZmJCb0V1RGhnb1prdWx5LzJkTGxUNFFORkUvSkNZWVRSY205MlVkVG11TUtYdithSXRRWlVmTXRwai9MaXVPSXl2QkJYZTRGM2N4MCtrVjg0NUNSblRKUWxRK2lHdzBjNjdMTlk9LS1VUmc1c1NzVkpGZ1V0eElLMnlOL29nPT0=--54db2c84e7f41fb661fae4a1650446aaf046bf1e' \
|
|
6
|
+
-H 'origin: https://app.sunsama.com' \
|
|
7
|
+
-H 'priority: u=1, i' \
|
|
8
|
+
-H 'referer: https://app.sunsama.com/' \
|
|
9
|
+
-H 'sec-ch-ua: "Brave";v="137", "Chromium";v="137", "Not/A)Brand";v="24"' \
|
|
10
|
+
-H 'sec-ch-ua-mobile: ?0' \
|
|
11
|
+
-H 'sec-ch-ua-platform: "macOS"' \
|
|
12
|
+
-H 'sec-fetch-dest: empty' \
|
|
13
|
+
-H 'sec-fetch-mode: cors' \
|
|
14
|
+
-H 'sec-fetch-site: same-site' \
|
|
15
|
+
-H 'sec-gpc: 1' \
|
|
16
|
+
-H 'traceparent: 00-e604d5f85432b50fe3b7d5bf8fc2775b-2ef7c8c51cf75623-01' \
|
|
17
|
+
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36' \
|
|
18
|
+
-H 'x-gql-operation-name: updateTaskText' \
|
|
19
|
+
-H 'x-pusher-socket-id: 73411.8251716' \
|
|
20
|
+
--data-raw $'{"operationName":"updateTaskText","variables":{"input":{"taskId":"685693f91f41775b0458892f","text":"Try out FOSS AI browser ","recommendedStreamId":null,"limitResponsePayload":true}},"query":"mutation updateTaskText($input: UpdateTaskTextInput\u0021) {\\n updateTaskText(input: $input) {\\n ...UpdateTaskPayload\\n __typename\\n }\\n}\\n\\nfragment UpdateTaskPayload on UpdateTaskPayload {\\n updatedTask {\\n ...Task\\n __typename\\n }\\n updatedFields {\\n ...PartialTask\\n __typename\\n }\\n success\\n skipped\\n __typename\\n}\\n\\nfragment Task on Task {\\n _id\\n groupId\\n taskType\\n streamIds\\n recommendedStreamId\\n eventInfo {\\n eventId\\n clone\\n __typename\\n }\\n seededEventIds\\n private\\n assigneeId\\n createdBy\\n integration {\\n ...TaskIntegration\\n __typename\\n }\\n deleted\\n text\\n notes\\n notesMarkdown\\n notesChecksum\\n editorVersion\\n collabSnapshot\\n completed\\n completedBy\\n completeDate\\n completeOn\\n archivedAt\\n duration\\n runDate {\\n startDate\\n endDate\\n __typename\\n }\\n snooze {\\n userId\\n date\\n until\\n __typename\\n }\\n timeHorizon {\\n type\\n relativeTo\\n __typename\\n }\\n dueDate\\n comments {\\n userId\\n text\\n markdown\\n editorVersion\\n groupId\\n createdAt\\n editedAt\\n deleted\\n file\\n fileMetadata {\\n url\\n filename\\n mimetype\\n size\\n width\\n height\\n __typename\\n }\\n __typename\\n }\\n orderings {\\n ordinal\\n panelDate\\n channelId\\n userId\\n __typename\\n }\\n backlogOrderings {\\n horizonType\\n position\\n streamId\\n __typename\\n }\\n subtasks {\\n _id\\n title\\n completedDate\\n completedBy\\n timeEstimate\\n actualTime {\\n ...TaskActualTime\\n __typename\\n }\\n snooze {\\n userId\\n date\\n until\\n __typename\\n }\\n scheduledTime {\\n ...TaskScheduledTime\\n __typename\\n }\\n integration {\\n ...TaskIntegration\\n __typename\\n }\\n mergedTaskId\\n recommendedTimeEstimate\\n __typename\\n }\\n subtasksCollapsed\\n sequence {\\n date\\n id\\n expiresDate\\n ruleString\\n searchable\\n forked\\n final\\n estimatedStart {\\n hour\\n minute\\n __typename\\n }\\n master\\n finalDate\\n template {\\n streamIds\\n private\\n text\\n notes\\n notesMarkdown\\n notesChecksum\\n editorVersion\\n subtasks {\\n _id\\n title\\n completedDate\\n completedBy\\n timeEstimate\\n actualTime {\\n ...TaskActualTime\\n __typename\\n }\\n __typename\\n }\\n timeEstimate\\n assigneeId\\n __typename\\n }\\n __typename\\n }\\n followers\\n recommendedTimeEstimate\\n timeEstimate\\n actualTime {\\n ...TaskActualTime\\n __typename\\n }\\n scheduledTime {\\n ...TaskScheduledTime\\n __typename\\n }\\n createdAt\\n lastModified\\n objectiveId\\n ritual {\\n id\\n period {\\n interval\\n startCalendarDay\\n endCalendarDay\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment TaskActualTime on TaskActualTime {\\n userId\\n startDate\\n endDate\\n duration\\n isTimerEntry\\n __typename\\n}\\n\\nfragment TaskScheduledTime on TaskScheduledTime {\\n eventId\\n serviceIds {\\n google\\n microsoft\\n microsoftUniqueId\\n apple\\n appleRecurrenceId\\n sunsama\\n __typename\\n }\\n calendarId\\n userId\\n startDate\\n endDate\\n isAllDay\\n importedFromCalendar\\n __typename\\n}\\n\\nfragment TaskIntegration on TaskIntegration {\\n ... on TaskAsanaIntegration {\\n service\\n identifier {\\n id\\n url\\n accountId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskTrelloIntegration {\\n service\\n identifier {\\n id\\n url\\n accountId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskJiraIntegration {\\n service\\n identifier {\\n id\\n cloudId\\n accountId\\n url\\n __typename\\n }\\n __typename\\n }\\n ... on TaskGithubIntegration {\\n service\\n identifier {\\n id\\n repositoryOwnerLogin\\n repositoryName\\n number\\n type\\n url\\n __typename\\n }\\n __typename\\n }\\n ... on TaskTodoistIntegration {\\n service\\n identifier {\\n id\\n url\\n deepUrl\\n __typename\\n }\\n __typename\\n }\\n ... on TaskGoogleCalendarIntegration {\\n service\\n identifier {\\n sunsamaId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskOutlookCalendarIntegration {\\n service\\n identifier {\\n sunsamaId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskAppleCalendarIntegration {\\n service\\n identifier {\\n sunsamaId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskSunsamaCalendarIntegration {\\n service\\n identifier {\\n sunsamaId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskGmailIntegration {\\n service\\n identifier {\\n id\\n messageId\\n accountId\\n url\\n __typename\\n }\\n __typename\\n }\\n ... on TaskOutlookIntegration {\\n service\\n identifier {\\n id\\n internetMessageId\\n conversationId\\n accountId\\n url\\n __typename\\n }\\n __typename\\n }\\n ... on TaskSlackIntegration {\\n service\\n identifier {\\n permalink\\n notesMarkdown\\n __typename\\n }\\n __typename\\n }\\n ... on TaskNotionIntegration {\\n service\\n identifier {\\n id\\n workspaceId\\n url\\n deepUrl\\n __typename\\n }\\n __typename\\n }\\n ... on TaskClickUpIntegration {\\n service\\n identifier {\\n id\\n userId\\n teamId\\n url\\n __typename\\n }\\n __typename\\n }\\n ... on TaskGitlabIntegration {\\n service\\n identifier {\\n id\\n __typename\\n }\\n __typename\\n }\\n ... on TaskEmailIntegration {\\n service\\n identifier {\\n id\\n __typename\\n }\\n content {\\n subject\\n text\\n html\\n from {\\n name\\n email\\n __typename\\n }\\n date\\n __typename\\n }\\n __typename\\n }\\n ... on TaskLinearIntegration {\\n service\\n identifier {\\n id\\n url\\n identifier\\n linearUserId\\n linearOrganizationId\\n number\\n _version\\n __typename\\n }\\n __typename\\n }\\n ... on TaskMondayIntegration {\\n service\\n identifier {\\n id\\n boardId\\n mondayAccountId\\n url\\n __typename\\n }\\n __typename\\n }\\n ... on TaskWebsiteIntegration {\\n service\\n identifier {\\n url\\n private\\n canonicalUrl\\n description\\n faviconUrl\\n imageUrl\\n siteName\\n title\\n __typename\\n }\\n __typename\\n }\\n ... on TaskLoomVideoIntegration {\\n service\\n identifier {\\n url\\n videoId\\n title\\n description\\n thumbnail {\\n width\\n height\\n url\\n __typename\\n }\\n __typename\\n }\\n __typename\\n }\\n ... on TaskMicrosoftTeamsIntegration {\\n service\\n identifier {\\n permalink\\n notesMarkdown\\n __typename\\n }\\n __typename\\n }\\n ... on TaskAppleRemindersIntegration {\\n service\\n identifier {\\n id\\n listId\\n autoImported\\n __typename\\n }\\n __typename\\n }\\n ... on TaskGoogleTasksIntegration {\\n service\\n identifier {\\n id\\n listId\\n accountId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskMicrosoftToDoIntegration {\\n service\\n identifier {\\n id\\n listId\\n accountId\\n parentTaskId\\n __typename\\n }\\n __typename\\n }\\n ... on TaskSunsamaTaskIntegration {\\n service\\n identifier {\\n taskId\\n groupId\\n sunsamaUserId\\n __typename\\n }\\n __typename\\n }\\n __typename\\n}\\n\\nfragment PartialTask on PartialTask {\\n _id\\n recommendedStreamId\\n streamIds\\n recommendedTimeEstimate\\n subtasks {\\n _id\\n title\\n completedDate\\n completedBy\\n timeEstimate\\n actualTime {\\n ...TaskActualTime\\n __typename\\n }\\n snooze {\\n userId\\n date\\n until\\n __typename\\n }\\n scheduledTime {\\n ...TaskScheduledTime\\n __typename\\n }\\n integration {\\n ...TaskIntegration\\n __typename\\n }\\n mergedTaskId\\n recommendedTimeEstimate\\n __typename\\n }\\n __typename\\n}"}'
|
package/dist/main.js
CHANGED
|
@@ -16,7 +16,7 @@ if (transportConfig.transportType === "stdio") {
|
|
|
16
16
|
}
|
|
17
17
|
const server = new FastMCP({
|
|
18
18
|
name: "Sunsama API Server",
|
|
19
|
-
version: "0.10.
|
|
19
|
+
version: "0.10.2",
|
|
20
20
|
instructions: `
|
|
21
21
|
This MCP server provides access to the Sunsama API for task and project management.
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-sunsama",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "MCP server for Sunsama API integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@types/papaparse": "^5.3.16",
|
|
27
27
|
"fastmcp": "3.3.1",
|
|
28
28
|
"papaparse": "^5.5.3",
|
|
29
|
-
"sunsama-api": "0.8.
|
|
29
|
+
"sunsama-api": "0.8.1",
|
|
30
30
|
"zod": "3.24.4"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
package/src/main.ts
CHANGED
|
@@ -35,7 +35,7 @@ if (transportConfig.transportType === "stdio") {
|
|
|
35
35
|
|
|
36
36
|
const server = new FastMCP({
|
|
37
37
|
name: "Sunsama API Server",
|
|
38
|
-
version: "0.10.
|
|
38
|
+
version: "0.10.2",
|
|
39
39
|
instructions: `
|
|
40
40
|
This MCP server provides access to the Sunsama API for task and project management.
|
|
41
41
|
|