getLABSCO SUMMARY
A cache you can poke at while debugging.
Reading a key and seeing Hit or Miss is the fastest way to settle whether a caching problem is the cache or the code around it — and the same server will spin up a throwaway cache to test against.
What it is
Momento's own MCP server for Momento Cache. The data-plane calls read and write keys with a TTL; the control-plane calls that list, create and delete caches require a super user API key.
What you get
- A key read back, returning Hit with the value, or Miss
- A key written with a per-call TTL in seconds, replacing whatever was there
- The caches on your account, listed
- A cache created, and a cache deleted
Requirements
A Momento API key in MOMENTO_API_KEY. Listing, creating and deleting caches need a super user key. MOMENTO_CACHE_NAME and DEFAULT_TTL_SECONDS are optional and fall back to mcp-momento and 60 seconds.
Setup effort
One command plus a key — npx -y @gomomento/mcp-momento, then supply credentials
USE CASES
Working out whether a value is actually cached
Read the key and get Hit with the value or Miss, instead of inferring it from application behaviour.
Seeding a value to test against
Write the key with a TTL in seconds and check it reads back.
Taking stock of an account
List the caches before adding another one.
Setting up and tearing down a scratch cache
Create a cache for a test run and delete it afterwards — both need a super user key.
5 tools
Listed in project docs. Your client may show a different list.
setlist-cachescreate-cachedelete-cacheBEFORE YOU INSTALL
What to know first
Tools you get
5 tools named in the project's documentation.
Requires
- npx on PATH
- MOMENTO_API_KEY in your environment
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
npx -y @gomomento/mcp-momentoMCP Clients
Claude Desktop
{
"mcpServers": {
"momento": {
"command": "npx",
"args": [
"-y",
"@gomomento/mcp-momento"
],
"env": {
"MOMENTO_API_KEY": "<YOUR_MOMENTO_API_KEY>",
"MOMENTO_CACHE_NAME": "<YOUR_MOMENTO_CACHE_NAME>",
"DEFAULT_TTL_SECONDS": 60
}
}
}
}