# What is MCP

## **Model Context Protocol(MCP)**

The **MCP** is an open communication standard created by Anthropic to allow AI assistants to interact with external systems. It defines how tools are registered, invoked, and how data flows between an AI model and an external server.

#### **Key Concepts of MCP**

| Concept             | Explanation                                                                                                                                |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **Tool**            | A callable function exposed to the AI. The AI can execute these tools on behalf of the user (e.g., query blockchain state, generate keys). |
| **Transport Layer** | Defines how messages are exchanged between the AI client and MCP server (WebSocket, stdio).                                                |
| **Schema**          | Tool definitions, input/output formats, and error structures are clearly defined using JSON schemas.                                       |
| **Streaming**       | MCP supports both static responses and streaming events (e.g., block updates).                                                             |

#### **Why MCP Matters for Zetrix**

* Allows **direct AI access** to blockchain functions
* Eliminates manual scripting for common tasks
* Enables **conversational development workflows**
* Standardizes tool interface for reliability and safety
* Allows Claude to provide explanations, context, and corrections

In short, MCP transforms Zetrix development into an intelligent, assisted process.


---

# 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.zetrix.com/en/developer-resources/zetrix-mcp-server/introduction/what-is-mcp.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.
