MCP Bootstrap Research Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Bootstrap Research ServerFind 3 papers about transformers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Bootstrap
A minimal, runnable project for learning the Model Context Protocol (MCP) — the open standard that lets AI apps discover and call tools from external servers.
You get both sides of the wire:
File | Role | What it does |
| MCP Server | Exposes |
| MCP Client / Host | Starts the server, lists tools, lets Gemini call them |
| Helper | Prints a quick map of the project |
How MCP fits together
┌─────────────────┐ stdio (JSON-RPC) ┌──────────────────┐
│ Host / Client │ ◄──────────────────────────────► │ MCP Server │
│ mcp_chatbot.py │ list_tools / call_tool │ research_server │
│ + Gemini LLM │ │ • search_papers │
└─────────────────┘ │ • extract_info │
└──────────────────┘The host starts the server as a subprocess (
stdiotransport).It calls
list_tools— the server returns schemas for each@mcp.tool().Those schemas are given to the LLM as function declarations.
When the model wants data, the host runs
call_toolon the MCP session and feeds the result back.
Same server can also be plugged into Cursor or Claude Desktop — that’s the point of the protocol.
Related MCP server: ArXiv MCP Server
Prerequisites
Python 3.11+
uv (recommended) or pip + venv
A free Gemini API key
Install uv (if you don’t have it)
# macOS / Linux
brew install uv
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Setup
1. Clone the repo
git clone <your-repo-url>
cd mcp_project # or whatever you named the folder2. Configure your API key
cp .env.example .envOpen .env and set:
GEMINI_API_KEY=your_key_here3. Install packages
Option A — uv (recommended)
uv syncThis creates a virtualenv (.venv) and installs everything from pyproject.toml:
Package | Why it’s needed |
| MCP client + FastMCP server SDK |
| Gemini API for the chatbot host |
| Search papers in |
| Load |
Option B — pip + venv
python -m venv .venv
# macOS / Linux
source .venv/bin/activate
# Windows
# .venv\Scripts\activate
pip install -U pip
pip install mcp google-genai arxiv python-dotenvRun the full demo (client + server)
With uv:
uv run mcp_chatbot.pyWith pip / activated venv:
python mcp_chatbot.pyYou’ll see lines like → MCP tool: search_papers(...) when the LLM decides to use a tool.
Try these questions
Copy-paste any of these after the chatbot starts:
Search papers (search_papers)
Find 3 papers about transformers
Search for 5 papers on reinforcement learning
Find recent papers about quantum computing
Search arXiv for graph neural networks, max 2 results
What papers exist on attention mechanisms in NLP?Look up a paper (extract_info)
Tell me about paper 1706.03762
What is the summary of paper 1706.03762?
Who are the authors of paper 1706.03762?
Give me the title and PDF link for paper 1706.03762Combine both tools
Search for papers on transformers, then summarize the first one
Find 3 physics papers and tell me what the first paper is about
Search for algorithms papers and list their titlesTip: run a search first so papers are cached under
papers/, then ask about a specific paper ID from the results.
Or just print the project map:
uv run main.py
# or: python main.pyRun the server alone
Useful when connecting from Cursor / Claude Desktop:
uv run research_server.py
# or: python research_server.pyThis process speaks MCP over stdin/stdout. Don’t type into it manually — a host drives it.
Cursor / Claude Desktop config example
Add something like this to your MCP settings (adjust the path):
{
"mcpServers": {
"research": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/mcp_project",
"run",
"research_server.py"
]
}
}
}Tools exposed by the server
search_papers(topic, max_results=5)
Queries arXiv, caches metadata under papers/<topic>/papers_info.json, returns paper IDs.
extract_info(paper_id)
Looks up a cached paper by ID across all topic folders.
Project layout
.
├── research_server.py # MCP server (tools)
├── mcp_chatbot.py # MCP client + Gemini tool loop
├── main.py # Quick orientation
├── papers/ # Local cache created by search_papers
├── .env.example # Copy → .env (never commit secrets)
├── mcp_config.example.json # Sample Cursor / Claude Desktop MCP config
├── pyproject.toml
├── LICENSE
└── README.mdLearning path
Read
research_server.py— how FastMCP registers tools.Read
mcp_chatbot.py— connect →list_tools→ LLM →call_tool.Run the chatbot and watch tool calls print in the terminal.
Point Cursor at the same server and ask the same questions in the IDE.
Notes
Generated paper caches live in
papers/(gitignored except.gitkeep).Keep secrets in
.envonly —.envis gitignored.Default model is
gemini-2.5-flash; override withGEMINI_MODELin.env.
License
MIT — use this as a learning starter for your own MCP servers.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceProvides paper search, PDF link retrieval, and content parsing for arXiv research papers, enabling seamless access to scientific literature through the Model Context Protocol.Last updated42422MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to search and access arXiv papers through a Model Context Protocol interface, allowing for paper search, download, listing, and reading functionality.Last updated42Apache 2.0
- Alicense-qualityDmaintenanceEnables AI assistants to search, retrieve, analyze, and export academic papers from arXiv.org using the Model Context Protocol.Last updated19MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search, download, and access arXiv papers with local storage and date filtering via the Model Context Protocol.Last updated31Apache 2.0
Related MCP Connectors
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Search arXiv, fetch paper metadata, and read full-text content.
Search and download academic papers from arXiv, PubMed, bioRxiv, medRxiv, Google Scholar, Semantic…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mishrarajesh/mcp-project'
If you have feedback or need assistance with the MCP directory API, please join our Discord server