MCP Momento MCP Server

Momento MCP server implementation

Local serverstdio

What is the MCP Momento MCP server?

Momento MCP server implementation. Exposed over MCP by the mcp momento mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

A simple Model Context Protocol (MCP) server implementation for Momento Cache.

Its toolset

Everything the assistant can do here goes through one of these:

  • get — Get the cache value stored for the given key
  • Inputs — - key string -- the key to look up in the cache
  • Returns — - Hit with the found value if the key was found
  • 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
  • value — string -- the value to set for the given key
  • ttl — integer -- the number of seconds to keep this value in the cache (optional)
  • cacheName — string -- the name of the cache to store the key in (optional)
  • list-caches — Lists the names of all the caches in your Momento account
  • create-cache — Creates a new cache in your Momento account
  • delete-cache — Deletes a cache from your Momento account

Adding it to your client

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration

You will need 3 environment variables: MOMENTO_API_KEY, MOMENTO_CACHE_NAME, DEFAULT_TTL_SECONDS. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP Momento's toolset — get, Inputs, Returns and 7 more — is a fair guide to whether it matches your workflow. It is maintained by momentohq; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Momento.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp momento mcp server does with a few real requests.

Available tools

ToolWhat it does
getGet the cache value stored for the given key.
Inputs- key string -- the key to look up in the cache.
Returns- Hit with the found value if the key was found.
setSets 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.
valuestring -- the value to set for the given key
ttlinteger -- the number of seconds to keep this value in the cache (*optional*)
cacheNamestring -- the name of the cache to store the key in (*optional*)
list-cachesLists the names of all the caches in your Momento account.
create-cacheCreates a new cache in your Momento account
delete-cacheDeletes a cache from your Momento account

How to install the MCP Momento MCP server

{
  "mcpServers": {
    "momento": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"],
      "env": {
        "MOMENTO_API_KEY": "your-value",
        "MOMENTO_CACHE_NAME": "your-value",
        "DEFAULT_TTL_SECONDS": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
MOMENTO_API_KEYCredential the server authenticates with.Yes
MOMENTO_CACHE_NAMEConfiguration value read at startup.Optional
DEFAULT_TTL_SECONDSConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP Momento to get.
  • Use MCP Momento to Inputs.
  • Use MCP Momento to Returns.

Frequently asked questions

It connects MCP Momento to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (get, Inputs, Returns, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Momento directly.