Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Security policy template for GitHub MCP server

Đang mở
#2,136 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
48/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
github
Lĩnh vực
documentation, security

Hướng nghiên cứu

Xem lại template policies/github.yaml được liên kết và các điểm truy cập docs/README của repository để xác định nơi nên đặt liên kết bên ngoài đến template policy. Hoàn tất có nghĩa là xác nhận các phân loại của công cụ hoặc ghi lại feedback, đồng thời thêm một liên kết phù hợp nếu các maintainer chấp nhận đề xuất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

request ai review

We've built an open-source policy template for the GitHub MCP server that lets teams enforce guardrails on every tool call an AI agent can make.

The template covers all 83 tools exposed by your server — categorised into read, write, and destructive operations — with a ready-to-use YAML scaffold for adding rate limits, argument constraints, and access controls.

Example — constraining delete_file:

delete_file:
  rules:
    - name: "block file deletion"
      action: "deny"
      on_deny: "File deletion via agent is not permitted"
What is this?

Intercept is an open-source MCP proxy that sits between AI agents and MCP servers. It evaluates every tools/call request against YAML policies and blocks violations before they reach upstream. No SDK changes, no code modifications — just a proxy layer.

The template

The full policy scaffold for your server is here:
policies/github.yaml

It includes every tool your server exposes, grouped by category, with empty rule slots ready for teams to fill in.

Why this matters

As MCP adoption grows, agents are getting access to powerful tools — creating charges, deleting resources, modifying infrastructure. Without guardrails, a single hallucination or prompt injection can trigger real-world side effects. Policy templates give your users a starting point for safe agent deployments.

Collaboration

We'd love to:

  • Get feedback on the template — are the tool categorisations accurate?
  • Explore adding a link to the policy template in your docs/README
  • Hear about any tool-specific constraints your team recommends

Happy to iterate on this. The template and Intercept are both Apache 2.0.

Ngôn ngữ chính
Go
Star
33.1k
Fork
5k
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
25

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/github-mcp-server

Tất cả issue của github/github-mcp-server

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.