MCP server safety grade
io.github.HeshamFS/mcp-tool-factory
Generate MCP servers from natural language, OpenAPI specs, or database schemas.
npx -y @heshamfsalama/mcp-tool-factory · npm @heshamfsalama/mcp-tool-factory 0.1.0 · score 90/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Builds and runs code at runtime
dist/index.cjs:5422message: "eval() is dangerous and can execute arbitrary code",
- Builds and runs code at runtime
dist/index.cjs:5423recommendation: "Avoid eval(); use safer alternatives like JSON.parse()"
- Builds and runs code at runtime
dist/index.cjs:5430message: "new Function() is dangerous and can execute arbitrary code",
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2025-12-30 |
| This version published | 2025-12-30 |
| Versions | 2 |
| Maintainers | 1 |
| Licence | MIT |
| Source repository | github.com/HeshamFS/mcp-tool-factory-ts |
| Runs scripts on install | No |
| Files in package | 31 (3,499 KB) |
| Web addresses in code | ai.google.dev api.weather.com docs.anthropic.com login.microsoftonline.com oauth2.googleapis.com openidconnect.googleapis.com platform.claude.com platform.openai.com |
Where we saw each capability (12 examples)
- Reads environment variables (where API keys usually live)
dist/cli/index.cjs:141return process.env[envVar] ?? null;
- Reads environment variables (where API keys usually live)
dist/cli/index.cjs:169if (process.env.CLAUDE_CODE_OAUTH_TOKEN) { - Reads environment variables (where API keys usually live)
dist/cli/index.cjs:172if (process.env.ANTHROPIC_API_KEY) { - Writes, moves or deletes files
dist/cli/index.cjs:709await promises.writeFile(path.join(outputPath, "src", "index.ts"), server.serverCode);
- Writes, moves or deletes files
dist/cli/index.cjs:710await promises.writeFile(path.join(outputPath, "tests", "tools.test.ts"), server.testCode);
- Writes, moves or deletes files
dist/cli/index.cjs:711await promises.writeFile(path.join(outputPath, "Dockerfile"), server.dockerfile);
- Makes network requests
dist/cli/index.cjs:997if (dep === "axios") { - Makes network requests
dist/cli/index.cjs:998imports.push("import axios from 'axios';"); - Makes network requests
dist/cli/index.cjs:1761"dependencies": ["axios", "lodash"]
- Runs shell commands or other programs
dist/cli/index.cjs:4532const { spawn } = await import('child_process'); - Runs shell commands or other programs
dist/cli/index.cjs:4555const { spawn } = await import('child_process'); - Runs shell commands or other programs
dist/index.cjs:5397pattern: "child_process\\.exec\\s*\\(",
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-heshamfs-mcp-tool-factory)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).