mcps
mcps
Тонкий stdio MCP-сервер, выступающий в роли фасада для логирования и подстановки секретов для сервисов, которые должны быть доступны ИИ-агентам.
Сервер работает по требованию и запускается MCP-хостом (OpenCode, Hermes Agent, Codex и т. д.). Учётные данные читаются из локального конфигурационного файла и никогда не появляются в результатах вызова инструментов.
Установка
uv syncRelated MCP server: mcp-homelab
Настройка
Создайте конфигурационный файл (по умолчанию $XDG_CONFIG_HOME/mcps/config.toml), принадлежащий пользователю, под которым запускается сервер, и имеющий режим доступа 0600:
[server]
log_file = "~/.local/state/mcps/mcps.log"
log_level = "INFO"
[homeassistant]
url = "http://hass.local:8123"
token = "..."
verify_tls = false
[mealie]
url = "http://mealie.local:9000"
api_key = "..."
[nirvana]
url = "https://api.nirvanahq.com"
email = "..."
password = "..."Отдельные значения можно переопределить через переменные окружения MCPS_* или флаги CLI. Приоритет (от низкого к высокому): файл < env < CLI.
Регистрация в MCP-хосте
Укажите вашему MCP-хосту на mcps (или python -m mcps). Пример для OpenCode (opencode.json или opencode.jsonc):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mcps": {
"type": "local",
"command": ["mcps"],
"enabled": true
}
}
}Для запуска от другого пользователя:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mcps": {
"type": "local",
"command": ["sudo", "-u", "mcps", "-n", "mcps"],
"enabled": true
}
}
}Инструменты
homeassistant_list_entities,homeassistant_get_state,homeassistant_call_servicemealie_list_recipes,mealie_get_recipe,mealie_search_recipesnirvana_list_tasks,nirvana_get_task,nirvana_complete_task,nirvana_add_task
Логи
Простой текстовый лог записывается в [server].log_file (по умолчанию $XDG_STATE_HOME/mcps/mcps.log). Если файл не удаётся открыть, используется stderr.
Устранение неполадок
"config file not found" — укажите
--configилиMCPS_CONFIG_PATH."must have mode 0600" — выполните
chmod 600 <config>."missing required keys" — в вашем
[section]отсутствуютurlили учётные данные.
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
- ZapierOAuthcom.zapier
Hosted MCP server connecting AI assistants to 9,000+ apps and 40,000+ actions via Zapier.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server for full Home Assistant control, enabling AI agents to manage dashboards, automations, files, apps, entities, and more via REST API, WebSocket, and SSH.6699 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI assistants real-time access to your homelab infrastructure. It enables querying node status, managing Docker containers, controlling Proxmox VMs, and inspecting OPNsense firewall state through natural conversation.2MIT
- FlicenseNot gradedqualityFmaintenanceA lightweight MCP HTTP server giving AI assistants real tools to interact with your Windows machine, including running commands, file access, system info, web search, and browser automation.1-
- AlicenseAqualityBmaintenanceAn MCP server exposing 72 tools across 26 homelab services, enabling LLMs to monitor and manage infrastructure, media, storage, and networking with a single endpoint.16MIT