ServeMyAPISAFE
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:
- GitHub Security Conflicts:
- .ENV files need to be excluded from Git repositories for security (via .gitignore)
- This creates a "hidden context" problem where important configuration is invisible to collaborators and LLMs
- New developers often struggle with setting up the correct environment variables
- LLM Integration Challenges:
- LLMs like Claude can't directly access your .ENV files due to security constraints
- When LLMs need API keys to complete tasks, you often need manual workarounds
- ServeMyAPI lets your AI a
7f5e0ff020edOBSERVED · 2026-10-09Connect
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 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]{
"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}"
}
}
}
}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.
| Tool | Risk | Description |
|---|---|---|
delete-api-key | destructive | Delete an API key from the secure keychain |
get-api-key | read | Retrieve an API key from the secure keychain |
list-api-keys | read | List all stored API keys |
store-api-key | read | Store an API key in the secure keychain |
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.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (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)
delete-api-key
jest.unstable_mockModule('../../services/keychain.js', () => ({'../../mcp/tools.js'
jest.unstable_mockModule('../../services/api-key-manager.js', () => ({jest.unstable_mockModule('../../services/auth.js', () => ({const { apiKeyAuth } = await import('../../middleware/api-key-auth.js');@modelcontextprotocol/sdk, @types/cookie-parser, @types/express, @types/helmet, @types/jsonwebtoken, @types/node, cookie-parser, express
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
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
- LLMs like Claude can't directly access your .ENV files due to security constraints
load_dotenv() # load environment variables from .env
curl -LsSf https://astral.sh/uv/install.sh | sh
Gates applied: no_behavioural_pass, no_license.
7f5e0ff020edfull audit observations/trust-audit/mcp-server/jktfe__servemyapi.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 7f5e0ff020ed | SAFE | B | 88 | first audit |
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.