Skip to content

Add MCP models for Agentic AI#170

Merged
paulpetit-gg-ext merged 3 commits into
masterfrom
ppetit/mcp
Apr 22, 2026
Merged

Add MCP models for Agentic AI#170
paulpetit-gg-ext merged 3 commits into
masterfrom
ppetit/mcp

Conversation

@paulpetit-gg-ext
Copy link
Copy Markdown
Contributor

The first version of the Agentic AI feature (containing MCP server discovery and activity monitoring) has been merged in the platform and ggshield will soon be able to feed it data.

This PR adds the necessary model for the new endpoints.

@paulpetit-gg-ext paulpetit-gg-ext self-assigned this Apr 16, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 16, 2026

Codecov Report

❌ Patch coverage is 96.68508% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.76%. Comparing base (c9b5197) to head (f064171).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
pygitguardian/models.py 97.60% 4 Missing ⚠️
pygitguardian/client.py 85.71% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #170      +/-   ##
==========================================
+ Coverage   95.63%   95.76%   +0.13%     
==========================================
  Files           5        5              
  Lines        1236     1416     +180     
==========================================
+ Hits         1182     1356     +174     
- Misses         54       60       +6     
Flag Coverage Δ
unittests 95.76% <96.68%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paulpetit-gg-ext
Copy link
Copy Markdown
Contributor Author

Linear issue: NHI-1518

Copy link
Copy Markdown
Contributor

@6d7a 6d7a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, only one nit, but nothing blocking

Comment thread tests/test_models.py Outdated
Comment thread tests/test_models.py Outdated
@paulpetit-gg-ext paulpetit-gg-ext merged commit 015c125 into master Apr 22, 2026
19 checks passed
@paulpetit-gg-ext paulpetit-gg-ext deleted the ppetit/mcp branch April 22, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants