Skip to main content
Glama

All-in-MCP

A FastMCP-based Model Context Protocol (MCP) server providing academic paper search, web search, and PDF processing utilities. Features a modular architecture with both proxy and standalone server capabilities.

APaper Research Direction

Architecture

All-in-MCP uses a modern FastMCP architecture with three main components:

  1. 🔄 All-in-MCP Proxy Server: Main server that routes requests to academic tools and web search

  2. 📚 APaper Module: Isolated academic research server with specialized paper search tools

  3. 🔍 Qwen Search Module: Web search server powered by Qwen/Dashscope API with SSE-based MCP

This design provides better modularity, performance, and scalability.

Related MCP server: Security Paper Search MCP Server

Features

All servers expose search tools as FastMCP endpoints with automatic tool registration:

Available Tools

Category

Tool Name

Description

Backend

Academic Research

apaper_search_iacr_papers

Search academic papers from IACR ePrint Archive

APaper

apaper_download_iacr_paper

Download PDF of an IACR ePrint paper

APaper

apaper_read_iacr_paper

Read and extract text content from an IACR ePrint paper PDF

APaper

Bibliography Search

apaper_search_dblp_papers

Search DBLP computer science bibliography database

APaper

Cross-platform Search

apaper_search_google_scholar_papers

Search academic papers across disciplines with citation data

APaper

Web Search

qwen_search_web_search

Search the web using Qwen/Dashscope API

Qwen Search

GitHub Repository

github-repo-mcp_getRepoAllDirectories

Get all directories from a GitHub repository

GitHub-Repo-MCP

github-repo-mcp_getRepoDirectories

Get directories from a specific path in GitHub repository

GitHub-Repo-MCP

github-repo-mcp_getRepoFile

Get file content from GitHub repository

GitHub-Repo-MCP

All tools are implemented using FastMCP decorators with automatic registration, built-in validation, and enhanced error handling.

Quick Start

Prerequisites

  • Python 3.10 or higher

  • pipx for Python package installation

  • npx for MCP Inspector (Node.js required)

Integration with MCP Clients

Add the servers to your MCP client configuration:

VSCode Configuration (.vscode/mcp.json)

{
  "servers": {
    "all-in-mcp": {
      "type": "stdio",
      "command": "pipx",
      "args": ["run", "all-in-mcp"],
      "env": {
        "APAPER": "true",
        "QWEN_SEARCH": "true",
        "DASHSCOPE_API_KEY": "your_api_key_here",
        "GITHUB_REPO_MCP": "true"
      }
    }
  }
}

Claude Code Configuration (.mcp.json)

{
  "mcpServers": {
    "all-in-mcp": {
      "type": "stdio",
      "command": "pipx",
      "args": ["run", "all-in-mcp"],
      "env": {
        "APAPER": "true",
        "QWEN_SEARCH": "true",
        "DASHSCOPE_API_KEY": "your_api_key_here",
        "GITHUB_REPO_MCP": "true"
      }
    }
  }
}

Server Options

The main proxy server supports multiple MCP backends through environment variables:

# Run with APaper academic tools enabled
APAPER=true pipx run all-in-mcp

# Run with Qwen Search web search enabled
QWEN_SEARCH=true DASHSCOPE_API_KEY=your_api_key_here pipx run all-in-mcp

# Run with GitHub repository tools enabled
GITHUB_REPO_MCP=true pipx run all-in-mcp

# Run with all backends enabled
APAPER=true QWEN_SEARCH=true DASHSCOPE_API_KEY=your_api_key_here GITHUB_REPO_MCP=true pipx run all-in-mcp

# Run standalone APaper server (academic tools only)
pipx run apaper

# Run standalone Qwen Search server (web search only)
DASHSCOPE_API_KEY=your_api_key_here pipx run qwen-search

Note: If you have the package installed globally, you can also run directly: all-in-mcp or qwen-search

Debugging & Testing

MCP Inspector

Use the official MCP Inspector to debug and test server functionality:

# Debug the main proxy server with APaper tools
APAPER=true npx @modelcontextprotocol/inspector pipx run all-in-mcp

# Debug with all backends enabled
APAPER=true GITHUB_REPO_MCP=true npx @modelcontextprotocol/inspector pipx run all-in-mcp

# Debug standalone APaper server
npx @modelcontextprotocol/inspector pipx run apaper

Local Development with uv

When developing locally, use uv run to debug specific MCP functions:

# Debug APaper server (academic tools)
npx @modelcontextprotocol/inspector uv run apaper

# Debug all-in-mcp proxy with APaper enabled
APAPER=true npx @modelcontextprotocol/inspector uv run all-in-mcp

# Debug all-in-mcp proxy with GitHub repo tools enabled
GITHUB_REPO_MCP=true npx @modelcontextprotocol/inspector uv run all-in-mcp

