TCC-MCP
MCP server for academic writing and review of Brazilian undergraduate theses (TCC) following ABNT standards. Enables article search, PDF reading, citation management, assisted writing, review, validation, and PDF compilation.
README
TCC-MCP
Academic writing and review tool for Brazilian TCCs (undergraduate theses) following ABNT standards.
About
MCP (Model Context Protocol) server that provides academic assistance tools for undergraduate theses (TCC) in Brazil. Supports article search, PDF reading, BibTeX citation management, chapter writing with impersonal tone, review, and PDF compilation.
Features
- Academic Search - Search articles in academic databases
- PDF Reading - Extract text from PDF documents
- Citation Management - Add references to .bib file
- Assisted Writing - Write chapters with academic impersonal tone
- Review - Check tone and citations
- ABNT Validation - Standardize BibTeX and verify NBR 14724 elements
- Compilation - Generate PDF from LaTeX, Markdown or Typst
Installation
1. Clone the repository
git clone https://github.com/josemurilors/tcc-mcp.git
cd tcc-mcp
2. Configure email in opencode.json
{
"mcpServers": {
"tcc-mcp": {
"env": {
"TCC_MCP_EMAIL": "your.email@academic.com"
}
}
}
}
3. (Optional) Install compilers
- LaTeX: TeX Live (Linux), MiKTeX (Windows), MacTeX (macOS)
- Pandoc: https://pandoc.org/installing.html
- Typst: https://typst.app/
Usage
Skill Commands
#pesquisar <tema>- Search academic articles#ler <arquivo.pdf>- Extract text from PDF#citar <doi>- Add reference to .bib#escrever <capitulo>- Write chapter with impersonal tone#revisar- Review tone and citations#limpar-bib- Standardize BibTeX for ABNT#validar- Verify citations vs references#estrutura- Validate NBR 14724 elements#compilar- Generate PDF
Examples
See examples/ folder for sample projects in LaTeX, Markdown and Typst.
Development
pip install -e "mcp_server[dev]"
pytest tests/ -v
Makefile
make install # Install dependencies
make test # Run tests
make lint-md # Lint Markdown
make lint-secrets # Scan secrets
make lint # Run all lints
make validate # Validate .gitignore
Security: 4-Layer Defense
Defense-in-depth strategy to prevent secret leaks:
| Layer | Defense | Tool | Function |
|---|---|---|---|
| 1 | Local | husky + gitleaks | Blocks commits with secrets |
| 2 | Repository | .gitignore + .env.example | Prevents tracking sensitive files |
| 3 | Cloud | GitHub Push Protection | Blocks pushes with secrets |
| 4 | AI | .cursorrules | Instructs AI to never generate insecure code |
See SECURITY.md for full details.
Language Modes
The repository supports bilingual documentation (PT-BR/EN):
PT-BR-First (Current)
README.pt-BR.mdis the source of truth (Portuguese)README.mdis the translation (English)
EN-First
README.mdis the source of truth (English)README.pt-BR.mdis the translation (Portuguese)
Switch modes with:
./scripts/set-mode.sh pt-br-first
./scripts/set-mode.sh en-first
Commit Convention
All commits must follow the Conventional Commits specification:
<type>(<optional scope>): <description>
Available Types
feat- New featurefix- Bug fixdocs- Documentation changessecurity- Security fixesstyle- Code style changesrefactor- Code refactoringtest- Adding or updating testschore- Maintenance tasksci- CI/CD configuration changesrevert- Revert previous commits
Project Structure
.
├── .github/
│ ├── workflows/
│ │ ├── ci.yml # CI validation + secret scanning
│ │ └── test.yml # Cross-platform Python tests
│ ├── dependabot.yml
│ └── mode.json # Language mode configuration
├── .husky/
│ ├── commit-msg # Commit message validation
│ └── pre-commit # Gitleaks + Markdown linting
├── scripts/
│ ├── set-mode.sh # Language mode switcher
│ └── verify-gitignore.sh # .gitignore verification
├── mcp_server/
│ ├── server.py # Main MCP server
│ └── pyproject.toml # Python project configuration
├── tests/ # Unit tests
├── examples/ # Example projects
├── docs/ # Additional documentation
├── README.md # English documentation
├── README.pt-BR.md # Portuguese documentation
├── CONTRIBUTING.md # Contribution guidelines
├── CODE_OF_CONDUCT.md # Community standards
├── SECURITY.md # Security policy
├── CHANGELOG.md # Version history
├── .cursorrules # AI security rules
├── .gitleaks.toml # Secret detection configuration
├── .env.example # Environment template
├── Makefile # Development commands
├── .commitlintrc.json # Commit linting rules
├── .markdownlint.json # Markdown linting rules
└── .lychee.toml # Link checker configuration
Contributing
We welcome contributions! Please read CONTRIBUTING.md for details.
Security
See SECURITY.md for:
- Vulnerability reporting process
- 4-layer secret protection strategy
- Contingency plan for leaked secrets
- AI security rules (.cursorrules)
License
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this repository useful, consider giving it a star!
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。