drio
Open app

MemGPT Sample

Source

A simple, abridged MemGPT agent written in Spring Boot. Includes a running as a REST API or MCP server. Also includes a simple ChatBot App to interact with the agent.

Catalog onlyCatalog onlySTDIO

Overview

memgpt-agent is a simple, abridged MemGPT agent built using Spring Boot, designed to function as a REST API or MCP server. It also includes a ChatBot application for user interaction.

To use memgpt-agent, you can run it as a REST API or MCP server and interact with it through the provided ChatBot application.

  • Built with Spring Boot for easy deployment - Functions as a REST API or MCP server - Includes a ChatBot App for user interaction
  1. Integrating AI capabilities into applications via REST API
  2. Creating interactive ChatBot experiences for users
  3. Developing custom applications that require a conversational interface

Add to your AI client

Use these steps to connect MemGPT Sample in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "memgpt-agent-gm2552": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memgpt-agent-gm2552"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "memgpt-agent-gm2552": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memgpt-agent-gm2552"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "memgpt-agent-gm2552": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memgpt-agent-gm2552"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "memgpt-agent-gm2552": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memgpt-agent-gm2552"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "memgpt-agent-gm2552": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memgpt-agent-gm2552"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "memgpt-agent-gm2552": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memgpt-agent-gm2552"
      ]
    }
  }
}

FAQ

What programming language is memgpt-agent written in?

memgpt-agent is written in Java using the Spring Boot framework.

Is memgpt-agent open source?

Yes! memgpt-agent is available under the MIT license.

How can I contribute to memgpt-agent?

You can contribute by submitting issues or pull requests on the GitHub repository.