Momento MCP Server

by momentohq

Not rated
GitHub

About

An MCP server providing a simple interface to Momento's serverless caching service.

Details

Author
momentohq
Categories
Database, Infrastructure, Cloud Service

Setup

Install Momento MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/momentohq/mcp-momento

Follow the installation instructions in the repository README, then restart your MCP client.

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

Available on npmjs as@gomomento/mcp-momento

- get

- Get the cache value stored for the given key.
- Inputs:

- keystring -- the key to look up in the cache.
- cacheNamestring -- the name cache where the key presides (optional)

- Hitwith the found value if the key was found.
- Missif the key was not found.
- Errorif the request failed.

- 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.
- Inputs:

- key: string -- the key to set in the cache
- 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)

- Successif the key was successfully written to the cache.
- Errorif the request failed.

- Lists the names of all the caches in your Momento account.
- Inputs:

- (none)

- Successwith a comma separated list of cache names
- Errorif the request failed

- Creates a new cache in your Momento account
- Inputs:

- name: string - the name of the cache to create

- Successif the cache was successfully created
- Errorif the request failed

- Deletes a cache from your Momento account
- Inputs:

- name: string - the name of the cache to delete

- Successif the cache was successfully deleted
- Errorif the request failed
-

Get a Momento API key from theMomento Console.Note - to run control plane tools (list-caches,create-cache,delete-cache), you must use asuper user API key.

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

If you do not set these values, it will usemcp-momentoas the cache name and60 secondsfor the default time to live.

npx -y @modelcontextprotocol/inspector npx @gomomento/mcp-momento@latest

Note: if you're usingnodenv, replace the plainnpxwith 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 } } } }
export MOMENTO_API_KEY="your-api-key" npx @modelcontextprotocol/inspector node dist/index.js

Introspect and query your apps deployed to Convex.

Interact with the Neon serverless Postgres platform

Interact with Tinybird serverless ClickHouse platform

Full-stack backend platform MCP — provision apps, manage databases, deploy functions, and more.

A remote MCP server for Postgres, deployable on Cloudflare Workers without authentication.

An MCP server for TiDB, a serverless, distributed SQL database.

A serverless NoSQL database and search platform.

Integrate with the Codehooks.io serverless backend platform.

Integrate with the Coolify API to manage your servers, applications, and databases.

Deploy production backends, APIs, cron jobs and automations from any AI assistant. Database, auth, storage and 24+ integrations included.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.