spaces-mcp

v0.1.2
@xyne/spaces-mcp Checked 3 days ago Published 1 month ago

MCP server for Xyne Spaces: channels, threads, messages, tickets, and search for coding agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

spaces_login

Sign in to Xyne Spaces with Xyne SSO. Returns a link for the user to open and approve (it is also opened in their browser when possible); the session is picked up automatically once they approve, and is renewed automatically for as long as a Spaces browser login lasts. Call this when another tool reports that you are not signed in or the session has expired, then ask the user to approve and call spaces_whoami to confirm. Does nothing if already signed in unless force is true.

ParameterTypeDescription
forcebooleanSign in again even if the current session is still valid.

spaces_whoami

Identify the Xyne Spaces user this session acts as. Returns the user id, email, name, workspace id, org id, role, and how long the sign-in lasts. Call this FIRST in any session that will filter or write by user — every other tool that takes a user takes the id returned here. Also the quickest way to confirm the server is signed in and the session is live.

spaces_channels_list

List the Xyne Spaces channels you can see, with their ids. This is the AUTHORITATIVE way to turn a channel NAME into a channel id — it reads the database directly and so works for private channels, unlike spaces_search, which is a fuzzy relevance index. Always resolve a channel here and copy the id verbatim before posting or creating anything in it; never re-type an id from memory or from earlier prose. Returns per channel: name, scope, visibility, description, live member count, your unread count, creator, project id, and created / updated / last-active times. Email, Slack, App and Call cha…

ParameterTypeDescription
include_email_channelsbooleanAlso include Email, Slack, App and Call channels, which are left out by default.
limitnumberMax channels (default 50, max 200).
namestringCase-insensitive partial match on the channel name. Use this to find one specific channel.
offsetnumberPagination offset.
project_idstringRestrict to channels in this project.
scope_typestringRestrict to one scope. Use 'DM' to find direct messages.
starred_onlybooleanOnly channels you have starred.
unread_onlybooleanOnly channels with unread messages.
visibilitystringRestrict to public or private channels.

spaces_channel_participants

List the members of one Xyne Spaces channel, with each person's user id, name, email, channel role (ADMIN or MEMBER) and when they joined. Use it to find out who to mention or assign work to, or to check whether someone is in a channel before posting there. A busy channel can have hundreds of members, so page with limit and offset.

ParameterTypeDescription
channel_id *stringChannel id, from spaces_channels_list or spaces_search.
limitnumberMax members (default 100, max 500).
namestringCase-insensitive partial match on member name or email.
offsetnumberPagination offset.
rolestringRestrict to one channel role.

spaces_threads_list

List the most recent threads in one Xyne Spaces channel, newest activity first. A channel holds threads and a thread holds messages, so this is the step between spaces_channels_list and spaces_messages_list: take a channel id, get conversation ids. Returns per thread: the opening message, reply count, who started it, participants, attachment count, created and last-active times, and any linked ticket or call. To read a thread's replies, pass its Conversation ID to spaces_messages_list.

ParameterTypeDescription
channel_id *stringChannel id, from spaces_channels_list or spaces_search.
limitnumberMax threads (default 20, max 100).
offsetnumberPagination offset applied to the fetched page.

spaces_thread_get

Read one Xyne Spaces thread by its conversation id: the opening message in full, who started it, the participants, reply count, timestamps, and any linked ticket or call. Use this when you have a conversation id from search and want the thread's context before reading or posting into it. For the replies themselves, use spaces_messages_list.

ParameterTypeDescription
conversation_id *stringConversation id, from spaces_threads_list or spaces_search.

spaces_messages_list

Read the messages in one Xyne Spaces thread, oldest first, with each message's full text, author, timestamp, attachments and message id. Take the conversation id from spaces_threads_list or from a spaces_search hit. Message bodies are returned in full and are not truncated, so a long thread is a large response — narrow it with limit and offset rather than asking for everything. To reply, pass the same conversation id to spaces_message_send.

ParameterTypeDescription
conversation_id *stringConversation (thread) id.
limitnumberMax messages (default 50, max 200).
newest_firstbooleanReturn the most recent messages instead of the start of the thread. Use this to catch up.
offsetnumberPagination offset from the start of the thread.

spaces_user_messages

