MCP ExplorerExplorer

Momento Mcp

@eaddingtonwhiteon a year ago
1 Apache-2.0
FreeCommunity
AI Systems
A Model Context Protocol server for managing key-value pairs with Momento services.

Overview

What is Momento Mcp

momento-mcp is a Model Context Protocol server designed for interacting with Momento services, allowing users to manage key-value pairs efficiently.

Use cases

Use cases for momento-mcp include caching frequently accessed data in applications, managing session states in web applications, and storing configuration settings dynamically.

How to use

To use momento-mcp, build the server using ‘go build pkg/server/main.go’, obtain a Momento API key from the Momento Console, and configure the Claude Desktop App with the necessary settings. You can run the server using HTTP or Momento transport protocols.

Key features

Key features of momento-mcp include the ability to set key-value pairs with optional TTL, retrieve values by key, and delete items by key.

Where to use

momento-mcp can be used in various fields such as application development, data caching, and real-time data management, particularly where efficient key-value storage is required.

Content

momento-mcp

A Model Context Protocol server for interacting with Momento services.

Currently Supported API’s

Command Description Input
set Set a key-value pair with optional TTL key (string), value (string), ttl (int, optional)
get Get value by key key (string)
delete Delete an item by key key (string)

Running Server & Examples

With Claude Desktop

  1. Build Momento MCP Server
    go build pkg/server/main.go
  2. Get a Momento API Key from Momento Console
  3. Configure Claude Desktop App’s claude_desktop_config.json
{
  "mcpServers": {
    "momento-mcp-server": {
      "command": "/Path/to/project/momento-mcp/main",
      "args": [],
      "env": {
        "MOMENTO_API_KEY": "REPLACE_ME",
        "CACHE_NAME": "default"
      }
    }
  }
}

Running Examples

Note: Example requires Momento and Open AI API keys set

HTTP Transport

  1. Start Server
TRANSPORT=HTTP go run pkg/server/main.go
  1. Run Client
cd examples/langchain
TRANSPORT=HTTP go run main.go

Momento Transport

  1. Start Server
TRANSPORT=MOMENTO go run pkg/server/main.go
  1. Run Client
cd examples/langchain
TRANSPORT=MOMENTO go run main.go

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers