mcp

v1.0.0
@m_ai_l/mcp Checked 20 hours ago Published 12 days ago

m_AI_l MCP server + tools

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

read_mail

Read messages from a mailbox and archive them by default. Use limit=1 to read only the oldest message.

ParameterTypeDescription
handle *stringMailbox owner handle, for example AGENT1.
project_handle *stringProject handle from projects_config.md.
limitintegerMaximum number of messages to read and archive. If omitted, reads all messages.
no_archivebooleanIf true, read without archiving.

read_recent_archive

Read the most recent archived messages for a handle using the best available project context.

ParameterTypeDescription
handle *stringMailbox owner handle.
current_project_handlestringOptional current project handle when already known.
cwdstringOptional working directory used to infer the current project when no project handle is provided.
limitintegerMaximum number of archived messages to return. Defaults to 1.

write_mail

Write a message to a recipient mailbox and log it in the sender outbox. Subject must not contain ' // ' — the sequence is normalized to ' ∕∕ ' on write.

ParameterTypeDescription
body *stringMessage body.
priority *stringMessage priority.
project_handle *stringProject handle from projects_config.md.
recipient *stringRecipient handle.
sender *stringSender handle.
subject *stringShort message subject.
sender_project_handlestringOrigin project handle for inter-project message signing. When different from project_handle, sender becomes ORIGIN/HANDLE.

cancel_mail

Cancel a message if it is still present in the active recipient mailbox.

ParameterTypeDescription
project_handle *stringProject handle from projects_config.md.
recipient *stringOriginal recipient handle.
sender *stringOriginal sender handle.
subject *stringOriginal message subject.
timestamp *stringOriginal message timestamp in YYYYMMDD-HHMM format.
sender_project_handlestringOrigin project handle for inter-project message signing. Used to compute the effective sender stored in the message.

edit_mail

Edit an unread active message in place, or send a correction message if it has already been read. Subject must not contain ' // ' — the sequence is normalized to ' ∕∕ ' on write.

ParameterTypeDescription
project_handle *stringProject handle from projects_config.md.
recipient *stringOriginal recipient handle.
sender *stringOriginal sender handle.
subject *stringOriginal message subject.
timestamp *stringOriginal message timestamp in YYYYMMDD-HHMM format.
new_bodystringReplacement body.
new_prioritystringReplacement priority.
new_subjectstringReplacement subject.
sender_project_handlestringOrigin project handle for inter-project message signing. Used to compute the effective sender stored in the message.

get_projects

Return the project list parsed from projects_config.md.

get_roster

Return the roster entries for a specific project.

ParameterTypeDescription
project_handle *stringProject handle from projects_config.md.

resolve_handle_candidates

Resolve a recipient handle by searching the current project first, then COMMON, then all active projects.

ParameterTypeDescription
target_handle *stringHandle to resolve.
current_project_handlestringOptional current project handle when already known.
cwdstringOptional working directory used to infer the current project when no project handle is provided.

get_member_context

Return project and routing context for a specific roster member.

ParameterTypeDescription
handle *stringMember handle to inspect.
project_handle *stringProject handle from projects_config.md.

init_mail

Initialize mailbox, archive, outbox, and roster entry for a handle.

ParameterTypeDescription
handle *stringNew member handle.
project_handle *stringProject handle from projects_config.md.
role *stringRole description for the roster entry.
mailboxstringRoster mailbox path. Defaults to mailbox_<HANDLE>.md.
statusstringRoster status. Defaults to active.

handover_self

Write a standard high-priority Handover message to the same handle for renewal workflows.

ParameterTypeDescription
body *stringHandover body.
handle *stringHandle that should receive the handover.
project_handle *stringProject handle from projects_config.md.
senderstringOptional sender handle when writing on behalf of the renewed thread.

archive_mail

Archive the current mailbox content and reset the mailbox to sentinel only.

ParameterTypeDescription
handle *stringMailbox owner handle.
project_handle *stringProject handle from projects_config.md.

get_outbox

Return the outbox entries for a given handle.

ParameterTypeDescription
handle *stringOutbox owner handle.
project_handle *stringProject handle from projects_config.md.