mcp-reference
by ForceInjection
Overview
A reference processing tool for Markdown documents, providing automated reference extraction, citation renumbering, bibliography generation, and related literature recommendation functions, integrated via Model Context Protocol (MCP) into Trae IDE.
Installation
bash -lc "cd mcp-reference && PYTHONPATH=. LOG_LEVEL=INFO uv run --python 3.12 --with fastmcp==2.0.0 --with fastapi==0.115.12 --with uvicorn==0.32.0 --with pydantic==2.9.0 --with markdown-it-py==3.0.0 --with mdit-py-plugins==0.4.0 fastmcp run app/mcp_server.py"Environment Variables
- LOG_LEVEL
Security Notes
The server exposes endpoints (`/api/v1/extract/references`, `/api/v1/extract/citations`, etc.) that accept a `file_path` parameter. This path is directly used by `app/services/markdown_parser.py`'s `read_markdown` function via `open()`, which makes the server vulnerable to arbitrary file read (path traversal) if not properly isolated or if input paths are not sanitized. The `/api/v1/system/stop` endpoint allows unauthenticated shutdown, which can disrupt service, though this is less critical than the file read vulnerability. It also uses `os._exit(0)` for an ungraceful shutdown.
Similar Servers
ls-mcp
Command-line tool for discovering, analyzing, and reporting on Model Context Protocol (MCP) server configurations in a local development environment.
sub-agents-mcp
Provides a Model Context Protocol (MCP) server to enable Claude Code–style sub-agent workflows in any MCP-compatible tool, executing agents via various AI CLI backends.
codebadger
A containerized Model Context Protocol (MCP) server providing static code analysis using Joern's Code Property Graph (CPG) technology.
consult-user-mcp
Enables AI agents (like Claude) to interact with users through native macOS dialogs (confirmation, choice, text input) or a PWA for push notifications and responses.