List the messages one person wrote across all of Xyne Spaces, newest first, optionally bounded by date. This is the right tool for 'what has Priya been working on', 'what did I post yesterday', or building a digest of someone's week. Unlike spaces_search it is an exact ordered scan rather than a relevance ranking, so nothing is silently dropped and an empty result genuinely means they wrote nothing in that window. Omit user to get your own messages. Each message shows its text, timestamp, thread, and channel, so you can follow any of them with spaces_messages_list.

ParameterTypeDescription
afterstringOnly messages at or after this time. ISO 8601, e.g. '2026-08-01T00:00:00Z'.
beforestringOnly messages at or before this time. ISO 8601.
limitnumberMax messages (default 50, max 100).
offsetnumberPagination offset.
userstringWhose messages to list — a user id or an email address. Omit for your own.

spaces_tickets_list

List Xyne Spaces tickets for one scope, newest first, with full detail per ticket: status, priority, stage, assignee, creator, tags, related tickets, due date, description, and the board / project / channel / conversation ids. Prefer this over spaces_search for ticket questions — it reads the database rather than a relevance index, so the answer is exact. view_mode decides the scope and which other argument is needed: 'my-tickets' takes none and returns tickets you are assigned or created; 'project' needs project_id; 'board' needs board_id; 'user-tickets' needs user_id; 'group-tickets' needs…

ParameterTypeDescription
assigned_tostringKeep only tickets assigned to this person — user id or email.
board_idstringRequired when view_mode is 'board'. From spaces_board_stages.
group_idstringRequired when view_mode is 'group-tickets'.
include_archivedbooleanInclude archived tickets. Off by default.
limitnumberMax tickets rendered (default 25, max 200).
offsetnumberPagination offset.
priorityarrayKeep only tickets at these priorities (matches any).
project_idstringRequired when view_mode is 'project'. From spaces_projects_list.
stage_namestringKeep only tickets in this stage. Exact name, from spaces_board_stages.
statusarrayKeep only tickets in these statuses (matches any).
unassigned_onlybooleanKeep only tickets with no assignee.
user_idstringRequired when view_mode is 'user-tickets'. A user id or an email address, which is resolved for you.
view_modestringScope. Each mode needs its own companion argument: project→project_id, board→board_id, user-tickets→user_id, group-tickets→group_id. 'my-tickets' needs none.

spaces_ticket_get

Read one Xyne Spaces ticket in full by its ticket id, including everything the list view shows plus its project, tags, role assignments (PR reviewer, QA), related and duplicate tickets, its parent and sub-tickets, per-stage due dates, open stage-approval requests, and the latest RCA. Takes the internal ticket id — the 'Ticket ID' line in other tools' output — not the human key like PLAT-1234; use spaces_tickets_search to turn a key into an id.

ParameterTypeDescription
ticket_id *stringInternal ticket id, from spaces_tickets_search or spaces_tickets_list.

spaces_ticket_activities

Read the change history of one Xyne Spaces ticket, newest first: who changed what and when — status moves, stage transitions, reassignments, priority and field edits. Use it to answer 'why is this stuck', 'who moved this', or 'when did it go to QA'. Each entry's recorded value is included as-is, since the shape differs by change type.

ParameterTypeDescription
ticket_id *stringInternal ticket id.
limitnumberMax entries (default 50, max 200).
offsetnumberPagination offset.

spaces_projects_list

List the projects in this Xyne Spaces workspace, with their ids and ticket-key prefixes. A project is the top of the hierarchy: projects hold boards, boards hold stages, and tickets live on a board. Start here when you need to create a ticket or a channel and do not already have a project id. The `code` is the prefix in ticket keys — a project with code PLAT owns PLAT-1234.

ParameterTypeDescription
limitnumberMax projects (default 100, max 200).
namestringCase-insensitive partial match on project name or code.
offsetnumberPagination offset.

spaces_board_stages

List a project's boards together with each board's stages, in workflow order. One call gives everything the ticket tools need: the board id for spaces_ticket_create, and the exact stage NAMES for its stage_name and for spaces_ticket_transition. Stage names must match exactly, so read them here rather than guessing at 'Done' or 'In Progress'. Each stage also shows the ticket status it puts a ticket into, and whether entering it needs approval.

ParameterTypeDescription
project_id *stringProject id, from spaces_projects_list.
board_namestringCase-insensitive partial match to narrow to one board.

