mycase-mcp

v1.0.4
io.github.oktopeak/mycase-mcp Checked 3 days ago Published 6 months ago

Connect Claude to MyCase: cases, contacts, documents, tasks, calendar, calls, time, billing, staff.

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

authenticate

Open the MyCase OAuth authorization page in the browser and store the resulting tokens encrypted on disk. Must be called before any other MyCase tools.

auth-status

Check whether the server is authenticated with MyCase and when the token expires.

logout

Remove the stored MyCase tokens from disk.

list-cases

List cases from MyCase, optionally filtered by status.

ParameterTypeDescription
page_sizeinteger
page_tokenstringCursor token for the next page, from a previous response.
statusstringFilter by case status: "open" or "closed". Omit for all cases.
updated_afterstringISO 8601 date — return only cases created or updated after this date.

get-case

Get full details for a single MyCase case by its ID.

ParameterTypeDescription
case_id *stringThe MyCase case ID.

create-case

Create a new case in MyCase.

ParameterTypeDescription
name *stringThe case name. Must be unique within your firm.
case_numberstringYour firm's own identifier for this case.
case_stagestringMust match a case stage name in MyCase (case-insensitive).
client_idsarrayIDs of clients to associate with the case.
company_idsarrayIDs of companies to associate with the case.
descriptionstring
opened_datestringDate the case was opened, YYYY-MM-DD.
practice_areastringMust match a practice area name in MyCase (case-insensitive).
sol_datestringStatute of limitations date, YYYY-MM-DD.
staffarrayStaff members to associate with the case.
statusstring

search-contacts

Search for clients (people) in MyCase by name, email, or phone.

ParameterTypeDescription
emailstringFilter by email address.
first_namestringFilter by first name (exact match).
last_namestringFilter by last name (exact match).
page_sizeinteger
page_tokenstringCursor token for the next page.
phonestringFilter by cell phone number.

get-contact

Get full details for a single client (person) by ID.

ParameterTypeDescription
contact_id *stringThe MyCase client ID.

list-documents

List documents in MyCase, optionally filtered by case.

ParameterTypeDescription
case_idstringFilter documents by case ID.
limitinteger
pageinteger

get-document-url

Get the download URL for a document by its ID.

ParameterTypeDescription
document_id *stringThe MyCase document ID.

list-tasks

List tasks from MyCase. When case_id is supplied all pages are fetched before filtering. Optionally filter by completion status or updated date.

ParameterTypeDescription
case_idstringFilter tasks by case ID. All pages are fetched when this is set.
completedbooleanFilter by completion: true = completed, false = open. Omit for all.
page_sizeinteger
page_tokenstringCursor token for the next page. Ignored when case_id is set.
updated_afterstringISO 8601 date — return only tasks created or updated after this date.

create-task

Create a new task in MyCase. Requires a name, due date, priority, and at least one staff member ID.

ParameterTypeDescription
due_date *stringDue date in YYYY-MM-DD format. Required.
name *stringTask name/title.
priority *stringTask priority: Low, Medium, or High.
staff_id *integerThe ID of the staff member to assign the task to.
case_idintegerThe ID of the case to associate the task with.
completedbooleanWhether the task is already completed.
descriptionstring

list-calendar-events

List calendar events from MyCase within an optional date range.

ParameterTypeDescription
case_idstringFilter events by case ID.
end_datestringEnd of date range (YYYY-MM-DD). Defaults to 30 days from start.
limitinteger
pageinteger
start_datestringStart of date range (YYYY-MM-DD). Defaults to today.

list-time-entries

List billable time entries from MyCase, optionally filtered by case or date range.

ParameterTypeDescription
case_idstringFilter time entries by case ID.
end_datestringFilter entries on or before this date (YYYY-MM-DD).
limitinteger
pageinteger
start_datestringFilter entries on or after this date (YYYY-MM-DD).

get-billing-summary

Get a billing summary for a MyCase case: total billed, outstanding, and invoices.

ParameterTypeDescription
case_id *stringThe MyCase case ID.

list-staff

List all staff members in the MyCase firm.

ParameterTypeDescription
page_sizeinteger
page_tokenstringCursor token for the next page, from a previous response.
updated_afterstringISO 8601 date — return only staff created or updated after this date.

get-staff

Get full details for a single MyCase staff member by their ID.

ParameterTypeDescription
staff_id *stringThe MyCase staff member ID.