@slaw-ai/mcp-server
v2026.611.1
Published
Model Context Protocol server for Slaw.
Readme
Slaw MCP Server
Model Context Protocol server for Slaw.
This package is a thin MCP wrapper over the existing Slaw REST API. It does not talk to the database directly and it does not reimplement business logic.
Authentication
The server reads its configuration from environment variables:
SLAW_API_URL- Slaw base URL, for examplehttp://localhost:3100SLAW_API_KEY- bearer token used for/apirequestsSLAW_SQUAD_ID- optional default squad for squad-scoped toolsSLAW_AGENT_ID- optional default agent for checkout helpersSLAW_RUN_ID- optional run id forwarded on mutating requests
Usage
npx -y @slaw-ai/mcp-serverOr locally in this repo:
pnpm --filter @slaw-ai/mcp-server build
node packages/mcp-server/dist/stdio.jsTool Surface
Read tools:
slawMeslawInboxLiteslawListAgentsslawGetAgentslawListIssuesslawGetIssueslawGetHeartbeatContextslawListCommentsslawGetCommentslawListIssueApprovalsslawListDocumentsslawGetDocumentslawListDocumentRevisionsslawListProjectsslawGetProjectslawGetIssueWorkspaceRuntimeslawWaitForIssueWorkspaceServiceslawListGoalsslawGetGoalslawListApprovalsslawGetApprovalslawGetApprovalIssuesslawListApprovalComments
Write tools:
slawCreateIssueslawUpdateIssueslawCheckoutIssueslawReleaseIssueslawAddCommentslawSuggestTasksslawAskUserQuestionsslawRequestConfirmationslawUpsertIssueDocumentslawRestoreIssueDocumentRevisionslawControlIssueWorkspaceServicesslawCreateApprovalslawLinkIssueApprovalslawUnlinkIssueApprovalslawApprovalDecisionslawAddApprovalComment
Escape hatch:
slawApiRequest
slawApiRequest is limited to paths under /api and JSON bodies. It is
meant for endpoints that do not yet have a dedicated MCP tool.
