# Contextus：MATRIX 的上下文管理与路由中枢（1/3）

## 一个专为 MCP 协议构建的开源服务与 CLI 工具

在多模型协同与智能体生态逐步成型的背景下，模型不再是“独立运作”的孤岛，而需要共享上下文、同步状态，并依据用户意图灵活切换任务与响应源。为此，Contextus 作为 MATRIX AI Network 打造的开源上下文管理服务应运而生。

Contextus 是一个开源的服务系统和命令行工具（CLI），专为 MCP（Model Context Protocol）服务构建，旨在简化不同客户端中 MCP 服务器的配置、路由与共享管理。

&#x20;

为什么需要 Contextus？

Contextus 的设计初衷，是为了解决开发者与用户在使用多个 MCP 模型服务时，面临的如下挑战：

* 每个客户端都需要手动配置模型地址；
* 多个模型之间无法共享上下文；
* 切换服务时需频繁改动本地配置；
* 缺乏一个集中式的注册、激活与状态管理工具。

Contextus 就是针对这些痛点推出的语义中枢工具。


---

# 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.matrix.io/ai-agent/contextusmatrix-de-shang-xia-wen-guan-li-yu-lu-you-zhong-shu-13.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.
