ServeMyAPI logo

ServeMyAPI

by Jktfe

ServeMyAPI is a personal MCP server for securely storing and accessing API keys across projects using the macOS Keychain. It provides a consistent interface to manage and retrieve API keys, improving security and accessibility for both developers and AI tools.

View on GitHub

Last updated: N/A

What is ServeMyAPI?

ServeMyAPI is a macOS-specific tool that allows you to store API keys securely in the macOS Keychain and access them through a consistent MCP interface. It solves problems related to storing API keys in .ENV files, such as GitHub security conflicts, LLM integration challenges, and cross-project consistency.

How to use ServeMyAPI?

ServeMyAPI can be used via a CLI interface for terminal-based key management, as a stdio server (especially for Claude Desktop), or as an HTTP server. It also integrates with Smithery. To use it with Claude Desktop or Windsurf, you need to configure the MCP servers in their respective configuration files.

Key features of ServeMyAPI

  • Secure storage of API keys in the macOS Keychain

  • Simple MCP tools for storing, retrieving, listing, and deleting keys

  • Convenient CLI interface for terminal-based key management

  • Support for both stdio and HTTP/SSE transports

  • Compatible with any MCP client (Claude Desktop, etc.)

Use cases of ServeMyAPI

  • Securely storing API keys instead of using .ENV files

  • Accessing the same API keys across multiple projects

  • Providing API keys to LLMs like Claude through natural language requests

  • Centralized management of API keys for multiple applications

FAQ from ServeMyAPI

What operating systems are supported?

ServeMyAPI is currently only compatible with macOS due to its reliance on the macOS Keychain.

How are API keys stored?

API keys are stored securely in the macOS Keychain, accessible only to the current user and requiring authentication.

How do I use ServeMyAPI with Claude Desktop?

You need to configure the mcpServers section in the Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json) to point to your ServeMyAPI installation.

Can I use ServeMyAPI with other MCP clients?

Yes, ServeMyAPI is compatible with any MCP-compatible client. Example configuration files are provided in the examples directory.

Is there a UI for managing API keys?

Currently, there is no UI. Key management is done via the CLI or MCP tools. A UI is planned for future development.