Momento MCP server implementation
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.
A simple Model Context Protocol (MCP) server implementation for Momento Cache.
Everything the assistant can do here goes through one of these:
get — Get the cache value stored for the given keyInputs — - key string -- the key to look up in the cacheReturns — - Hit with the found value if the key was foundset — 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 valuevalue — string -- the value to set for the given keyttl — 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 accountcreate-cache — Creates a new cache in your Momento accountdelete-cache — Deletes a cache from your Momento account@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
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.
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.
| Tool | What it does |
|---|---|
| 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 regardless of the previous value's data type. |
| 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 |
{
"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.
| Variable | Description | Required |
|---|---|---|
| MOMENTO_API_KEY | Credential the server authenticates with. | Yes |
| MOMENTO_CACHE_NAME | Configuration value read at startup. | Optional |
| DEFAULT_TTL_SECONDS | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.