Advocu Go MCP服务器
A. 模型上下文协议(MCP) 服务器写入 去 它自动将Docker Captain活动提交给 律师这个项目是由 -来自印度的Docker船长。
此服务器公开以下类型的工具:
- 反馈会议活动
- 公开演讲
- 事件
- 资源
- 放大
- 元数据抓取(YouTube+网站)
工具使用 严格的JSON模式验证, 键入有效载荷和a 集成刮板.
______________________________________________________________________
特性
类型化MCP工具
- JSON模式验证(字段、枚举、长度、类型)
- 每个工具都有强大的Go结构
- 通过自动解码
WithState[T](...)
元数据抓取器
从任何URL提取:
- 标题
- 描述
- OpenGraph图像
- 站点名称
- 发布日期
整洁架构
tools/→ 所有MCP工具。目前。helpers/→ 类型化助手+会话系统constants/→ 基本URL、标题main.go→ MCP服务器引导
______________________________________________________________________
设置
- 克隆存储库:
git clone https://github.com/InspectorGadget/advocugo-mcp- 导航到项目目录:
cd advocugo-mcp- 构建项目:
go build -o advocugo-mcp .- 运行MCP服务器:
ADVOCU_API_KEY= ./advocugo-mcp- 服务器将开始监听端口
:8181默认情况下。您可以在中更改端口./constants/mcp.go. - 使用MCP客户端与服务器交互并提交活动。
______________________________________________________________________
提示词
提交反馈环节
Submit feedback session:
activityDate: 2025-11-01
dockerRepresentative: Jane Doe
modeOfCommunication: Direct call
metrics.timeSpent: 45
title: "Container Image Storage Feedback"
description: "We discussed UX around image pruning, cache visibility, and cleanup workflows."
private: true提交资源
Submit resource:
title: "Zero-to-Prod with Docker Compose"
description: "Step-by-step guide to get a small team productive quickly."
tags: []
activityUrl: https://example.com/docker-compose-guide
activityDate: 2025-10-30
metrics.views: 1200
contentType: Blog post
additionalInfo: "Includes code samples and ready-to-use docker-compose.yml templates."
private: false提交公开演讲
Submit public speaking:
title: "Scaling Images on ECS"
description: "Deep dive into caching layers, parallel pulls, and blue/green rollouts."
tags: []
activityUrl: https://conf.example/schedule/ecs-talk
activityDate: 2025-10-15
format: In-person event
duration: 60
metrics.attendees: 150
additionalInfo: "Live demo of canary deployments and rollback strategies."
private: true提交事件
Submit event:
title: "Docker Hack Night"
description: "Hands-on labs with volumes and networking."
dates.start: 2025-12-05
dates.end: 2025-12-05
type: Workshop
format: In-person
duration: Evening event
metrics.attendees: 60
activityUrl: https://meetup.example/docker-hack-night
tags: []
additionalInfo: "Pizza, swag, and open Q&A at the end."
private: true提交放大
Submit amplification:
activityDate: 2025-11-10
metrics.views: 4200
title: "Compose article cross-post"
description: "Shared my Docker Compose guide to HN and X, replied to comments."
type: ["Repost", "Comment Engagement"]
channel: []
url: https://news.ycombinator.com/item?id=123456
private: false从URL中删除内容
Scrape content from this URL:
https://www.youtube.com/watch?v=dQw4w9WgXcQ或
Scrape content from this URL:
https://example.com/blog/running-docker-in-production______________________________________________________________________
贡献
欢迎投稿!请打开问题或提交bug修复、新功能或改进的拉取请求。
______________________________________________________________________
许可证
该项目根据MIT许可证获得许可。
