article
README
🚀 材质化 MCP 服务器
材质化 MCP 服务器可自动依据启动时所配置的数据库、模式或集群中的索引来创建 MCP 资源,为服务器资源创建提供便利。
🚀 快速开始
启动命令
使用以下命令启动服务器:
MZ_DSN=psql://用户:密码@主机:6875/数据库 uv run server.py
请将 用户、密码、主机 和 数据库 替换为实际的值。
材质化 MCP 服务器可自动依据启动时所配置的数据库、模式或集群中的索引来创建 MCP 资源,为服务器资源创建提供便利。
使用以下命令启动服务器:
MZ_DSN=psql://用户:密码@主机:6875/数据库 uv run server.py
请将 用户、密码、主机 和 数据库 替换为实际的值。
Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive
Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed