About Jama Abstract MCP Server
Jama Abstract MCP Server is an MCP server in the Healthcare category: provide a flexible MCP server implementation that integrates with external tools and resources to enhance LLM applications. Enable dynamic interaction with data and actions through a standardized protocol, improving the capabilities of AI agents. Simplify the connection between language models and real-world context for more effective automation and assistance.
Install
git clone https://github.com/aliemregencer/jama-abstract-mcp-v2This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Jama Abstract MCP Server
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
JAMA VA Abstract Generator
Bu MCP (Model Context Protocol) sunucusu, JAMA Network makalelerinden Veterans Affairs (VA) formatında görsel özetler oluşturur ve bunları GitHub release olarak yükler.
Özellikler
- JAMA Network Makale Parsing: Çoklu scraping yöntemi ile güvenilir içerik çekme
- VA Template Kullanımı:
templates/jama_va.pptxşablonunu kullanarak tutarlı format - Akıllı İçerik Yerleştirme: Şekil isimlerine göre otomatik içerik dağıtımı
- GitHub Integration: Otomatik release oluşturma ve dosya yükleme
- MCP Protocol: Standart MCP araçları ile entegrasyon
- Container Ready: Docker container ortamında tam uyumlu çalışma
Scraping Yöntemleri
Sistem, JAMA Network makalelerini çekmek için çoklu yöntem kullanır:
- Requests (Öncelikli): Hızlı ve güvenilir HTTP istekleri
- Selenium (Yedek): JavaScript gerektiren sayfalar için
- Fallback Requests: Selenium başarısız olursa son çare
Container Ortamı Desteği
- Google Chrome otomatik kurulum
- ChromeDriver otomatik yönetimi
- Headless mode desteği
- Memory ve GPU optimizasyonları
Kurulum
Gereksinimler
pip install -r requirements.txt
Ortam Değişkenleri
export GITHUB_REPO="kullanici/repoadi"
export GITHUB_TOKEN="ghp_your_github_token_here"
Kullanım
MCP Tool Olarak
# MCP client'ta
result = await mcp.generate_va_abstract(
url="https://jamanetwork.com/journals/jamanetworkopen/article-abstract/...",
github_repo="kullanici/repoadi",
github_token="ghp_..."
)
Doğrudan Python
from app import create_graphical_abstract
result = create_graphical_abstract(
url="https://jamanetwork.com/...",
github_repo="kullanici/repoadi",
github_token="ghp_..."
)
print(result)
Template Yapısı
templates/jama_va.pptx dosyası aşağıdaki şekil isimlerini içerir:
title: Makale başlığıpopulation_subtitle: Popülasyon alt başlığıpopulation_description: Popülasyon açıklamasıintervention_subtitle: Müdahale alt başlığıintervention_description: Müdahale açıklamasısettings_locations_description: Ayarlar ve konumlarprimary_outcome_description: Birincil sonuçfindings_description_1&findings_description_2: Bulgular (2 parça)footer_citation: Alt bilgi alıntısı
Çıktı
- Dosya:
JAMA_VA_Abstract.pptx - GitHub Release:
latest-abstracttag'i ile - İndirme Linki: Herkese açık, kalıcı link
Smithery Deployment
Bu proje Smithery'de deploy edilmiştir ve MCP sunucusu olarak çalışır.
Konfigürasyon
runtime: "container"
startCommand:
type: "http"
command: "python"
args: ["-m", "server"]
Endpoint
- Port: 8000 (varsayılan)
- MCP Endpoint:
/mcp - Transport: HTTP
Hata Yönetimi
- JAMA URL doğrulama
- Template dosya kontrolü
- GitHub API hata yakalama
- Selenium hata yönetimi
Geliştirme
Test
python test_app.py
python test_mcp.py
Yerel Çalıştırma
python -m server
Lisans
Bu proje açık kaynak kodludur.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.