canada-parliament-mcp-server@0.2.1
CAUTION· install onlyPublisher claims: "Enables tracking of Canadian federal parliamentary records by searching bills, members, House divisions, and indexed Hansard speeches, then retrieving detailed dossiers, profiles, tallies, and full speech text from official public sources. Runs over STDIO or Streamable HTTP with no API key required." In our sandbox: Nothing executable in the bundle ran; the trace covers the install step only.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Behavior
In our sandbox run on 2026-11-16, [email protected] read no files and called no hosts, and its code names 5 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
API_KEY, CHANGELOG_PATH, GIT_PARAMS, HUSKY, SKILL_REFERENCE_PATH
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- use of the skill by an agent
| Run date | 2026-11-16 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try canada-parliament-mcp-server |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
API_KEYor--no-secretsConfiguration, not credentials: CHANGELOG_PATH, GIT_PARAMS, HUSKY, SKILL_REFERENCE_PATH- Where it talks to
- no vendor host named in the codeAlso ourcommons.ca, openparliament.ca, parl.ca, no-color.org, agent-plugins.org — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- use of the skill by an agent
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names ourcommons.ca, openparliament.ca, parl.ca, no-color.org, agent-plugins.org as well as its own vendor. The guard injects API_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-16 and scored it 56/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Instructs the agent to modify its persistent memory or instruction files; Instructs the agent to modify its persistent memory or instruction files; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
console.log(' uploading dist/*.mcpb (--clobber)…');Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.' then update the path in CLAUDE.md/AGENTS.md, .mcpbignore (/framework-skills/),',Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.'canada-parliament-mcp-server ([email protected]; https://github.com/cyanheads/canada-parliament-mcp-server)';Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.`must be the full package name "${fullName}" (the npx -y target; an unscoped arg for a scoped package 404s)`,Fix: Pin versions and sources; vendor anything fetched at install time.`${at} install arg is "${String(installArg(entry))}" — must be the full package name "${fullName}" (the npx -y target)`,Fix: Pin versions and sources; vendor anything fetched at install time.console.log(`Successfully generated and updated tree structure in: ${resolvedOutputFile}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.* command position only — `chown bun:bun`, `/root/.bun/`, and a quotedFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.* name while the `npx -y` install arg carries the full `package.json`Fix: Pin versions and sources; vendor anything fetched at install time.* - If `manifest.json` exists: `gh release upload v<version> --clobber dist/*.mcpb`Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.`Edit both files together, or run ${c.bold('cp CLAUDE.md AGENTS.md')} (or reverse) to resync.`,Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.console.log(`Output will be saved to: ${resolvedOutputFile}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.* `npx <identifier>@<version> <packageArguments>` with the entry'sFix: Pin versions and sources; vendor anything fetched at install time./** The `npx -y <pkg>` install target is the arg after the `-y` flag (args[1]). */Fix: Pin versions and sources; vendor anything fetched at install time.… a `skills/` and no `framework-skills/`: `git mv skills framework-skills`, then update every path reference — `CLAUDE.md`/`AGENTS.md`, `.mcpbignore` (`/skills/` → `/framework-skills/`), `.github/CONTRIBUTING.md` …Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.…iles — needs a root-anchored line there, while every runtime asset stays. Never write one unanchored: `docs/` or `CLAUDE.md` also strips the same name inside `node_modules/`. `lint:packaging` names each …Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.…vers that need the knob set `MCP_LINT_CANVAS_CONSUMERS=my_query_tool` in their `.env` or CI environment. --- ## Resource rules ### uri-template-required **Sever…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.### 4. `.env.example`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ons** (template changes, new config keys, renamed env vars) — adopt and update `.env.example`, server config schema, `server.json`, and README if user-facing. A new…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.rm -f /tmp/<project-name>-field-test-<ID>.shFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.… set — `z.stringbool()` rejects `''` with `Invalid option`. What makes a blank `.env` line take the default is the normalization layer described under **Unset means…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.kill "$pid" $kids 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.rm -rf /tmp/<project-name>-field-test-<ID>-appsFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…d to `package.json`, update the commands table ### 4. `.env.example` Compare `.env.example` against the server config Zod schema. Add any missing server-specific …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- [ ] `CANVAS_PROVIDER_TYPE=duckdb` set in `.env`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ss public ``` `bun publish` uses whatever npm auth the user has configured in `~/.npmrc`. If 2FA is enabled on the npm account, the command will prompt for an OTP or o…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- [ ] `.env.example` in sync with server config schemaFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.kill -0 "$pid" 2>/dev/null || breakFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.3. **Sub-agent prompts must restate the no-git-write and no-`stash` rules verbatim.** The orchestrator's `CLAUDE.md`/`AGENTS.md` rules aren't visible to sub-agents at prompt time.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.…--hard`, no `git restore .`, no `git clean -f`, no `git checkout -- .`.** These bypass safety and risk silent data loss. Read-only git (`status`, `diff`, `log`, `show`, `bla…Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.const r2Env = { ...env, STORAGE_PROVIDER_TYPE: 'cloudflare-r2' };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…`mcp.resource.error_code`, `mcp.resource.input_required` | | `prompt_generation:<prompt>` | every prompt handler | `mcp.prompt.input_bytes`, `mcp.prompt.output_bytes`, …Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…hare a file with the version — a dependency refresh edits `package.json`, a doc edit lands in a `CLAUDE.md`/`AGENTS.md` that pins a version string — and the file is the atomic boundary, so whichever…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.- `.env.example` — placeholder values only, never real?Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…anada-parliament-mcp-server", "license": "Apache-2.0", "keywords": ["mcp", "mcp-server", "model-context-protocol", "canada", "parliament", "house-of-commons", "legisinfo", "openparliament", "hansard", "bills", "legislation", "votes", "type…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.…e cwd directory name. If that's not what you want as the published server name, update `package.json`, `CLAUDE.md`/`AGENTS.md`, and `server.json` to your actual server name. 5. **Populate the publishing id…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.…pping both keeps the project agent-agnostic, and they're cheap to hold in sync: edit one, then `cp CLAUDE.md AGENTS.md` (the framework keeps its own pair byte-identical the same way, enforced by `ch…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.':(glob)**/.netrc',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…erator configuration (`*_BASE_URL`, API keys, ports) belongs in the README and `.env.example`, not here — the agent cannot act on it. - **Length outliers** — a desc…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`${f} "${unscopedName}".env.${key} is "" — Codex starts stdio servers with a whitelisted ` +Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.':(glob)**/*.env*',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose..env.example # Copy to .env and fill inFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…anada-parliament-mcp-server", "license": "Apache-2.0", "keywords": ["mcp", "mcp-server", "model-context-protocol", "canada", "parliament", "house-of-commons", "legisinfo", "openparliament", "hansard", "bills", "legislation", "votes", "type…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.// `.env.d/`).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- `docs(setup): .env.example missing REDIS_URL`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.':(glob)**/*.env*/**',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.| **npm granular access token** with "Bypass 2FA for publish" | Generate at npmjs.com → replace `_authToken` in `~/.npmrc` → no OTP prompt at all |Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const env = manifest.server?.mcp_config?.env ?? {};Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.ctx.log.info('Processing', { /* relevant input fields */ });Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.- [ ] Quick sanity pass: `bun audit`, lifecycle scripts, `.env.example`, config validation, new-dep provenanceFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// Success if output is empty OR only contains safe files: `.env` templatesFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const where = `${at}.env.${name}`;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…ces */], prompts: [{{PROMPT_EXPORT}}], }); ``` If the repo already uses `src/mcp-server/prompts/definitions/index.ts`, add the prompt to that barrel the way it holds the existing ones — it must end up in the array passed to `createApp()`. …Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.ctx.log.debug('Processing', { input });Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.`${at}.env differs from .codex-plugin/mcp.json "${unscopedName}".env at ${differing.join(', ')} — keep ` +Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…stall the handler or fail it. The caller's `data` object is never modified. `ctx.log.error` adds `error: <message>`. `message` and `error` are reserved wire keys, written after `data`: a `message` in `data` never replaces the log line on t…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…s, errors, or is cancelled, so a stalled stream rejects the caller's `.text()`/`.json()` with the same `Timeout` error the header phase raises. `status`, `statusText`, `headers`, `url`, `redirected`, and `type` carry across the wrapper; th…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.kill "$pid" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…key, `interface.displayName`) must be the **unscoped** machine name, while the `npx -y` install arg must be the full `package.json` `name` (scoped if scoped) — and the…Fix: Pin versions and sources; vendor anything fetched at install time.if kill -0 "$pid" 2>/dev/null; thenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if ! kill -0 "$pid" 2>/dev/null; thenFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.…dit --description`) - `package.json` `keywords` include baseline terms: `mcp`, `mcp-server`, `model-context-protocol`, `typescript`, `bun`, `stdio`, `streamable-http`, plus data-domain terms. GitHub repo topics (`gh repo edit --add-topic`)…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.…quired env vars. ### 2. README.md **Read the gold standard first: the `pubmed-mcp-server` README** — https://github.com/cyanheads/pubmed-mcp-server/blob/main/README.md (or `../pubmed-mc…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.- `Context` properties (`ctx.log`, `ctx.state`, `ctx.inputs`, etc.) behave contrary to docsFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.… tool never registers and the model never sees it. Field report: [cyanheads/git-mcp-server#47](https://github.com/cyanheads/git-mcp-server/issues/47) (`gpt-5-codex` rejecting `for…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.…t.json`. Verify the inline `mcpServers` entry key is the unscoped name and its `npx -y` install arg is the full `package.json` `name`. Every user-supplied variable is …Fix: Pin versions and sources; vendor anything fetched at install time.If no `Dockerfile` exists and the server is deployed via HTTP transport, consider scaffolding one — the template is available via `npx @cyanheads/mcp-ts-core init`.Fix: Pin versions and sources; vendor anything fetched at install time.4. **Check logs** — review `ctx.log` output and any framework telemetry for clues. If running HTTP, check the response body for structured error details.Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.| `ctx.state`, `ctx.log`, `ctx.inputs` behave wrong on any tool | Yes | |Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…ed variables, commented-out code, and debug leftovers from the session (`console.log`, `print`, `debugger`) that aren't the program's real output or the project's logger. An export nothing imports is dead in an application or…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…ting the session mode is the opt-in — with `MCP_HTTP_RESUMABILITY=false` as the kill switch and retention capped by both event count and TTL (`api-config` has the kn…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.… exists, verify the server-name key is the unscoped `package.json` `name`, the `npx -y` install arg is the full `package.json` `name`, `env` carries only fixed values …Fix: Pin versions and sources; vendor anything fetched at install time.ctx.log.info('Processing query', { query: input.query });Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.… a browser path | No usable `chrome-headless-shell`. With the user's go-ahead, `npx @puppeteer/browsers install chrome-headless-shell@stable --path ~/.cache/puppeteer` (without `--pat…Fix: Pin versions and sources; vendor anything fetched at install time.…und-trip retries land on any isolate.** Each 2026-07-28 request builds its own `McpServer`, and the retry after an `input_required` result can be routed to a different isolate. Set `MCP_REQUEST_STATE_KEY` (≥ 32 bytes) as a Worker secret — …Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.ctx.log.info('Processing', { /* relevant input fields */ });Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…ndler, so the default disposition terminates immediately — the operator's force-kill escape hatch. Neither path writes to stdout. **The drain is bounded.** Shutdown…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…}], prompts: [/* existing prompts */], }); ``` If the repo already uses `src/mcp-server/resources/definitions/index.ts`, add the resource to that barrel the way it holds the existing ones — it must end up in the array passed to `createApp(…Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.…on and accessor. Service methods receive `Context` for correlated logging (`ctx.log`) and tenant-scoped storage (`ctx.state`). Convention: `ctx.requestInput` should only be called from tool, resource, and prompt handlers, not from servi…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…ions step — reads `lint.truncationAllowlist` from the project's `devcheck.config.json` and forwards it as `LintInput.truncationAllowlist`. One declaration covers every entrypoint that shells out t…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.… installed mcp-ts-core version from `node_modules/@cyanheads/mcp-ts-core/package.json` (not the `^` range), the runtime with its version (`bun --version`), the transport, and the OS. Description is two or three sentences; the reproduction …Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…-core`. Covers the full interface, its `RequestContext` base, all sub-APIs (`ctx.log`, `ctx.state`, `ctx.requestInput`, `ctx.inputs`, `ctx.clientCapabilities`, `ctx.enrich`, `ctx.content`), and when to use each…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…lds. `Environment` is the form's one-row table: the server version from `package.json`, the installed mcp-ts-core version from `node_modules/@cyanheads/mcp-ts-core/package.json` (not the `^` range), the runtime with its version (`bun --ver…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…romises a normalization ("case-insensitive", "whitespace trimmed", "a trailing `.json` is stripped"), the schema performs it before the pattern check (`z.string().trim().toUpperCase().regex(…)`, or a pattern that admits the raw form) — a n…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.- `package.json` — `postinstall` / lifecycle scripts on added deps?Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.UI.log(`\n${c.bold(c.red('🛑 Found issues. Please review the output above.'))} ${timeStr}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why."bundle": "bun run build && npx -y @anthropic-ai/mcpb pack . dist/canada-parliament-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/canada-parliament-mcp-server.mcpb",Fix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
24 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Text that tells the agent to ignore its instructions≈ +9 on the totalDelete phrases like "ignore previous instructions", "override", "bypass" from SKILL.md and tool descriptions. Describe what the skill does; do not instruct the agent about other rules.
- Asks the agent to act silently or skip confirmation≈ +8 on the totalRemove "do not tell the user", "without asking", "disable safety" and similar. An agent skill should never ask to be invisible.
- Unclaimed publisher≈ +8 on the totalClaim cyanheads: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.