# Agent Signal Lab — 12 November 2026
## Try mcpc: inspect a local MCP server before trusting its tools

**Tool:** [apify/mcpc](https://github.com/apify/mcpc) — [v0.8.0, released 4 November 2026](https://github.com/apify/mcpc/releases/tag/v0.8.0), Apache-2.0. **Status: SOURCE-REVIEWED / NOT EXECUTED.** The authoring run reviewed the maintainer README and pinned release. It did **not** install packages, launch a local MCP server, run commands, make model calls, benchmark anything or start an Actions experiment. Everything below is an optional reader exercise.

### Goal and why

An agent's MCP integration should be based on tools the server **actually advertises**, not names guessed from documentation. Connect the `mcpc` CLI to a disposable, local-only filesystem MCP server, enumerate its tools and inspect a directory you deliberately exposed. This is a tool-contract exercise, not a model benchmark or security audit.

### Prerequisites and cost

- Personal macOS/Linux scratch environment with Node.js and npm; basic shell, ~15–25 minutes and optional network for open-source npm package downloads. Node/npm versions must satisfy the pinned package's own constraints (read package metadata first).
- No accounts, hosted model, paid plan, API keys, credentials or remote MCP servers. Do not use organizational/work data or a sensitive home directory.
- `mcpc` and the community `@modelcontextprotocol/server-filesystem` package are open source. Inspect dependency/package provenance before you install. The latter is used only in an optional local, sandboxed process.
- **Publishing today's report happens entirely in GitHub Actions; this lab never requires the subscriber's or owner's computer.**

### Optional hands-on instructions

Start in a disposable shell, not an untrusted cloned project. The following is designed for bash/zsh and explicitly names a local config, rather than auto-connecting any MCP files in your workspace:

```sh
mkdir -p "$HOME/agentsignal-mcpc-lab"
printf 'Hello, local MCP.\n' > "$HOME/agentsignal-mcpc-lab/sample.txt"

# Inspect the package/release and its dependencies first. Then, only if you choose:
npm install -g @apify/mcpc@0.8.0
mcpc --version

# Review this explicit server command and its folder restriction.
cat > "$HOME/agentsignal-mcpc-lab/mcp-config.json" <<EOF
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "$HOME/agentsignal-mcpc-lab"]
    }
  }
}
EOF

mcpc connect "$HOME/agentsignal-mcpc-lab/mcp-config.json:filesystem" @lab
mcpc @lab tools-list
mcpc --json @lab tools-list
mcpc @lab tools-call list_directory "path:=$HOME/agentsignal-mcpc-lab"
mcpc close @lab
```

The `npx` invocation can fetch dependencies and then launches a server **only when you run it**. For stronger supply-chain reproducibility, pin a reviewed filesystem-server version instead of its default latest. Do not change the config to a directory that contains secrets. The `mcpc` session is persistent until closed; be sure to call `mcpc close @lab`.

### Expected output (not a measured run)

Based on the project README: `mcpc --version` reports the installed CLI version; `tools-list` lists filesystem-server tools such as `list_directory`; the directory call should contain `sample.txt` and `mcp-config.json`; `--json` should produce parsable JSON for scripting. Actual tool names, output envelope, permissions and errors depend on the separate filesystem server package version. **These are expectations, not results observed in this publication.**

### Evidence and scoring

Do not prefill scores. Award one point each (0–6) only if your own run demonstrates: (1) correct pinned mcpc CLI version, (2) successful local handshake without remote credentials, (3) an actual tools list, (4) parseable JSON tools listing, (5) directory listing limited to the designated scratch folder, (6) clean session closure. Save only scrubbed CLI output, package versions, exit codes and your config, with no private paths or tokens.

### Troubleshooting and boundaries

- `mcpc: command not found`: inspect your npm global bin directory and PATH; do not blindly change system shell settings.
- A failed connection may mean `npx` cannot fetch the reviewed server package, Node is incompatible or the config file path is wrong. Inspect `mcpc` logs and the server's stderr, not just an agent's summary.
- An unknown `list_directory` tool indicates server-version drift; inspect `tools-list` and `tools-get` before changing the command.
- Avoid bare `mcpc connect` in cloned repositories; project configs may reference unexpected servers or environment variables. Review explicitly named configs.
- A local filesystem MCP server can read the path you grant. Use a throwaway directory and **no secrets, personal files or work credentials**.
- Passing all six checks proves only that one local session behaved as recorded; it does **not** establish the server is safe, that your model respects tool boundaries, or that paid inference was avoided in other applications.

**Result label:** Documentation-verified steps, **not run in Agent Signal's publication**. Source: [mcpc README](https://github.com/apify/mcpc), [v0.8.0 release](https://github.com/apify/mcpc/releases/tag/v0.8.0).