spaces_users_list

Find people in this Xyne Spaces workspace and get their user ids. Use it to turn a name or an email into the id that spaces_ticket_update wants for assignee, spaces_tickets_list wants for user_id, and spaces_channel_create wants for participants. Search by partial name or email; with no filter it returns the whole directory, so pass one. Most tools that take a person also accept an email directly, so this is mainly for confirming who you mean when a name is ambiguous.

ParameterTypeDescription
limitnumberMax people (default 50, max 100).
offsetnumberPagination offset.
searchstringCase-insensitive partial match on name, display name, or email.

spaces_notifications_list

List your Xyne Spaces notifications, newest first — mentions, replies, reactions, ticket changes, canvas mentions and call invites. Use it to answer 'what needs my attention' or 'what did I miss'. Narrow it with types, e.g. 'mentioned_user' for just mentions. Each entry shows whether it is unread and how Spaces classified it, and carries the ids to follow it — conversation id for a mention, ticket id for a ticket change — so you can go straight to spaces_messages_list or spaces_ticket_get. Mark one done with spaces_notifications_mark_read.

ParameterTypeDescription
limitnumberMax notifications (default 30, max 100).
typesarrayRestrict to these action types, e.g. 'mentioned_user', 'group_mention', 'replied', 'added', 'created'.

spaces_emails_list

Read the emails in an email-backed Xyne Spaces channel — a support desk or shared inbox. Give it a channel id and it finds that channel's recent threads and returns the messages in them, with subject, sender, recipients, full body and timestamps. Email channels are hidden from spaces_channels_list by default, so pass include_email_channels there first to find the channel id.

ParameterTypeDescription
channel_id *stringEmail channel id, from spaces_channels_list with include_email_channels set.
conversation_idsarrayRead specific threads instead of the channel's most recent ones.
limitnumberMax emails (default 20, max 100).
offsetnumberPagination offset.

spaces_calls_list

List Xyne Spaces calls and meetings. Choose the scope: 'scheduled' for upcoming meetings, 'active' for calls happening right now, or 'history' for past ones. Returns title, organiser, type, times, channel, and — for finished calls — whether a recording, transcript or AI summary exists. Use it for 'what meetings do I have', 'is anyone on a call', or to find a call id before reading its notes.

ParameterTypeDescription
limitnumberMax calls (default 25, max 100).
offsetnumberPagination offset.
scopestringWhich calls to list: upcoming, in progress, or finished.

spaces_drafts_list

List your unsent Xyne Spaces message drafts, with their full text and the channel or thread each belongs to. Useful for 'what did I leave half-written'. A draft with a conversation id is a reply you started in a thread; one with only a channel id is an unstarted thread. To finish a draft, read it here and post it with spaces_message_send or spaces_thread_create — sending does not clear the draft.

ParameterTypeDescription
channel_idstringOnly drafts in this channel.
limitnumberMax drafts (default 25, max 100).

spaces_canvases_list

List Xyne Spaces canvases — the collaborative documents used for design notes, RFCs and meeting notes. Returns title, owner, visibility, last editor and timestamps, but not the body; read one with spaces_canvas_get. Pass channel_id to list a channel's canvases instead of your own.

ParameterTypeDescription
channel_idstringList canvases belonging to this channel instead of your own.
limitnumberMax canvases (default 25, max 100).

spaces_canvas_get

Read one Xyne Spaces canvas in full, with its body converted from the stored block format to markdown — headings, lists, checklists, code blocks and links all survive. Take the canvas id from spaces_canvases_list or from a spaces_search hit with type ['canvas'].

ParameterTypeDescription
canvas_id *stringCanvas id, from spaces_canvases_list or spaces_search.

spaces_claw_list_agents

List the Xyne Claw agents this deployment can run, with the slug each one is invoked by. Claw agents are remote AI agents that can do longer-running work against Spaces data. Call this before spaces_claw_run to find the right slug — an unknown slug is rejected. Uses the same Spaces session as every other tool; there is no separate Claw login.

spaces_claw_get_run

Read the status and result of one Xyne Claw run by its session id. Use it after spaces_claw_run returned a session id without a result — because it timed out, or because it was dispatched with wait set to false. Status is one of running, completed, failed or cancelled.

ParameterTypeDescription
session_id *stringClaw session id, from spaces_claw_run.