Atlas / MCP servers / albert-canfield / apitame

apitameBLOCK

mcp/albert-canfield/apitame

Turn any OpenAPI spec or SQL database into a safe MCP server plus agent skills. One command.

Verdict
BLOCK
Grade
F
Trust score
54 /100
Exposed tools
14 9r · 4w · 1d
Transport
stdio · streamable-http
License
MIT
Stars
0
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

apitame

Turn any OpenAPI spec or SQL database into a safe MCP server, plus agent skills. One command.

npx apitame init ./openapi.yaml          # or an API URL, postgres://..., mysql://..., ./shop.db
npx apitame add-to claude-code --write   # or codex, cursor, vscode, gemini, claude-desktop

That is the whole setup. Your agent now has a small set of task-level tools for the API, read-only by default, plus a skill that teaches it how to use them.

Why apitame

Giving an agent an API is easy. Giving it one safely, without flooding its context, is not. Most generators map every endpoint to a tool and expose every write operation. apitame makes the opposite choices:

  • Safe by default. Read-only out of the box. Writes need mode: read-write and an explicit allowlist. Destructive operations stop for human approval. Every write has a dry run.
  • A curated tool surface. Endpoints are grouped into a handful of task-level tools, with search_operations and call_operation for the long tail. The GitHub example goes from 38 endpoints to 8 tools
Read from source at commit 1f74004cb1f5OBSERVED · 2026-10-14
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add apitame --env APITAME_HTTP_TOKEN=${APITAME_HTTP_TOKEN} --env LIVE_TEST_TOKEN=${LIVE_TEST_TOKEN} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "apitame": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "APITAME_HTTP_TOKEN": "${APITAME_HTTP_TOKEN}",
        "LIVE_TEST_TOKEN": "${LIVE_TEST_TOKEN}"
      }
    }
  }
}
03

Exposed tools (14)

9 read · 4 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
areadb
archive_orderwriteArchive one order
cancel_orderwriteCancel one order
describe_tablereadColumns, types, primary key, foreign keys and indexes of one table.
getPetByIdreadFind pet by ID
list_tablesreadList tables and views in the ${engine} database${this.sourceType ===
missing_paramreadUses an undeclared parameter
orders_by_statusreadOrders with a status
purge_cancelleddestructiveDelete cancelled orders items
qreadd
querywriteRun one read-only SELECT in ${engine} SQL. Returns at most ${limit} rows. Writes, multiple statements and side-effect functions are refused.
sneakyreadLooks like a read
touch_orderwriteTouch one order
type_ofreadThe SQL type a value is bound as
04

Trust audit

BLOCKgrade F · trust 54/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (6 observation(s))
Network
declared (3 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.env.example:13
# DATABASE_URL=postgres://apitame_ro:password@localhost:5432/shop
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
src/mock/server.ts:109
url: `http://127.0.0.1:${port}${basePath}`,
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/ci.yml:73
APITAME_TEST_POSTGRES_URL: postgres://postgres:[email protected]:5432/postgres
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/ci.yml:74
APITAME_TEST_MYSQL_URL: mysql://root:[email protected]:3306/mysql
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
README.md:59
npx apitame init postgres://readonly_user:password@localhost:5432/shop
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
README.md:60
npx apitame init mysql://readonly_user:password@localhost:3306/shop
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/integration/openapi-runtime.test.ts:7
const SECRET = 'live-secret-token-0123456789';
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/unit/redaction-paths.test.ts:5
const SECRET = 'fake-key-ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/unit/redaction-paths.test.ts:79
echo: { token: 'unregistered-9f8e7d6c' },
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
purge_cancelled
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierignore
.prettierignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierrc.json
.prettierrc.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/add-to.ts:4
import { loadConfig } from '../../config/load.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/add-to.ts:5
import { zip } from '../../generator/zip.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/add-to.ts:6
import { loadSkills } from '../../server/skills.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/add-to.ts:7
import { VERSION } from '../../version.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/cli/commands/doctor.ts:4
import { envRefs, loadDotEnv } from '../../config/env.js';
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:154
Prefer HTTP? `npx apitame serve --transport http` listens on `http://127.0.0.1:3333/mcp` (add `--sessions` so destructive actions are approved in the client). More in [docs/clients.md](docs/clients.md
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/cli.md:41
apitame serve --transport http --port 3333     # streamable HTTP on http://127.0.0.1:3333/mcp
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/clients.md:137
# MCP endpoint: http://127.0.0.1:3333/mcp, health check: http://127.0.0.1:3333/health
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/clients.md:140
Claude Code: `claude mcp add --transport http github http://127.0.0.1:3333/mcp`.
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/node, @modelcontextprotocol/server, @readme/openapi-parser, ajv, commander, mysql2, pg, yaml
Why it matters. 24 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.override · CWE-94, CWE-1427
docs/safety.md:189
- **Prompt injection in data.** apitame does not filter what an API or table returns. If a record says "ignore previous instructions", the agent sees it. The safety layers make sure such instructions
Why it matters. asks the agent to drop prior instructions or safety
Fix. remove the instruction
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
docs/landscape.md:11
| [PrefectHQ/fastmcp](https://github.com/PrefectHQ/fastmcp) (`FastMCP.from_openapi`) | 28,067 | 2026-10-13 | Python | Runtime proxy inside a Python framework. Every route becomes a tool by default; `R
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
docs/landscape.md:14
| [harsha-iiiv/openapi-mcp-generator](https://github.com/harsha-iiiv/openapi-mcp-generator) | 639 | 2026-09-26 | TypeScript | Codegen: scaffolds a Node project with one tool per operation and zod vali
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: no_behavioural_pass.

Audited 2026-10-14 · audit v0.4.1 · source sha 1f74004cb1f5full audit observations/trust-audit/mcp-server/albert-canfield__apitame.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-141f74004cb1f5BLOCKF54first audit
06

Questions

What is the apitame MCP server?

Turn any OpenAPI spec or SQL database into a safe MCP server plus agent skills. One command.

What tools does apitame expose?

14 in total: 9 read-only, 4 that write, and 1 that can delete or overwrite (purge_cancelled). Every one is listed on this page with its risk.

Is apitame safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (54/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does apitame need?

It reads APITAME_HTTP_TOKEN and LIVE_TEST_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does apitame run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as apitame at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (1f74004cb1f5), read on 2026-10-14. The repository is watched and re-audited when it changes.

Advertisement