MPC Architecture

Dealr's Approach

To deliver an outstanding user experience, Dealr focuses on two key areas:

1. User Needs Research and MCP Server Selection

Dealr prioritizes understanding crypto user needs through comprehensive research, data analysis, and continuous feedback, identifying the most critical "Jobs To Be Done" in this space.

With this knowledge, Dealr selectively integrates with the most appropriate MCP Servers providing the most valuable data and functionality, rather than attempting connections with every available server. This focused approach ensures we deliver precisely what users need most effectively.

2. Simple, Easy-to-Use Interface

Dealr creates a radically simple interface where users state their request and Dealr handles the rest - identifying necessary MCP Servers, coordinating data, and executing actions.The MCP integrations work "behind the scenes," allowing users to focus on what they want to achieve, not how the technology works.

This interface is designed based on principles of:

  • Simplicity: Eliminating unnecessary complexity

  • Intuitiveness: Using clear language and visual cues

  • Guidance: Providing contextual assistance when needed

  • Intelligence: Learning from user interactions to improve over time

How Dealr's Integrated MCP Architecture Works

In the standard MCP architecture, Dealr incorporates both MCP Host and MCP Client capabilities into a single application. This allows Dealr to:

  1. Serve as the user's primary interface to the crypto world, translating natural language into actionable operations

  2. Process requests intelligently using internal AI capabilities without always needing external services

  3. Connect seamlessly to specialized MCP Servers when blockchain operations or external data are required

  4. Present unified results regardless of whether processing happened internally or externally

MCP Architecture in Dealr

Dealr's architecture is built around the Model Context Protocol (MCP), with Dealr acting as an intelligent MCP Client that contains both AI capabilities and coordination functions, connecting users to various MCP Servers. Below is a comprehensive diagram of this architecture:

Core Components

Dealr's architecture consists of three primary elements working together to provide a seamless crypto experience: the MCP Host, MCP Client, and External MCP Servers. Each plays a distinct role in the overall system.

1. Dealr (MCP Host)

It includes the interface that serves as the entry point for user interaction:

  • Chat Interface: Enables users to input requests and receive responses in a natural conversational manner

  • Visual Displays: Presents data and results in the form of easy-to-understand text, charts, tables, and graphics

The UI captures natural language requests and translates them into structured user intent that can be processed by the MCP Client components.

2. Dealr (MCP Client)

2.1. AI Processing Components

These components within Dealr are responsible for understanding user requests and planning actions:

  • Intent Analysis: Identifies the user's goals and extracts key information from natural language input.

  • Action Planning (With Reasoning): Creates a structured plan for fulfilling the user's request, determining necessary steps and resources based on reasoned decisions.

2.2. MCP Coordination Layer

This is the core component of Dealr, responsible for coordinating communication between users, the AI model, and MCP Servers:

  • Selecting appropriate MCP Servers based on the action plan

  • Routing requests to servers with matching capabilities

  • Managing parallel requests for complex operations

  • Aggregating responses from multiple sources

2.3. Security and Compliance Layer

Security is a top priority in Dealr's architecture:

  • Authentication and Authorization: Ensures only authorized users can access data and perform actions.

  • Encryption: Protects sensitive data during transmission and storage.

  • Auditing and Logging: Tracks all actions and accesses to ensure accountability.

3. External MCP Servers

Dealr connects to various specialized MCP Servers that provide specific functionality:

  • Information Retrieval Servers: Access internet information through Google, Perplexity, and web scraping via Firecrawl

  • Blockchain Data Servers: Provide access to on-chain data, such as transactions, balances, and smart contract events

  • Token Operation Servers: Allow for creating, transferring, and swapping tokens

  • DeFi Integration Servers: Connect to DeFi protocols to provide functionality like staking, lending, and liquidity management.

How Components Interact

To better understand how this architecture works in practice, let's consider a typical interaction flow:

  1. User Submits Request: A user enters a request like "Create a new token on Solana named 'MyToken'."

  2. Intent Analysis: Dealr's Intent Analysis component analyzes the request, identifying the intent (create token), entities (name: MyToken), and target blockchain (Solana)

  3. Action Plan Creation: The Action Planning component creates an action plan, identifying the necessary steps to create a Solana token.

  4. Request Routing: The MCP Coordination Layer identifies the appropriate MCP Server for Solana token creation and prepares the request.

  5. Executing the Action: Dealr sends the request to the Solana Token MCP Server, providing all necessary parameters.

  6. Processing the Response: Dealr receives the response from the MCP Server, confirms the token was successfully created, and retrieves relevant information (such as token address).

  7. Presenting Results: Dealr presents the results to the user in an understandable way, including token address, links to blockchain explorer, and next steps.

Advantages of This Architecture

Dealr's MCP architecture offers several significant advantages:

Scalability

By leveraging specialized MCP Servers, Dealr can easily expand its capabilities without requiring major changes to its core architecture. As new MCP Servers are developed, Dealr can integrate them to provide additional functionality.

Optimal Performance

By connecting to specialized MCP Servers for specific tasks, Dealr can optimize performance for each type of operation. This leads to faster response times and a better user experience.

Enhanced Security

The layered architecture allows for implementing security measures at different levels, ensuring comprehensive protection of user data and assets. Each component can have its own security protocols tailored to its specific needs.

Last updated