配置管理服务器

Configfacets MCP Server 是一个用于管理和运行配置文件的服务器工具,适用于Python项目的配置管理。

  • by configfacets
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 configfacets/configfacets_mcp

使用说明

配置设置_mcp

配置MCP服务器

安装

我们建议使用 紫外线 管理你的Python项目。

uv init <repository_name>
cd <repository_name>

然后将Configfacets MCP服务器添加到您的项目依赖关系中

uv add "configfacets-mcp"

初始化您的MCP服务器

核心概念.py

from configfacets.server import ConfigfacetsMCP

mcp_server = ConfigfacetsMCP(
    server="myserver"
    repository="configfacets/core-concepts",
    version="appconfigs",
    api_key="<your apikey>",
)
mcp_server.run()

构建和发布

uv build
uv publish
{
    "mcpServers": {
        "configfacets": {
            "command": "uv",
            "args": [
                "--directory",
                "<absolute path>/coreconcepts_mcp",
                "run",
                "coreconcepts.py"
            ]
        }
    }
}