Momento MCP Server

Momento MCP Server

Enables interaction with Momento Cache to manage cache entries and perform administrative tasks like creating, listing, or deleting caches. It provides tools for getting and setting values with configurable TTLs through a serverless caching infrastructure.

Category
Visit Server

README

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:
      • key string -- the key to look up in the cache.
      • cacheName string -- the name cache where the key presides (optional)
    • Returns:
      • Hit with the found value if the key was found.
      • Miss if the key was not found.
      • Error if 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.
    • 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)
    • Returns:
      • Success if the key was successfully written to the cache.
      • Error if the request failed.
  • list-caches
    • Lists the names of all the caches in your Momento account.
    • Inputs:
      • (none)
    • Returns:
      • Success with a comma separated list of cache names
      • Error if the request failed
  • create-cache
    • Creates a new cache in your Momento account
    • Inputs:
      • name: string - the name of the cache to create
    • Returns:
      • Success if the cache was successfully created
      • Error if the request failed
  • delete-cache
    • Deletes a cache from your Momento account
    • Inputs:
      • name: string - the name of the cache to delete
    • Returns:
      • Success if the cache was successfully deleted
      • Error if the request failed

Quickstart

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

  2. 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 use mcp-momento as the cache name and 60 seconds for the default time to live.

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

  1. Install dependencies:

    npm install
    
  2. Build the server:

    npm run build
    
  3. Run with MCP Inspector

    export MOMENTO_API_KEY="your-api-key"
    npx @modelcontextprotocol/inspector node dist/index.js
    

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured