📘 Rubric MCP Server
학생 과제 루브릭을 자동 생성하고 피드백을 제공하는 Model Context Protocol (MCP) 서버입니다. FastAPI와 FastMCP 기반으로 구축되어 있으며, PyPI를 통해 설치하거나 uvx 명령어로 바로 실행할 수 있습니다.
✨ 주요 기능
- ✅ 학습 주제/목표/학년에 따라 루브릭 자동 생성
- ✅ 제출된 과제가 있으면 AI 기반 피드백도 자동 제공
- 📚 학생의 학습 목표와 수준을 고려한 도서 추천 기능 포함
- ⚡ FastMCP 프로토콜 기반으로 Claude/ChatGPT/Gemini 등과 연동 가능
- 🧩 MCP Tool로 통합되어 AI 워크플로우에 쉽게 삽입 가능
🧰 MCP 명령어 (tool)
generate_rubric_feedback
| 입력 파라미터 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
topic |
string |
✅ | 과제 주제 |
objective |
string |
✅ | 학습 목표 |
grade_level |
string |
✅ | 학년 정보 |
name |
string |
❌ | 학생 이름 |
student_submission |
string |
❌ | 과제 제출물 |
출력:
{
"rubric_standards": "과제 평가 기준",
"grading_feedback": "학생 피드백 (선택적)"
}
📦 설치 방법
⚙️ MCP 플랫폼에서 사용 (uvx 권장)
MCP 설정 파일 (claude_desktop_config.json 등)에 아래 내용을 추가하세요:
{
"mcpServers": {
"rubric": {
"command": "uvx",
"args": ["rubric-agent"],
"env": {
"OPENAI_API_KEY": "your-openai-key",
"GOOGLE_API_KEY": "your-google-key",
"MODEL_TYPE": "openai", // 또는 gemini
"MODEL_NAME": "gpt-4o-mini" // 또는 gemini-2.0-flash 등
}
}
}
}
⚙️Python에서 직접 사용
rubricgenerator_mcp_server 패키지는 MCP 서버로 실행하지 않고도 직접 호출하여 사용할 수 있습니다.
✅ name과 student_submission을 모두 입력하면, AI가 학생 맞춤형 피드백과 학생 수준에 맞는 추천 도서도 함께 제공합니다.
from rubricagent import generate_rubric_feedback
입력값 설정
inputs = {
"topic": "지구 문제에 우리는 어떻게 대처하는가? (환경문제)",
"objective": "환경 논제 글쓰기",
"grade_level": "초등학교 6학년",
"name": None, # 학생 이름이 없으면 피드백 없이 루브릭만 생성
"student_submission": None # 제출물이 없으면 피드백 없이 루브릭만 생성
}
# 루브릭 생성 함수 호출
response = generate_rubric_feedback(**inputs)
# 결과 출력
print(response["rubric_standards"]) # 평가 루브릭 출력
print(response["grading_feedback"]) # 학생 정보를 입력한 경우 피드백 및 추천 도서가 포함됨
📄 License
MIT License © 2025 See the LICENSE for details
Metadata
Release files for rubric-agent 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rubric_agent-0.0.7.tar.gz | 9.4 kB | Without provenance | Details for rubric_agent-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rubric_agent-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for rubric_agent-0.0.7-py3-none-any.whl |
Total release size: 20.9 kB
Release files / rubric_agent-0.0.7.tar.gz
| Download URL | rubric_agent-0.0.7.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9364c847fd945af8d7b88fd28bd87a76bcc91a91f06896abdb39914ed6f41c36
|
|
BLAKE2b-256 checksum How to use checksums |
919d65123ae64e5894c8643316569cd28fdc618326e93701cdc837c556bfc29b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.11
|
Release files / rubric_agent-0.0.7-py3-none-any.whl
| Download URL | rubric_agent-0.0.7-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a55c000e409520e463db4cb6020c4928acb9e602f9eea117b103ccf44dd25fe7
|
|
BLAKE2b-256 checksum How to use checksums |
2dc6e4caa7dbb8ad315d296a1b0ab927f6722f7a60ba2726d90b10ea1a4f61e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.11
|
Security for rubric-agent 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.