# DMCP Modules

### What is DMCP?

**DMCP (Decentralized Model Context Protocol)** is the foundational protocol powering **Decontext**. It provides a blockchain-native, modular framework for defining, managing, and interacting with **context models** across AI agents, smart contracts, and decentralized applications (dApps).

> Think of DMCP as a **universal context layer** — similar to how ERC-20 standardizes tokens, DMCP standardizes how *contextual data* is created, updated, verified, and consumed on-chain.

***

### 🎯 Core Purpose

DMCP enables the Web3 ecosystem to:

* Share structured context across agents and apps.
* Ensure **data integrity, traceability, and composability**.
* Power **intelligent and adaptive behavior** in decentralized environments.

***

### 🔑 Key Features

#### **On-Chain Context Schema**

* Define data structures (schemas) that represent context types (e.g., identity, reputation, usage behavior).
* Each schema is versioned, verified, and discoverable.

#### **Updatable Context Entries**

* Context can evolve over time — DMCP supports permissioned or public context updates.
* All updates are **cryptographically signed** and stored on-chain.

#### **Composable & Modular**

* Contexts are reusable and interoperable.
* Smart contracts and agents can “plug into” different context types via DMCP.

#### **Standardized Context Access**

* Developers use a **unified interface** to query or update any context regardless of its source or schema.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dctx.ai/key-components/dmcp-modules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
