academia-mcp 0.0.5__tar.gz → 0.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/PKG-INFO +2 -1
- academia_mcp-0.0.7/academia_mcp/__init__.py +7 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/server.py +10 -2
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp.egg-info/PKG-INFO +2 -1
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp.egg-info/requires.txt +1 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/pyproject.toml +2 -1
- academia_mcp-0.0.5/academia_mcp/__init__.py +0 -7
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/LICENSE +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/README.md +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/__main__.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/py.typed +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/tools/__init__.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/tools/anthology_search.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/tools/arxiv_download.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/tools/arxiv_search.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/tools/hf_datasets_search.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/tools/py.typed +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp/tools/s2_citations.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp.egg-info/SOURCES.txt +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp.egg-info/dependency_links.txt +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp.egg-info/entry_points.txt +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/academia_mcp.egg-info/top_level.txt +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/setup.cfg +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/tests/test_anthology_search.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/tests/test_arxiv_download.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/tests/test_arxiv_search.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/tests/test_hf_dataset_search.py +0 -0
- {academia_mcp-0.0.5 → academia_mcp-0.0.7}/tests/test_s2_citations.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: academia-mcp
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary: MCP server that provides different tools to search for scientific publications
|
5
5
|
Author-email: Ilya Gusev <phoenixilya@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/IlyaGusev/academia_mcp
|
@@ -26,6 +26,7 @@ Requires-Dist: black==25.1.0
|
|
26
26
|
Requires-Dist: mypy==1.16.0
|
27
27
|
Requires-Dist: flake8==7.2.0
|
28
28
|
Requires-Dist: huggingface-hub>=0.32.4
|
29
|
+
Requires-Dist: fire>=0.7.0
|
29
30
|
Dynamic: license-file
|
30
31
|
|
31
32
|
# Academia MCP
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import fire # type: ignore
|
2
|
+
import uvicorn
|
1
3
|
from mcp.server.fastmcp import FastMCP
|
2
4
|
|
3
5
|
from .tools.arxiv_search import arxiv_search
|
@@ -6,7 +8,7 @@ from .tools.s2_citations import s2_citations
|
|
6
8
|
from .tools.hf_datasets_search import hf_datasets_search
|
7
9
|
from .tools.anthology_search import anthology_search
|
8
10
|
|
9
|
-
server = FastMCP("Academia MCP")
|
11
|
+
server = FastMCP("Academia MCP", stateless_http=True)
|
10
12
|
|
11
13
|
server.add_tool(arxiv_search)
|
12
14
|
server.add_tool(arxiv_download)
|
@@ -14,6 +16,12 @@ server.add_tool(s2_citations)
|
|
14
16
|
server.add_tool(hf_datasets_search)
|
15
17
|
server.add_tool(anthology_search)
|
16
18
|
|
19
|
+
http_app = server.streamable_http_app()
|
20
|
+
|
21
|
+
|
22
|
+
def run(host: str = "0.0.0.0", port: int = 5050) -> None:
|
23
|
+
uvicorn.run(http_app, host=host, port=port)
|
24
|
+
|
17
25
|
|
18
26
|
if __name__ == "__main__":
|
19
|
-
|
27
|
+
fire.Fire(run)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: academia-mcp
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary: MCP server that provides different tools to search for scientific publications
|
5
5
|
Author-email: Ilya Gusev <phoenixilya@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/IlyaGusev/academia_mcp
|
@@ -26,6 +26,7 @@ Requires-Dist: black==25.1.0
|
|
26
26
|
Requires-Dist: mypy==1.16.0
|
27
27
|
Requires-Dist: flake8==7.2.0
|
28
28
|
Requires-Dist: huggingface-hub>=0.32.4
|
29
|
+
Requires-Dist: fire>=0.7.0
|
29
30
|
Dynamic: license-file
|
30
31
|
|
31
32
|
# Academia MCP
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "academia-mcp"
|
7
|
-
version = "0.0.
|
7
|
+
version = "0.0.7"
|
8
8
|
description = "MCP server that provides different tools to search for scientific publications"
|
9
9
|
readme = "README.md"
|
10
10
|
authors = [
|
@@ -33,6 +33,7 @@ dependencies = [
|
|
33
33
|
"mypy==1.16.0",
|
34
34
|
"flake8==7.2.0",
|
35
35
|
"huggingface-hub>=0.32.4",
|
36
|
+
"fire>=0.7.0",
|
36
37
|
]
|
37
38
|
|
38
39
|
[project.urls]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|