# Debug all-in-mcp with all backends enabled
APAPER=true QWEN_SEARCH=true DASHSCOPE_API_KEY=your_api_key_here GITHUB_REPO_MCP=true npx @modelcontextprotocol/inspector uv run all-in-mcp

# Debug Qwen Search server
DASHSCOPE_API_KEY=your_api_key_here npx @modelcontextprotocol/inspector uv run qwen-search

The MCP Inspector provides:

  • 🔍 Interactive Tool Testing: Test all available tools with real parameters

  • 📊 Server Information: View server capabilities and tool schemas

  • 🐛 Debug Messages: Monitor server communication and error messages

  • ⚡ Real-time Testing: Execute tools and see results immediately

Perfect for development, debugging, and understanding how the FastMCP tools work.

For development setup and contribution guidelines, see the Development Guide.

Quick Development Setup

# Clone the repository
git clone https://github.com/jiahaoxiang2000/all-in-mcp.git
cd all-in-mcp

# Install with development dependencies
uv sync --extra dev

# Run tests (now using unittest)
uv run python tests/test_fastmcp_server.py
uv run python tests/test_apaper_iacr.py
uv run python tests/test_apaper_pdf.py
uv run python tests/test_qwen_search.py

Available Tools

7 tools
apaper_download_iacr_paperB

Download PDF of an IACR ePrint paper

Args: paper_id: IACR paper ID (e.g., '2009/101') save_path: Directory to save the PDF (default: './downloads')

Inputs: paper_id (required), save_path. Returns: result

apaper_search_dblp_papersA

Search DBLP computer science bibliography database for papers

Args: query: Search query string (supports boolean 'and'/'or' operators) max_results: Maximum number of papers to return (default: 10) year_from: Lower bound for publication year (optional) year_to: Upper bound for publication year (optional) venue_filter: Case-insensitive substring filter for venues (e.g., 'ICLR', 'NeurIPS') include_bibtex: Whether to include BibTeX entries in results (default: False)

Inputs: query (required), max_results, year_from, year_to, +2 more. Returns: result

apaper_search_google_scholar_papersA

Search academic papers from Google Scholar

Args: query: Search query string (e.g., 'machine learning', 'neural networks') max_results: Maximum number of papers to return (default: 10) year_low: Minimum publication year (optional) year_high: Maximum publication year (optional)

Inputs: query (required), max_results, year_low, year_high. Returns: result

apaper_search_iacr_papersA

Search academic papers from IACR ePrint Archive

Args: query: Search query string (e.g., 'cryptography', 'secret sharing') max_results: Maximum number of papers to return (default: 10) fetch_details: Whether to fetch detailed information for each paper (default: True) year_min: Minimum publication year (revised after) year_max: Maximum publication year (revised before)

Inputs: query (required), max_results, fetch_details, year_min, +1 more. Returns: result

github-repo-mcp_getRepoAllDirectoriesD

Inputs: repoUrl (required).

github-repo-mcp_getRepoDirectoriesD

Inputs: repoUrl (required), path (required).

github-repo-mcp_getRepoFileD

Inputs: repoUrl (required), path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2/5.0

    Scored across 7 tools

    Disambiguation2/5

    The tools are split into two distinct domains (academic papers and GitHub), but within the GitHub group, three tools lack descriptions and are ambiguously named (e.g., getRepoAllDirectories vs getRepoDirectories). The apaper tools are well-described and distinct.

    Naming Consistency2/5

    Tool names follow two different conventions: snake_case with 'apaper_' prefix for academic tools, and camelCase with 'github-repo-mcp_' prefix for GitHub tools. This inconsistency makes it harder for an agent to predict naming patterns.

    Tool Count3/5

    The total of 7 tools is reasonable, but the server tries to cover two unrelated domains with only a few tools each. The academic part (~4 tools) is appropriately scoped, while the GitHub part (3 tools) feels marginal for a repository toolset.

    Completeness2/5

    The academic paper tools cover search and download, which is decent. However, the GitHub tools only provide read operations (get directories and file) with no support for listing repositories, searching code, or any write actions, leaving significant gaps for typical repository interactions.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables searching and retrieving security conference papers from major venues (S&P, USENIX, CCS, NDSS, etc.) using natural language queries through the MCP protocol.
      12 npm
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      A read-only FastMCP server for academic research that lets agents search papers, inspect metadata, follow citation graphs, generate BibTeX, and read full texts of open-access PDFs via semantic scholar, OpenAlex, arXiv, DBLP, and Crossref.
      6
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables users to search academic literature, explore citation and reference networks, retrieve detailed paper and author metadata, and generate paper recommendations through a FastMCP interface.
      -