Skip to main content
Glama

DollhouseMCP

by DollhouseMCP
07-architecture.mdโ€ข1.18 kB
## ๐Ÿญ Architecture ### System Overview DollhouseMCP follows a modular, extensible architecture built on the Model Context Protocol (MCP) standard. ### Core Components #### MCP Server - **Transport**: StdioServerTransport for Claude Desktop integration - **Protocol**: JSON-RPC 2.0 communication - **Tools**: 41 MCP tools for comprehensive functionality #### Element System - **BaseElement**: Abstract base class for all elements - **IElement Interface**: Common contract for elements - **Element Types**: Personas, Skills, Templates, Agents, Memories, Ensembles #### Portfolio Manager - **Local Storage**: File-based element storage - **GitHub Sync**: Git-based synchronization - **Version Control**: Full git integration #### Security Layer - **Input Validation**: All inputs sanitized - **Path Security**: Traversal prevention - **Token Management**: Encrypted storage ### Data Flow 1. **Client Request** โ†’ MCP Server 2. **Tool Routing** โ†’ Appropriate handler 3. **Element Processing** โ†’ Element system 4. **Storage** โ†’ Portfolio manager 5. **Response** โ†’ Client For detailed architecture documentation, see [Architecture Guide](docs/ARCHITECTURE.md).

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/DollhouseMCP/DollhouseMCP'

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