Atlas / MCP servers / jktfe / ServeMyAPI

ServeMyAPISAFE

mcp/jktfe/servemyapi
Verdict
SAFE
Grade
B
Trust score
88 /100
Exposed tools
4 3r · 0w · 1d
Transport
sse · stdio
License
—
Stars
25
01

Overview

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

[](https://smithery.ai/server/@Jktfe/servemyapi)

A personal MCP (Model Context Protocol) server for securely storing and accessing API keys across projects using the macOS Keychain.

🔒 SECURITY FIRST: ServeMyAPI is designed to run LOCALLY on your machine. API keys are NEVER transmitted over the internet and should NEVER be deployed to cloud services. Read the critical security guidelines before using.
Cross-Platform Support: ServeMyAPI now includes a storage abstraction layer that enables support for multiple platforms: - macOS: Uses the native Keychain (default) - Windows/Linux: Uses encrypted file storage - Docker: Automatically uses encrypted file storage - Memory: Available for testing and temporary storage

Overview

ServeMyAPI allows you to store API keys securely in the macOS Keychain and access them through a consistent MCP interface. This makes it easy to:

  • Store API keys securely (they're never visible in .env files or config files)
  • Access the same keys across multiple projects
  • Use natural language to store and retrieve keys (when used with LLMs like Claude)
  • Provide keys directly to your AI assistant when it needs to access services

Why ServeMyAPI over .ENV Files?

Using ServeMyAPI instead of traditional .ENV files solves several common problems:

  1. GitHub Security Conflicts:
  2. .ENV files need to be excluded from Git repositories for security (via .gitignore)
  3. This creates a "hidden context" problem where important configuration is invisible to collaborators and LLMs
  4. New developers often struggle with setting up the correct environment variables
  1. LLM Integration Challenges:
  2. LLMs like Claude can't directly access your .ENV files due to security constraints
  3. When LLMs need API keys to complete tasks, you often need manual workarounds
  4. ServeMyAPI lets your AI a
Read from source at commit 7f5e0ff020edOBSERVED · 2026-10-09
Advertisement
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 servemyapi --env AUTH_KEY=${AUTH_KEY} --env ENCRYPTION_KEY=${ENCRYPTION_KEY} --env JWT_SECRET=${JWT_SECRET} --env SERVEAPI_AUTH_KEY=${SERVEAPI_AUTH_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "servemyapi": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "AUTH_KEY": "${AUTH_KEY}",
        "ENCRYPTION_KEY": "${ENCRYPTION_KEY}",
        "JWT_SECRET": "${JWT_SECRET}",
        "SERVEAPI_AUTH_KEY": "${SERVEAPI_AUTH_KEY}"
      }
    }
  }
}
03

Exposed tools (4)

3 read · 0 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
delete-api-keydestructiveDelete an API key from the secure keychain
get-api-keyreadRetrieve an API key from the secure keychain
list-api-keysreadList all stored API keys
store-api-keyreadStore an API key in the secure keychain
04

Trust audit

SAFEgrade B · trust 88/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

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

What the source does

Filesystem
declared (2 observation(s))
Network
declared (2 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (13)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete-api-key
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.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tests/mcp/tools.test.ts:13
jest.unstable_mockModule('../../services/keychain.js', () => ({
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tests/mcp/tools.test.ts:18
'../../mcp/tools.js'
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tests/middleware/api-key-auth.test.ts:13
jest.unstable_mockModule('../../services/api-key-manager.js', () => ({
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tests/middleware/api-key-auth.test.ts:16
jest.unstable_mockModule('../../services/auth.js', () => ({
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tests/middleware/api-key-auth.test.ts:20
const { apiKeyAuth } = await import('../../middleware/api-key-auth.js');
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @types/cookie-parser, @types/express, @types/helmet, @types/jsonwebtoken, @types/node, cookie-parser, express
Why it matters. 22 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
CLAUDE.md:6
serveMyAPI is a Model Context Protocol (MCP) server that securely stores and manages API keys using the macOS Keychain. It provides a unified interface for AI assistants to access credentials across p
Why it matters. asks the agent to read credentials
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
MASTERCLAUDE.md:6
serveMyAPI is a Model Context Protocol (MCP) server that securely stores and manages API keys using the macOS Keychain. It provides a unified interface for AI assistants to access credentials across p
Why it matters. asks the agent to read credentials
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
README.md:34
- LLMs like Claude can't directly access your .ENV files due to security constraints
Why it matters. asks the agent to read credentials
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
mcp-server-template.md:3335
load_dotenv()  # load environment variables from .env
Why it matters. asks the agent to read credentials
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
mcp-server-template.md:4316
curl -LsSf https://astral.sh/uv/install.sh | sh

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-09 · audit v0.4.1 · source sha 7f5e0ff020edfull audit observations/trust-audit/mcp-server/jktfe__servemyapi.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-097f5e0ff020edSAFEB88first audit
06

Questions

What tools does ServeMyAPI expose?

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

Is ServeMyAPI safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (88/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. 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 ServeMyAPI need?

It reads AUTH_KEY, ENCRYPTION_KEY, JWT_SECRET, SERVEAPI_AUTH_KEY, SERVEAPI_ENCRYPTION_KEY and SERVEAPI_JWT_SECRET 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 ServeMyAPI run?

It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as servemyapi at 1.0.0.

How current is this page?

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

Advertisement