Momento MCP Server
A simple Model Context Protocol (MCP) server implementation for Momento Cache.
Available on npmjs as @gomomento/mcp-momento
Tools
get- Get the cache value stored for the given key.
- Inputs:
keystring -- the key to look up in the cache.
- Returns:
Hitwith the found value if the key was found.Missif the key was not found.Errorif the request failed.
set- Sets the value in cache with a given Time To Live (TTL) seconds. If a value for this key is already present, it will be replaced by the new value regardless of the previous value's data type.
- Returns:
Successif the key was successfully written to the cache.Errorif the request failed.
Quickstart
Get a Momento API key from the Momento Console.
Set environment variables to configure the cache name and Time To Live (TTL) for items in the cache.
# required export MOMENTO_API_KEY="your-api-key" # optional export MOMENTO_CACHE_NAME="your-cache-name" export DEFAULT_TTL_SECONDS=60
Usage with MCP Inspector
npx -y @modelcontextprotocol/inspector npx @gomomento/mcp-momento@latest
Usage with NPX on Claude Desktop
Note: if you're using nodenv, replace the plain npx with the path to your npx binary (e.g. /Users/username/.nodenv/shims/npx).
{
"mcpServers": {
"momento": {
"command": "npx",
"args": [
"-y",
"@gomomento/mcp-momento"
],
"env": {
"MOMENTO_API_KEY": "your-api-key",
"MOMENTO_CACHE_NAME": "your-cache-name",
"DEFAULT_TTL_SECONDS": 60
}
}
}
}
Setup for local development
Install dependencies:
npm installBuild the server:
npm run buildRun with MCP Inspector
bash export MOMENTO_API_KEY="your-api-key" npx @modelcontextprotocol/inspector node dist/index.js
Momento Cache
Project Details
- momentohq/mcp-momento
- Apache License 2.0
- Last Updated: 4/4/2025
Categories
Recomended MCP Servers
A Model Context Protocol Server for connecting with Adfin APIs
PayPal Agent
Enable AI Agents to Control Unity
A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android...
Model Context Protocol server for Replicate's API
MCP server for OpenRouter.ai integration
Hacker News MCP Server
Local MCP server implementation for Starwind UI that you can use with Cursor, Windsurf, and other AI tools
APIMatic Validator MCP Server for validating OpenAPI specs via APIMatic's API with MCP
一个用来实现简单页面倒计时的轻量级工具
mcp-1panel is an implementation of the Model Context Protocol (MCP) server for 1Panel.
Official MCP Server for AIStor





