AItomation MCP relay
AItomation MCP relay
用户托管的 HTTPS 边缘,用于入站 AI 连接器。其他应用会通过你拥有的地址调用此进程。之后,你电脑上的应用会与它配对并运行工具。此进程本身从不运行工具。
本仓库只是连接器进程。它既不是桌面应用,也不是 Team Space 团队服务器。
我们不会替你托管这个入口。请把它放在你控制的服务器上。桌面应用的更新不会更新此进程,桌面 v* 标签也不会发布此镜像。
一个进程,一个项目
一个中继对应一台设备和一个项目。
三个需要公共 HTTPS 入口的项目需要三个进程。
同一个不匹配的 /前缀(
/project-a/mcp)会被拒绝。同一台机器上的 Team Space 服务器是第四个进程。同一台机器可以,同一个进程不行。
Related MCP server: Obsidian MCP Server
快速开始(Docker)
docker pull ghcr.io/stanislavmandrik621/aitomation-mcp-relay:latest
docker run --rm -p 8790:8790 \
-e MCP_RELAY_HOST=0.0.0.0 \
-e MCP_RELAY_PORT=8790 \
-e MCP_RELAY_DATA_DIR=/data \
-v mcp-relay-data:/data \
ghcr.io/stanislavmandrik621/aitomation-mcp-relay:latest默认监听端口为 8790。请勿使用 8787、8788 或 8789。
GET / 和 GET /health 返回 200。浏览器会显示一个简短的状态页面。curl 以及后续的配对探测(Accept: text/plain)仍然会看到一行文本 AItomation MCP relay。
POST /mcp 在没有登录令牌时会返回 401,并带有一个指向 well-known JSON 的 WWW-Authenticate 响应头。当你完成应用配对并完成 OAuth 后,该 POST 请求会被转发给应用。此进程上永远不会运行工具。配对使用 /pair/hello、/pair/next、/pair/reply 和 /pair/unavailable。
官方镜像是多架构的(linux/amd64 和 linux/arm64)。在生产环境中建议锁定版本标签。
公共主机上的公共证书
调用此类服务的云端主机(ChatGPT、Claude、Grok、Gemini Enterprise)需要公共证书颁发机构颁发的证书。不要在公共主机上使用自签名证书。请在此进程前面放置一个带有公共证书的反向代理,或者传入已经由该颁发机构签发的 MCP_RELAY_TLS_CERT_FILE 和 MCP_RELAY_TLS_KEY_FILE。
环境
名称 | 默认值 | 说明 |
|
| Docker 会设置为 |
|
| 保留端口会被拒绝。 |
|
| 使用服务管理器时,请使用绝对路径。 |
| 未设置 | 配对密钥保留在环境中,绝不放在 argv 中。 |
| 未设置 | 公共 HTTPS 源(可选 |
| 未设置 | 可选。已配对项目的 Claude 请求 Headers 密钥的 SHA-256 十六进制值。 |
| 未设置 | 可选。面向公共主机的公共 CA 证书。 |
| 未设置 | 与证书文件配对使用。 |
此进程不读取 Team Space 的环境变量。
OAuth 保持使用端口 8790。授权 URL 为 /authorize。令牌 URL 为 /token。在请求的 scope 中要包含 offline_access。Gemini Enterprise 使用首次启动时生成的机密客户端 ID(secret 只在数据目录下写入一次),并重定向至 https://vertexaisearch.cloud.google.com/oauth-redirect。Well-known JSON 位于 /.well-known/oauth-protected-resource 和 /.well-known/oauth-protected-resource/mcp。这些路径上没有 HTML 兜底页面。
备选方案(clone + npm)
git clone https://github.com/stanislavmandrik621/aitomation-mcp-relay.git
cd aitomation-mcp-relay
npm ci
npm startnpm start 仅用于开发。对于真实服务,请构建一次(执行 npm run build),然后在服务管理器下运行 node dist/server.js。
逐步指导服务单元、三个项目的 Compose 以及 HTTPS 代理片段,参见 docs/SELF-HOST.md。
停止
SIGTERM 或 SIGINT 会停止新工作量,等待进行中的 POST /mcp 转发完成,然后退出。此进程不会在 POST 请求中途结束自己。
权威来源
日常内容维护在 AItomation monorepo 的 packages/mcp-relay 中,并发布于此供客户使用。官方 GHCR 写入目录来自本仓库的 publish-image 工作流。桌面版发布不会发布此镜像。
许可证
MIT — 请参见 LICENSE。
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
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to make HTTP requests (GET, POST, PUT, DELETE) to external APIs through standardized MCP tools.42MIT
- AlicenseNot gradedqualityCmaintenanceEnables external applications to interact with an Obsidian vault through MCP tools, including semantic search and file operations.38113AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceExposes a Linux host with shell, Python, and filesystem tools as MCP tools over HTTPS, enabling AI agents to execute commands and manage files remotely.11MIT
- FlicenseNot gradedqualityDmaintenanceEnables exposing MCP tools over HTTP using Python and FastAPI, allowing AI assistants like Cursor to connect and use tools like web search, echo, and math operations.
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
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/stanislavmandrik621/aitomation-mcp-relay'
If you have feedback or need assistance with the MCP directory API, please join our Discord server