mcp
v0.2.0Local STDIO MCP server for authorized Aproow Investigation context.
Local STDIO MCP server for authorized Aproow Investigation context. It connects compatible coding agents to Aproow API over HTTPS. It has no repository, filesystem, shell, Git, edit, or test tools. The MCP process must be launched with outbound network access for its own HTTPS requests. Some coding clients sandbox child processes and disable DNS or network access by default; enable network access for the MCP server entry (or use the Aproow local launcher, which grants network access to the MCP subprocess while retaining the repository sandbox).
Summary extracted from the README.
@aproow/mcp
Local STDIO MCP server for authorized Aproow Investigation context. It connects compatible coding agents to Aproow API over HTTPS. It has no repository, filesystem, shell, Git, edit, or test tools.
The MCP process must be launched with outbound network access for its own HTTPS requests. Some coding clients sandbox child processes and disable DNS or network access by default; enable network access for the MCP server entry (or use the Aproow local launcher, which grants network access to the MCP subprocess while retaining the repository sandbox).
Connect MCP and install the companion skills together:
npx -y @aproow/mcp setup claude
# or
npx -y @aproow/mcp setup codex
The setup command is repeatable: it checks the client's current MCP entry,
adds it if absent, and installs aproow-fix, aproow-plan, aproow-open,
aproow-list, and aproow-status as user skills. Existing edited skills are never replaced. Claude
keeps its default project-local MCP scope while skills are installed for the
user; Codex uses the user's existing legacy skill folder when one already
contains an Aproow skill, otherwise ~/.agents/skills. Restart the agent after
setup. Other MCP clients can still use the manual configuration below; they do
not receive Claude/Codex skills automatically.
Build and run from this monorepo:
pnpm --filter @aproow/mcp build
node apps/mcp/dist/server.js
Starting the STDIO server does not open a browser. Run pnpm --filter @aproow/mcp pair or use Workspace Settings → MCP → Connect MCP to open the
authenticated Aproow Web pairing page. A tool call also pairs lazily if needed. The resulting
workspace-scoped seven-day MCP credential is stored in the platform config
directory as session.json; the directory and file use 0700 and 0600
permissions where supported. Override the exact directory with
APROOW_MCP_CONFIG_DIR. By default the published package uses
https://api.aproow.com. A loopback APROOW_API_URL requires the explicit
APROOW_MCP_MODE=local opt-in; a legacy localhost-only override is safely
ignored, reported on STDERR with the effective production origin, and its
localhost session is replaced at the next pairing. HTTPS overrides remain
available for explicitly configured non-production deployments.
Example client configuration after building:
{
"mcpServers": {
"aproow": {
"command": "node",
"args": ["/absolute/path/to/apps/mcp/dist/server.js"],
"env": {
"APROOW_API_URL": "http://127.0.0.1:3001",
"APROOW_MCP_MODE": "local"
}
}
}
}
Do not put an MCP token in client arguments or environment variables. Pairing and local restricted storage handle it. Captured evidence is untrusted data and cannot instruct the MCP server to read or upload repository source or secrets.
aproow.list_investigations returns the same stable workspace-scoped reference
shown in Aproow Web, for example B12. Pass that value as investigationId to
aproow.get_investigation, evidence/transcript tools, and work-reporting tools.
Internal UUIDs remain accepted for compatibility. A reference is resolved only
inside the workspace selected during pairing; MCP never accepts a workspace
selector.
For a local end-to-end STDIO smoke check after building, with the API and local PostgreSQL running:
DATABASE_URL=postgresql://factoriality@127.0.0.1:55432/aproow \
pnpm --filter @aproow/mcp validate:local
The smoke check reads existing tenant-authorized Investigation data with a developer prompt, transcript, and screenshot (using two Investigations when no single local fixture has all three). It also verifies foreign-workspace denial and the complete safe start/status/result flow, then removes the exact temporary work events, sessions, and configs. It never prints evidence text or credentials.
aproow.submit_plan accepts repositoryFullName: null and commitSha: null for an unversioned local folder. Never send the local absolute path or invent a revision.