ChatMCP: Conversational AI
chatMCP is a mobile-first messaging app inspired by WhatsApp, designed for seamless communication between humans and AI agents via the Model Context Protocol (MCP). It treats MCP servers as contacts, supports group chats with both humans and AI agents, and offers a clean, intuitive UI optimized for mobile devices.
🚀 Features
- MCP Server Contacts: Add AI agents by MCP server URL or identifier; add humans by phone, email, or username.
- Group Chats: Mix humans and AI agents in group conversations.
- Messaging: Send/receive text, images, files, and voice messages.
- Search: Quickly find contacts and messages.
- Guest Access: Interact with AI agents without registration; upgrade to a full account via phone/email verification.
- OAuth Integration: Secure authentication with MCP servers.
Designing conversational flows in ChatMCP means orchestrating how users, agents, and context interact through structured APIs. By leveraging OpenAPI and the Model Context Protocol (MCP), you can create scalable, maintainable, and context-aware chat systems.
Context Engineering in chatMCP
ChatMCP uses Context Engineering to orchestrate the flow of information between user input, prompt construction, agent reasoning, retrieval-augmented generation (RAG), tool invocation, and memory management.
Key Flow Steps:
- User Input: The user sends a message, which is added to the prompt and chat history.
- Prompt Construction: The prompt is built from user input and short-term memory (chat history).
- Agent Reasoning: The agent processes the prompt, coordinating with RAG and tools as needed.
- RAG Context: The agent may query long-term memory (vector search) for relevant context.
- Action Tools: The agent invokes tools (OpenAPI operations) for structured actions.
- Answer Generation: The agent produces an answer, which is returned to the user and added to memory.
- Memory Management: All context is stored in short-term (chat history) and optionally long-term memory (MCP servers/databases).
Context Engineering ensures every chat flow is context-aware, API-first, and memory-driven.