
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
@mcpolyglot/cli
Advanced tools
mcpolyglot command-line interface. Initializes config, serves the MCP server (stdio or HTTP), and validates connectivity.
The mcpolyglot command-line interface. Scaffolds a config, validates connectivity, lists tools, and serves the MCP server over stdio or Streamable HTTP.
npx @mcpolyglot/cli init # interactive wizard
npx @mcpolyglot/cli doctor # validate config, ping sources, list tools
npx @mcpolyglot/cli tools # list tools mcpolyglot would expose
npx @mcpolyglot/cli serve # start the MCP server (stdio)
npx @mcpolyglot/cli serve --http --port 7337 # start over Streamable HTTP
| Command | Purpose |
|---|---|
init | Interactively scaffold an mcpolyglot.config.ts in the current directory. |
doctor | Load + validate config, resolve secrets, ping each source, list tools. |
tools | Print every tool mcpolyglot would expose for the current config. |
serve | Start the server. --http flips to Streamable HTTP with bearer auth. |
token | token create <agentId> mints a per-agent token; token hash hashes one. |
serve --http prints the bearer token, MCP URL, and /healthz URL on stderr. Pin the token in your config (transport.auth.token) for stable deployments; omit it to mint a fresh token on each start.
Give each agent its own token, sources and scopes. Tokens are stored only as sha256 hashes:
mcpolyglot token create analyst # prints the token once, its hash, and a config snippet
echo -n "$TOKEN" | mcpolyglot token hash
agents: [
{
id: 'analyst',
tokens: [{ hash: '<sha256 hex>', label: '2026-09' }],
scopes: ['schema:read', 'tables:read', 'query:raw'],
sources: { 'pg.main': { policy: { tables: { users: 'none' } } } },
},
],
scopes defaults to, and is capped at, the union of those sources' scopes.policy can only narrow the source's policy: per table the most restrictive access wins, deny lists are combined, and caps take the smaller value. An agent can't re-open a table the source hides or gain writes the source doesn't grant. The reverse also holds: a table the agent's policy doesn't list falls to its defaultAccess (at most read), so an agent that should keep a source's write access must list that table as write again. It gets its own connector, so its own DB connection; sources listed without a policy share the main one.agentId; the x-mcpolyglot-agent header is ignored when agents is set. Unknown or revoked tokens get 401.revoked: true on the old one (or delete it), restart serve. There is no hot reload.agents needs bearer auth (not OAuth) and is ignored under stdio (single local user). doctor lists what each agent can and can't use.Stdio servers must keep stdout clean, so all CLI output goes to stderr.
MIT licensed.
FAQs
mcpolyglot command-line interface. Initializes config, serves the MCP server (stdio or HTTP), and validates connectivity.
The npm package @mcpolyglot/cli receives a total of 55 weekly downloads. As such, @mcpolyglot/cli popularity was classified as not popular.
We found that @mcpolyglot/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.