MCP Server
in progress
Jeff Vermeire
Develop an MCP server for agentic workflows. As more and more work moves toward AI-centric development and processing, agents are used extensively to automate and speed tasks. An MCP server would allow code editors like Cursor and Windsurf to directly interface with Sunsama and automatically manage tasks and schedules based on how and when tasks are completed. As more products move into agentic workflows, and more tools provide their own MCP servers, Sunsama is going to need this in order to keep up/stay ahead of other tools.
S K
It would be great, If I can control focus mode(time, task, mark it as complete, and put item on focus, etc.)
Zane Mccaig
S K you can already start/stop the timer and complete tasks with MCP and Sunny. It looks like starting the timer does not automatically open the task in focus mode though. I will add a note for that in our internal docs.
John C.
Using this with my openclaw now! After a little debugging and Alicja's pinned comment, I now have my daily tasks pulling into a morning briefing and the ability to add tasks just by talking to claude (my openclaw)
Zane Mccaig
We just added a few tools that should solve the issue reported by several users that prevented reading the task list for a given day. Please let us know if you still have any trouble with this after refreshing your tool lists.
Zane Mccaig
We have just launched full OAuth support for our MCP service. If you previously had trouble connecting our MCP server to your preferred clients please feel free to try again with this new authentication method. You should just need to enter our MCP url to trigger the authentication flow from your browser. https://api.sunsama.com/mcp
Rick Montero
Zane Mccaig {"error":"invalid_client","error_description":"Unknown client"} is what I keep getting
Hasan Saifee
Zane Mccaig When I add https://api.sunsama.com/mcp as a custom connector in Claude.ai, I get invalid_client / Unknown client.
Zane Mccaig
Thanks Hasan Saifee. I will add this to our bug list to investigate.
Rick Montero are you also using Claude.ai or are you using some other service?
Rick Montero
Zane Mccaig Yup, Using Claude Mac Desktop app.
Ryan Booker
Zane Mccaig I also get "{"error":"invalid_client","error_description":"Unknown client"}" with Claude.ai / Claude Desktop.
And I get "Invalid response: bad request" with Raycast.
Vince Ashwill
Zane Mccaig I am also getting {"error":"invalid_client","error_description":"Unknown client"} when I add https://api.sunsama.com/mcp as a custom connector in Claude.ai
Hasan Saifee
Zane Mccaig any updates here?
Zane Mccaig
Hasan Saifee I figured out what is causing the issue last night. Just need to reproduce it and patch it on my computer today. Hopefully that will not take too long. Thanks for the patience in the meantime.
Zane Mccaig
I just pushed up a patch for the "Unknown client" error with Claude. Please give it another try and let me know if you have any more issues
Vincent D'Amico
Zane Mccaig Is there anyway you will add a way so we can attach it without a bearer token since Claude doesn't allow this currently? with the simple connector at least?
Zane Mccaig
Vincent D'Amico Yes I am working on OAuth right now. We will also likely try and get one click installs implemented for the bigger services
Jeffrey Bui
Is the MCP server live?
If so - I will switch back to Sunsama
Zane Mccaig
Jeffrey Bui: Yes it is. It is still in early beta though so we are ironing out a few kinks
Alicja Baran
Zane Mccaig qq, can we get somehow the information on how much time we have spent on a task? right now I get the response on how much time was the task estimated for, but is it possible to get the info as well on the real time spent?
Zane Mccaig
Alicja Baran we do not have that added in yet but I will put it into our backlog.
Alicja Baran
While the team solves the problem with ResourceTemplate not being supported by many clients, claude code added this for me to MEMORY.md: - Get tasks for a specific day: use ReadMcpResourceTool with server sunsama and URI sunsama://tasks/YYYY-MM-DD (resource template — not visible in ListMcpResourcesTool, call directly). With this it's getting the tasks for a specific day without any issues. Maybe you can apply this workaround in your solutions as well
Zane Mccaig
Alicja Baran Thanks for chiming in with this. That is a really useful workaround.
Rick Montero
Alicja BaranThanks! This worked!
Andrew Kippen
Nice work guys. I was able to set up the MCP server within Claude Code. Then I was able to copy a task from Asana over to Sunsama.
My plan is to use Claude as a project manager who can track big picture items in Asana, while using Sunsama for weekly/daily things. Excited about the integration and I agree that having an oAuth implementation would make further integration easier. For the moment this is a win though - thanks!
Mike O
Huge thanks for shipping the MCP server. We resumed our planning/workflow build around it and did a first deep pass inventory today. Some thoughts:
- Deterministic daily task retrieval
Please add
get_tasks_for_day(day)
and get_today_tasks()
with filters (includeCompleted
, includeBacklog
, includeArchived
) and stable sorting. We kludged it with search_tasks
but it was hugely expensive, slow and not reliable.- Objective read/update parity
Please add
list_objectives
, get_objective
, update_objective
, and archive/delete objective so objective workflows are fully MCP-capable (not just align/create). I like this middle-tier object between projects and tasks; i want to leverage it with my agents.- Incremental sync model
Please add “changes since cursor” (including tombstones) so agents can sync safely without rescans/search hacks.
- Webhook/event support
Please expose push events for task/objective/calendar changes. Polling-only is expensive and brittle for agent workflows.
- Idempotency + conflict controls
Please support idempotency keys and optimistic concurrency (
version
/etag
) for safe retries and multi-agent edits.Zane Mccaig
Mike O We have several of these things available as
resources
and resource templates
right now. It seems lots of clients do not support resources and/or resource templates which is a shame. We set them up for our voice service and used the MCP resource subscriptions to keep things up to date.Subscriptions won't work via the HTTP connection mode but we actually currently also support websocket connections. Websocket transports never really caught on but there are a few libs that support them and that is what we used for our voice service. We will likely leave the websocket mode active while we iterate and improve things over the coming months. If we end up implementing SSE it might not be necessary anymore though so perhaps it will be removed.
Load More
→