Skip to main content
Glama

text

Memory-IA MCP Server

Model Context Protocol (MCP) Server - Agente IA com Memória Persistente para VS Code, Gemini-CLI, Cursor e outras ferramentas.

🚀 Features

  • Chat com Memória Persistente - Agente IA com contexto SQLite

  • Ollama Integrado - Suporte a modelos locais (llama3.2, qwen, etc)

  • JSON-RPC Protocol - Comunicação padronizada MCP

  • Auto-Restart - Serviço systemd com restart automático

  • Multi-Client - Funciona em VS Code, Gemini-CLI, terminal, etc

Related MCP server: DevFlow MCP

📋 Stack

  • Python 3.12 com FastAPI

  • LangGraph + LangChain para agentes

  • SQLite para memória persistente

  • Ollama para LLM local

  • systemd para gerenciamento

🔧 Instalação

1. Clonar repositório

cd ~ git clone https://github.com/seu-usuario/memory-ia-mcp.git cd memory-ia-mcp

text

2. Criar ambiente virtual

python3 -m venv memorivenv source memorivenv/bin/activate

text

3. Instalar dependências

pip install -r requirements.txt

text

4. Executar MCP Server

./run_mcp.sh

text

🎯 Uso Rápido

Terminal

echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | python src/mcp_server.py

text

VS Code

  1. Configuração em ~/.config/Code/User/mcp.json

  2. Abra Command Palette: Ctrl+Shift+P

  3. Procure por MCP: List Servers

  4. Selecione memory-ia-agent

Gemini-CLI

gemini-cli --mcp-server /home/helcio/memory-ia-mcp/src/mcp_server.py

text

📡 Ferramentas Disponíveis

Tool

Descrição

memory_chat

Chat com memória persistente

run_ollama

Executar modelo Ollama direto

agent_health

Status do agente

🛠️ Serviço systemd

Status

sudo systemctl status memory-ia-mcp.service

text

Logs

sudo journalctl -u memory-ia-mcp -f

text

Controle

sudo systemctl restart memory-ia-mcp sudo systemctl stop memory-ia-mcp sudo systemctl start memory-ia-mcp

text

📂 Estrutura

memory-ia-mcp/ ├── src/ │ ├── mcp_server.py │ ├── agente_langgraph.py │ ├── agente_persistente.py │ └── api_agente.py ├── config/ │ └── mcp.json ├── docs/ │ └── DEVELOPMENT.md ├── tests/ │ └── test_mcp.py ├── run_mcp.sh ├── requirements.txt └── README.md

text

🔐 Configuração

Crie .env:

OLLAMA_URL=http://localhost:11434 AGENT_PORT=8000 DEBUG=False

text

📖 Documentação

🤝 Contribuições

Sinta-se livre para abrir issues e PRs!


Desenvolvido com ❤️
Última atualização: Nov 28, 2025

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

0Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

  • Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.

  • Persistent memory for AI agents. Search, store, and recall across sessions.

  • Universal memory for AI agents and tools. Save, organize and search context anywhere.

View all MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides persistent local memory functionality for AI assistants, enabling them to store, retrieve, and search contextual information across conversations with SQLite-based full-text search. All data stays private on your machine while dramatically improving context retention and personalized assistance.
    3
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI coding assistants with persistent project memory to retain architectural decisions, code patterns, and domain knowledge across sessions. It stores data locally in a SQLite database, allowing agents to remember, recall, and manage project-specific context using full-text search.
    13
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Persistent semantic memory for AI agents. SQLite-backed, local-first, zero config. Semantic search via Ollama embeddings with keyword fallback. Tools: remember, recall, history, forget, stats.
    17
    37
    1
    MIT

View all related MCP servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/helciocosta/memory-ia-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server