mcps
mcps
轻量 stdio MCP 服务器,作为日志记录和密钥注入门面,用于应提供给 AI 代理的服务。
服务器按需运行,由 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 标志覆盖单个值。优先级(从低到高):文件 < 环境变量 < 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for full Home Assistant control, enabling AI agents to manage dashboards, automations, files, apps, entities, and more via REST API, WebSocket, and SSH.66116MIT
- 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 gradedqualityDmaintenanceA 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
- AlicenseAqualityCmaintenanceAn 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
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Hosted MCP server to manage a restaurant menu from AI agents - 39 tools over the DuckHub API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/klausmark/mcps'
If you have feedback or need assistance with the MCP directory API, please join our Discord server