MCP server for the Ray notification API (ray.gege.mn): let AI agents send notifications, manage templates and read delivery status
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add ray-notifications --env RAY_API_KEY='<RAY_API_KEY>' -- npx -y @gege-mn/ray-mcp~/.codex/config.toml
[mcp_servers.ray-notifications]
command = "npx"
args = ["-y", "@gege-mn/ray-mcp"]
env = { RAY_API_KEY = "<RAY_API_KEY>" }
# codex mcp add ray-notifications --env RAY_API_KEY='<RAY_API_KEY>' -- npx -y @gege-mn/ray-mcp~/.cursor/mcp.json
{
"mcpServers": {
"ray-notifications": {
"command": "npx",
"args": [
"-y",
"@gege-mn/ray-mcp"
],
"env": {
"RAY_API_KEY": "<RAY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ray-notifications": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gege-mn/ray-mcp"
],
"env": {
"RAY_API_KEY": "<RAY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ray-notifications": {
"command": "npx",
"args": [
"-y",
"@gege-mn/ray-mcp"
],
"env": {
"RAY_API_KEY": "<RAY_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ray-notifications": {
"command": "npx",
"args": [
"-y",
"@gege-mn/ray-mcp"
],
"env": {
"RAY_API_KEY": "<RAY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ray-notifications": {
"command": "npx",
"args": [
"-y",
"@gege-mn/ray-mcp"
],
"env": {
"RAY_API_KEY": "<RAY_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http ray-notifications https://ray-api.gege.mn/mcp --header 'Authorization: Bearer <RAY_API_KEY>'~/.codex/config.toml
[mcp_servers.ray-notifications]
url = "https://ray-api.gege.mn/mcp"
bearer_token_env_var = "RAY_NOTIFICATIONS_RAY_API_KEY"
# codex mcp add ray-notifications --url https://ray-api.gege.mn/mcp --bearer-token-env-var RAY_NOTIFICATIONS_RAY_API_KEY
# export RAY_NOTIFICATIONS_RAY_API_KEY=<RAY_API_KEY>~/.cursor/mcp.json
{
"mcpServers": {
"ray-notifications": {
"url": "https://ray-api.gege.mn/mcp",
"headers": {
"Authorization": "Bearer <RAY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ray-notifications": {
"type": "http",
"url": "https://ray-api.gege.mn/mcp",
"headers": {
"Authorization": "Bearer <RAY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ray-notifications": {
"httpUrl": "https://ray-api.gege.mn/mcp",
"headers": {
"Authorization": "Bearer <RAY_API_KEY>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"ray-notifications": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://ray-api.gege.mn/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <RAY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ray-notifications": {
"url": "https://ray-api.gege.mn/mcp",
"headers": {
"Authorization": "Bearer <RAY_API_KEY>"
}
}
}
}需要的环境变量
RAY_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。