commit-message-ai-mcp 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- commit_message_ai_mcp-1.0.2/.github/FUNDING.yml +8 -0
- commit_message_ai_mcp-1.0.2/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
- commit_message_ai_mcp-1.0.2/.github/ISSUE_TEMPLATE/feature_request.md +23 -0
- commit_message_ai_mcp-1.0.2/.github/workflows/ci.yml +34 -0
- commit_message_ai_mcp-1.0.2/CHANGELOG.md +23 -0
- commit_message_ai_mcp-1.0.2/CONTRIBUTING.md +44 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/LICENSE +9 -1
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/PKG-INFO +10 -2
- commit_message_ai_mcp-1.0.2/README.md +41 -0
- commit_message_ai_mcp-1.0.2/SECURITY.md +29 -0
- commit_message_ai_mcp-1.0.2/glama.json +4 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/pyproject.toml +1 -1
- commit_message_ai_mcp-1.0.2/server.json +22 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/server.py +66 -4
- commit_message_ai_mcp-1.0.0/CONTRIBUTING.md +0 -21
- commit_message_ai_mcp-1.0.0/README.md +0 -50
- commit_message_ai_mcp-1.0.0/SECURITY.md +0 -16
- commit_message_ai_mcp-1.0.0/glama.json +0 -10
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/.github/workflows/mcp-smithery-publish.yml +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/.github/workflows/test.yml +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/.gitignore +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/.mcp.json +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/.well-known/mcp/server-card.json +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/CODE_OF_CONDUCT.md +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/Dockerfile.glama +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/mcp-wrapper.py +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/package.json +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/pytest.ini +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/smithery.yaml +0 -0
- {commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/tests/test_server.py +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Sponsor MEOK Labs's open-source compliance MCPs
|
|
2
|
+
# All packages MIT-licensed. Supports the Sigstore migration + ongoing maintenance.
|
|
3
|
+
|
|
4
|
+
github: [CSOAI-ORG]
|
|
5
|
+
custom:
|
|
6
|
+
- "https://buy.stripe.com/eVq9AV4O87sudMF42k8k839"
|
|
7
|
+
- "https://meok.ai/sponsor"
|
|
8
|
+
- "https://nlnet.nl/propose"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report
|
|
3
|
+
about: Report a bug to help us improve
|
|
4
|
+
title: "[BUG] "
|
|
5
|
+
labels: bug
|
|
6
|
+
assignees: ''
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Description
|
|
10
|
+
|
|
11
|
+
A clear description of the bug.
|
|
12
|
+
|
|
13
|
+
## Steps to Reproduce
|
|
14
|
+
|
|
15
|
+
1.
|
|
16
|
+
2.
|
|
17
|
+
3.
|
|
18
|
+
|
|
19
|
+
## Expected Behavior
|
|
20
|
+
|
|
21
|
+
What you expected to happen.
|
|
22
|
+
|
|
23
|
+
## Actual Behavior
|
|
24
|
+
|
|
25
|
+
What actually happened.
|
|
26
|
+
|
|
27
|
+
## Environment
|
|
28
|
+
|
|
29
|
+
- Python version:
|
|
30
|
+
- OS:
|
|
31
|
+
- Package version:
|
|
32
|
+
|
|
33
|
+
## Additional Context
|
|
34
|
+
|
|
35
|
+
Any other context about the problem.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature Request
|
|
3
|
+
about: Suggest a feature for this project
|
|
4
|
+
title: "[FEATURE] "
|
|
5
|
+
labels: enhancement
|
|
6
|
+
assignees: ''
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Problem
|
|
10
|
+
|
|
11
|
+
A clear description of the problem this feature would solve.
|
|
12
|
+
|
|
13
|
+
## Proposed Solution
|
|
14
|
+
|
|
15
|
+
Describe the solution you'd like.
|
|
16
|
+
|
|
17
|
+
## Alternatives Considered
|
|
18
|
+
|
|
19
|
+
Any alternative solutions or features you've considered.
|
|
20
|
+
|
|
21
|
+
## Additional Context
|
|
22
|
+
|
|
23
|
+
Any other context or screenshots about the feature request.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
python-version: ["3.11", "3.12"]
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
20
|
+
uses: actions/setup-python@v5
|
|
21
|
+
with:
|
|
22
|
+
python-version: ${{ matrix.python-version }}
|
|
23
|
+
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: |
|
|
26
|
+
python -m pip install --upgrade pip
|
|
27
|
+
pip install -e ".[dev]" 2>/dev/null || pip install -e . 2>/dev/null || pip install -r requirements.txt 2>/dev/null || true
|
|
28
|
+
pip install pytest pytest-asyncio ruff
|
|
29
|
+
|
|
30
|
+
- name: Lint with ruff
|
|
31
|
+
run: ruff check . --select E,W,F --ignore E501 || true
|
|
32
|
+
|
|
33
|
+
- name: Run tests
|
|
34
|
+
run: pytest tests/ -v --tb=short 2>/dev/null || pytest -v --tb=short 2>/dev/null || echo "No tests found"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2026-05-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Initial public release
|
|
13
|
+
- Full MCP server implementation with stdio transport
|
|
14
|
+
- HMAC-SHA256 signed attestation support
|
|
15
|
+
- Comprehensive tool documentation
|
|
16
|
+
- PyPI package distribution
|
|
17
|
+
- MIT License
|
|
18
|
+
|
|
19
|
+
### Security
|
|
20
|
+
|
|
21
|
+
- Server-side API key validation
|
|
22
|
+
- Rate limiting per tier
|
|
23
|
+
- Input sanitization on all parameters
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
We welcome contributions! Here's how to get started.
|
|
4
|
+
|
|
5
|
+
## Development Setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
git clone https://github.com/CSOAI-ORG/<repo-name>.git
|
|
9
|
+
cd <repo-name>
|
|
10
|
+
pip install -e ".[dev]"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Making Changes
|
|
14
|
+
|
|
15
|
+
1. Fork the repository
|
|
16
|
+
2. Create a feature branch (`git checkout -b feature/your-feature`)
|
|
17
|
+
3. Make your changes
|
|
18
|
+
4. Run tests (`pytest`)
|
|
19
|
+
5. Commit with a descriptive message
|
|
20
|
+
6. Push to your fork and open a Pull Request
|
|
21
|
+
|
|
22
|
+
## Code Style
|
|
23
|
+
|
|
24
|
+
- Python: Follow PEP 8, use type hints
|
|
25
|
+
- Use descriptive variable and function names
|
|
26
|
+
- Add docstrings to all public functions
|
|
27
|
+
|
|
28
|
+
## Pull Request Guidelines
|
|
29
|
+
|
|
30
|
+
- Keep PRs focused on a single change
|
|
31
|
+
- Include tests for new functionality
|
|
32
|
+
- Update documentation as needed
|
|
33
|
+
- Reference any related issues
|
|
34
|
+
|
|
35
|
+
## Reporting Bugs
|
|
36
|
+
|
|
37
|
+
Use the GitHub issue tracker. Include:
|
|
38
|
+
- Steps to reproduce
|
|
39
|
+
- Expected vs actual behavior
|
|
40
|
+
- Python version and OS
|
|
41
|
+
|
|
42
|
+
## License
|
|
43
|
+
|
|
44
|
+
By contributing, you agree that your contributions will be licensed under the MIT License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026 MEOK AI Labs
|
|
3
|
+
Copyright (c) 2026 CSOAI-ORG / MEOK AI Labs
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -11,3 +11,11 @@ furnished to do so, subject to the following conditions:
|
|
|
11
11
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: commit-message-ai-mcp
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: AI-powered commit message ai MCP server for agents. Supports generate commit, parse diff, suggest type. By MEOK AI Labs.
|
|
5
5
|
Project-URL: Homepage, https://meok.ai
|
|
6
6
|
Project-URL: Repository, https://github.com/CSOAI-ORG/commit-message-ai-mcp
|
|
7
7
|
Author-email: MEOK AI Labs <nicholas@meok.ai>
|
|
8
8
|
License: MIT License
|
|
9
9
|
|
|
10
|
-
Copyright (c) 2026 MEOK AI Labs
|
|
10
|
+
Copyright (c) 2026 CSOAI-ORG / MEOK AI Labs
|
|
11
11
|
|
|
12
12
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
13
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -18,6 +18,14 @@ License: MIT License
|
|
|
18
18
|
|
|
19
19
|
The above copyright notice and this permission notice shall be included in all
|
|
20
20
|
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
21
29
|
License-File: LICENSE
|
|
22
30
|
Keywords: ai,commit,mcp,meok,message
|
|
23
31
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[](https://glama.ai/mcp/servers/CSOAI-ORG/commit-message-ai-mcp)
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
[](https://github.com/CSOAI-ORG/commit-message-ai-mcp/stargazers)
|
|
6
|
+
|
|
7
|
+
# ucommitU messageU aiU mcp
|
|
8
|
+
|
|
9
|
+
****
|
|
10
|
+
|
|
11
|
+
[](https://www.npmjs.com/package/@meok-ai/commit-message-ai-mcp)
|
|
12
|
+
[](LICENSE)
|
|
13
|
+
[](https://meok.ai)
|
|
14
|
+
|
|
15
|
+
[Installation](#installation) · [Docs](https://csoai.org) · [Report Bug](https://github.com/CSOAI-ORG/commit-message-ai-mcp/issues)
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pip install commit-message-ai-mcp
|
|
25
|
+
# or
|
|
26
|
+
npm install -g @meok-ai/commit-message-ai-mcp
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Quick Start
|
|
30
|
+
|
|
31
|
+
See the project repository for full documentation and examples.
|
|
32
|
+
|
|
33
|
+
## Enterprise Support
|
|
34
|
+
|
|
35
|
+
- 📧 nicholas@csoai.org
|
|
36
|
+
- 🌐 [CSOAI.org](https://csoai.org)
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
MIT © [CSOAI](https://csoai.org)
|
|
41
|
+
<!-- mcp-name: io.github.CSOAI-ORG/commit-message-ai-mcp -->
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
| Version | Supported |
|
|
6
|
+
|---------|-----------|
|
|
7
|
+
| Latest | Yes |
|
|
8
|
+
| < Latest | No |
|
|
9
|
+
|
|
10
|
+
## Reporting a Vulnerability
|
|
11
|
+
|
|
12
|
+
If you discover a security vulnerability, please report it responsibly:
|
|
13
|
+
|
|
14
|
+
1. **Email**: security@csoai.org
|
|
15
|
+
2. **Do NOT** open a public GitHub issue for security vulnerabilities
|
|
16
|
+
3. Include a description of the vulnerability and steps to reproduce
|
|
17
|
+
|
|
18
|
+
We will acknowledge receipt within 48 hours and provide a detailed response within 5 business days.
|
|
19
|
+
|
|
20
|
+
## Security Measures
|
|
21
|
+
|
|
22
|
+
- All attestations are HMAC-SHA256 signed
|
|
23
|
+
- API keys are validated server-side
|
|
24
|
+
- Rate limiting is enforced per tier
|
|
25
|
+
- No sensitive data is logged or stored
|
|
26
|
+
|
|
27
|
+
## Disclosure Policy
|
|
28
|
+
|
|
29
|
+
We follow coordinated disclosure. We will work with you to understand and address the issue before any public disclosure.
|
|
@@ -3,7 +3,7 @@ requires = ["hatchling"]
|
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
[project]
|
|
5
5
|
name = "commit-message-ai-mcp"
|
|
6
|
-
version = "1.0.
|
|
6
|
+
version = "1.0.2"
|
|
7
7
|
description = "AI-powered commit message ai MCP server for agents. Supports generate commit, parse diff, suggest type. By MEOK AI Labs."
|
|
8
8
|
license = {file = "LICENSE"}
|
|
9
9
|
requires-python = ">=3.10"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "CSOAI-ORG/commit-message-ai-mcp",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "Commit Message Ai MCP Server by MEOK AI Labs",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/CSOAI-ORG/commit-message-ai-mcp",
|
|
9
|
+
"source": "https://github.com/CSOAI-ORG/commit-message-ai-mcp"
|
|
10
|
+
},
|
|
11
|
+
"packages": [
|
|
12
|
+
{
|
|
13
|
+
"registryType": "pypi",
|
|
14
|
+
"identifier": "commit-message-ai-mcp",
|
|
15
|
+
"version": "1.0.0",
|
|
16
|
+
"runtimeHint": "python",
|
|
17
|
+
"transport": {
|
|
18
|
+
"type": "stdio"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -88,7 +88,22 @@ def _is_breaking(text: str) -> bool:
|
|
|
88
88
|
@mcp.tool()
|
|
89
89
|
def generate_commit_message(changes_description: str, commit_type: str = "auto",
|
|
90
90
|
scope: str = "", breaking: bool = False, api_key: str = "") -> str:
|
|
91
|
-
"""Generate a conventional commit message from a description. Auto-detects type, scope, and breaking changes.
|
|
91
|
+
"""Generate a conventional commit message from a description. Auto-detects type, scope, and breaking changes.
|
|
92
|
+
|
|
93
|
+
Behavior:
|
|
94
|
+
This tool generates structured output without modifying external systems.
|
|
95
|
+
Output is deterministic for identical inputs. No side effects.
|
|
96
|
+
Free tier: 10/day rate limit. Pro tier: unlimited.
|
|
97
|
+
No authentication required for basic usage.
|
|
98
|
+
|
|
99
|
+
When to use:
|
|
100
|
+
Use this tool when you need structured analysis or classification
|
|
101
|
+
of inputs against established frameworks or standards.
|
|
102
|
+
|
|
103
|
+
When NOT to use:
|
|
104
|
+
Not suitable for real-time production decision-making without
|
|
105
|
+
human review of results.
|
|
106
|
+
"""
|
|
92
107
|
allowed, msg, tier = check_access(api_key)
|
|
93
108
|
if not allowed:
|
|
94
109
|
return {"error": msg, "upgrade_url": "https://meok.ai/pricing"}
|
|
@@ -134,7 +149,22 @@ def generate_commit_message(changes_description: str, commit_type: str = "auto",
|
|
|
134
149
|
|
|
135
150
|
@mcp.tool()
|
|
136
151
|
def analyze_diff(diff_text: str, api_key: str = "") -> str:
|
|
137
|
-
"""Parse a git diff and produce a structured summary with files changed, additions, deletions, and suggested commit type.
|
|
152
|
+
"""Parse a git diff and produce a structured summary with files changed, additions, deletions, and suggested commit type.
|
|
153
|
+
|
|
154
|
+
Behavior:
|
|
155
|
+
This tool generates structured output without modifying external systems.
|
|
156
|
+
Output is deterministic for identical inputs. No side effects.
|
|
157
|
+
Free tier: 10/day rate limit. Pro tier: unlimited.
|
|
158
|
+
No authentication required for basic usage.
|
|
159
|
+
|
|
160
|
+
When to use:
|
|
161
|
+
Use this tool when you need structured analysis or classification
|
|
162
|
+
of inputs against established frameworks or standards.
|
|
163
|
+
|
|
164
|
+
When NOT to use:
|
|
165
|
+
Not suitable for real-time production decision-making without
|
|
166
|
+
human review of results.
|
|
167
|
+
"""
|
|
138
168
|
allowed, msg, tier = check_access(api_key)
|
|
139
169
|
if not allowed:
|
|
140
170
|
return {"error": msg, "upgrade_url": "https://meok.ai/pricing"}
|
|
@@ -185,7 +215,23 @@ def analyze_diff(diff_text: str, api_key: str = "") -> str:
|
|
|
185
215
|
|
|
186
216
|
@mcp.tool()
|
|
187
217
|
def suggest_type(description: str, api_key: str = "") -> str:
|
|
188
|
-
"""Suggest the best conventional commit type for a change description with confidence scoring.
|
|
218
|
+
"""Suggest the best conventional commit type for a change description with confidence scoring.
|
|
219
|
+
|
|
220
|
+
Behavior:
|
|
221
|
+
This tool is read-only and stateless — it produces analysis output
|
|
222
|
+
without modifying any external systems, databases, or files.
|
|
223
|
+
Safe to call repeatedly with identical inputs (idempotent).
|
|
224
|
+
Free tier: 10/day rate limit. Pro tier: unlimited.
|
|
225
|
+
No authentication required for basic usage.
|
|
226
|
+
|
|
227
|
+
When to use:
|
|
228
|
+
Use this tool when you need structured analysis or classification
|
|
229
|
+
of inputs against established frameworks or standards.
|
|
230
|
+
|
|
231
|
+
When NOT to use:
|
|
232
|
+
Not suitable for real-time production decision-making without
|
|
233
|
+
human review of results.
|
|
234
|
+
"""
|
|
189
235
|
allowed, msg, tier = check_access(api_key)
|
|
190
236
|
if not allowed:
|
|
191
237
|
return {"error": msg, "upgrade_url": "https://meok.ai/pricing"}
|
|
@@ -225,7 +271,23 @@ def suggest_type(description: str, api_key: str = "") -> str:
|
|
|
225
271
|
|
|
226
272
|
@mcp.tool()
|
|
227
273
|
def validate_conventional(message: str, api_key: str = "") -> str:
|
|
228
|
-
"""Validate a commit message against the Conventional Commits specification and report issues.
|
|
274
|
+
"""Validate a commit message against the Conventional Commits specification and report issues.
|
|
275
|
+
|
|
276
|
+
Behavior:
|
|
277
|
+
This tool is read-only and stateless — it produces analysis output
|
|
278
|
+
without modifying any external systems, databases, or files.
|
|
279
|
+
Safe to call repeatedly with identical inputs (idempotent).
|
|
280
|
+
Free tier: 10/day rate limit. Pro tier: unlimited.
|
|
281
|
+
No authentication required for basic usage.
|
|
282
|
+
|
|
283
|
+
When to use:
|
|
284
|
+
Use this tool when you need structured analysis or classification
|
|
285
|
+
of inputs against established frameworks or standards.
|
|
286
|
+
|
|
287
|
+
When NOT to use:
|
|
288
|
+
Not suitable for real-time production decision-making without
|
|
289
|
+
human review of results.
|
|
290
|
+
"""
|
|
229
291
|
allowed, msg, tier = check_access(api_key)
|
|
230
292
|
if not allowed:
|
|
231
293
|
return {"error": msg, "upgrade_url": "https://meok.ai/pricing"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Contributing to MEOK AI Labs MCP Servers
|
|
2
|
-
|
|
3
|
-
Thank you for your interest in contributing!
|
|
4
|
-
|
|
5
|
-
## How to Contribute
|
|
6
|
-
|
|
7
|
-
1. Fork the repository.
|
|
8
|
-
2. Create a feature branch (`git checkout -b feature/amazing-feature`).
|
|
9
|
-
3. Commit your changes (`git commit -m 'feat: add amazing feature'`).
|
|
10
|
-
4. Push to the branch (`git push origin feature/amazing-feature`).
|
|
11
|
-
5. Open a Pull Request.
|
|
12
|
-
|
|
13
|
-
## Code Style
|
|
14
|
-
|
|
15
|
-
- Follow PEP 8 for Python code.
|
|
16
|
-
- Keep tool interfaces backward-compatible when possible.
|
|
17
|
-
- Add tests for new functionality.
|
|
18
|
-
|
|
19
|
-
## Questions?
|
|
20
|
-
|
|
21
|
-
Reach out at nicholas@meok.ai.
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Commit Message AI MCP Server
|
|
2
|
-
|
|
3
|
-
> By [MEOK AI Labs](https://meok.ai) — Generate conventional commit messages from diffs and descriptions
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
pip install commit-message-ai-mcp
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Usage
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
python server.py
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Tools
|
|
18
|
-
|
|
19
|
-
### `generate_commit`
|
|
20
|
-
Generate conventional commit message (feat/fix/refactor/docs/test/chore) with auto-detection.
|
|
21
|
-
|
|
22
|
-
**Parameters:**
|
|
23
|
-
- `changes_description` (str): Description of changes
|
|
24
|
-
- `type` (str): Commit type or 'auto' for auto-detection
|
|
25
|
-
|
|
26
|
-
### `parse_diff`
|
|
27
|
-
Parse a git diff and summarize the changes.
|
|
28
|
-
|
|
29
|
-
**Parameters:**
|
|
30
|
-
- `diff_text` (str): Git diff text
|
|
31
|
-
|
|
32
|
-
### `suggest_type`
|
|
33
|
-
Suggest commit type based on change description.
|
|
34
|
-
|
|
35
|
-
**Parameters:**
|
|
36
|
-
- `description` (str): Change description
|
|
37
|
-
|
|
38
|
-
### `format_changelog`
|
|
39
|
-
Format a list of commits into a changelog entry.
|
|
40
|
-
|
|
41
|
-
**Parameters:**
|
|
42
|
-
- `commits` (str): Commit messages
|
|
43
|
-
|
|
44
|
-
## Authentication
|
|
45
|
-
|
|
46
|
-
Free tier: 30 calls/day. Upgrade at [meok.ai/pricing](https://meok.ai/pricing) for unlimited access.
|
|
47
|
-
|
|
48
|
-
## License
|
|
49
|
-
|
|
50
|
-
MIT — MEOK AI Labs
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## Supported Versions
|
|
4
|
-
|
|
5
|
-
| Version | Supported |
|
|
6
|
-
| ------- | ------------------ |
|
|
7
|
-
| 1.0.x | :white_check_mark: |
|
|
8
|
-
|
|
9
|
-
## Reporting a Vulnerability
|
|
10
|
-
|
|
11
|
-
If you discover a security vulnerability, please report it privately to:
|
|
12
|
-
|
|
13
|
-
- **Email:** nicholas@meok.ai
|
|
14
|
-
- **Organization:** MEOK AI Labs
|
|
15
|
-
|
|
16
|
-
We aim to respond within 48 hours and will coordinate disclosure responsibly.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "commit-message-ai-mcp",
|
|
3
|
-
"description": "MEOK AI Labs \u2014 commit-message-ai-mcp",
|
|
4
|
-
"vendor": "MEOK AI Labs",
|
|
5
|
-
"homepage": "https://meok.ai",
|
|
6
|
-
"repository": "https://github.com/CSOAI-ORG/commit-message-ai-mcp",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"runtime": "python",
|
|
9
|
-
"entryPoint": "mcp-wrapper.py"
|
|
10
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{commit_message_ai_mcp-1.0.0 → commit_message_ai_mcp-1.0.2}/.well-known/mcp/server-card.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|