gamefa-mcp 0.1.0__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.
- gamefa_mcp-0.1.0/.github/workflows/ci.yml +22 -0
- gamefa_mcp-0.1.0/.github/workflows/publish.yml +51 -0
- gamefa_mcp-0.1.0/.gitignore +6 -0
- gamefa_mcp-0.1.0/LICENSE +21 -0
- gamefa_mcp-0.1.0/PKG-INFO +91 -0
- gamefa_mcp-0.1.0/README.md +64 -0
- gamefa_mcp-0.1.0/pyproject.toml +55 -0
- gamefa_mcp-0.1.0/server.json +32 -0
- gamefa_mcp-0.1.0/src/gamefa_mcp/__init__.py +5 -0
- gamefa_mcp-0.1.0/src/gamefa_mcp/gamefa.py +968 -0
- gamefa_mcp-0.1.0/src/gamefa_mcp/http.py +242 -0
- gamefa_mcp-0.1.0/src/gamefa_mcp/registry.py +16 -0
- gamefa_mcp-0.1.0/src/gamefa_mcp/server.py +91 -0
- gamefa_mcp-0.1.0/tests/conftest.py +78 -0
- gamefa_mcp-0.1.0/tests/fixtures/article.json +1 -0
- gamefa_mcp-0.1.0/tests/fixtures/comments.json +1 -0
- gamefa_mcp-0.1.0/tests/fixtures/filmpage.html +141 -0
- gamefa_mcp-0.1.0/tests/fixtures/films.html +28 -0
- gamefa_mcp-0.1.0/tests/fixtures/game.html +127 -0
- gamefa_mcp-0.1.0/tests/fixtures/games.html +31 -0
- gamefa_mcp-0.1.0/tests/fixtures/popular.html +34 -0
- gamefa_mcp-0.1.0/tests/fixtures/posts.json +1 -0
- gamefa_mcp-0.1.0/tests/fixtures/related.html +19 -0
- gamefa_mcp-0.1.0/tests/fixtures/reviews.json +1 -0
- gamefa_mcp-0.1.0/tests/fixtures/similar.html +31 -0
- gamefa_mcp-0.1.0/tests/fixtures/terms.json +1 -0
- gamefa_mcp-0.1.0/tests/test_gamefa.py +225 -0
- gamefa_mcp-0.1.0/tests/test_live_gamefa.py +86 -0
- gamefa_mcp-0.1.0/uv.lock +1362 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
python: ["3.10", "3.11", "3.12", "3.13"]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v7
|
|
16
|
+
- uses: astral-sh/setup-uv@v10.2.0
|
|
17
|
+
with:
|
|
18
|
+
python-version: ${{ matrix.python }}
|
|
19
|
+
- run: uv sync --locked
|
|
20
|
+
- run: uv run ruff check .
|
|
21
|
+
- run: uv run ruff format --check .
|
|
22
|
+
- run: uv run pytest -q
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
# Tag a release (git tag v0.1.0 && git push --tags) after bumping the version in
|
|
4
|
+
# pyproject.toml and server.json.
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
tags: ["v*"]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
pypi:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
environment: pypi
|
|
13
|
+
permissions:
|
|
14
|
+
id-token: write # PyPI trusted publishing
|
|
15
|
+
contents: write # GitHub Release
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v7
|
|
18
|
+
- uses: astral-sh/setup-uv@v10.2.0
|
|
19
|
+
- name: Check versions match the tag
|
|
20
|
+
run: |
|
|
21
|
+
TAG=${GITHUB_REF_NAME#v}
|
|
22
|
+
grep -q "^version = \"$TAG\"" pyproject.toml
|
|
23
|
+
test "$(jq -r .version server.json)" = "$TAG"
|
|
24
|
+
test "$(jq -r '.packages[0].version' server.json)" = "$TAG"
|
|
25
|
+
- run: uv sync --locked && uv run pytest -q
|
|
26
|
+
- run: uv build
|
|
27
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
28
|
+
- run: gh release create "$GITHUB_REF_NAME" dist/* --generate-notes --title "$GITHUB_REF_NAME"
|
|
29
|
+
env:
|
|
30
|
+
GH_TOKEN: ${{ github.token }}
|
|
31
|
+
|
|
32
|
+
mcp-registry:
|
|
33
|
+
needs: pypi
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
permissions:
|
|
36
|
+
id-token: write # MCP Registry login via GitHub OIDC
|
|
37
|
+
contents: read
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v7
|
|
40
|
+
- name: Wait for PyPI to serve the new version
|
|
41
|
+
run: |
|
|
42
|
+
for i in $(seq 1 30); do
|
|
43
|
+
curl -sf "https://pypi.org/pypi/gamefa-mcp/${GITHUB_REF_NAME#v}/json" >/dev/null && exit 0
|
|
44
|
+
sleep 10
|
|
45
|
+
done
|
|
46
|
+
exit 1
|
|
47
|
+
- name: Install mcp-publisher
|
|
48
|
+
run: |
|
|
49
|
+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.8.1/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
|
|
50
|
+
- run: ./mcp-publisher login github-oidc
|
|
51
|
+
- run: ./mcp-publisher publish
|
gamefa_mcp-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Sepehr Radmard
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: gamefa-mcp
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Unofficial read-only MCP server for Gamefa (gamefa.com), the Persian game and film site: news, reviews with scores, game and film profiles, upcoming releases.
|
|
5
|
+
Project-URL: Homepage, https://github.com/sepehr071/gamefa-mcp
|
|
6
|
+
Project-URL: Issues, https://github.com/sepehr071/gamefa-mcp/issues
|
|
7
|
+
Project-URL: Website, https://mcpfarsi.ir/
|
|
8
|
+
Author-email: Sepehr Radmard <sepehrr80@gmail.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: cinema,claude,farsi,game-news,game-reviews,gamefa,gamefa-com,iran,mcp,model-context-protocol,persian,release-calendar,video-games
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Requires-Dist: curl-cffi>=0.16.3
|
|
23
|
+
Requires-Dist: httpx-curl-cffi>=0.1.5
|
|
24
|
+
Requires-Dist: httpx>=0.27
|
|
25
|
+
Requires-Dist: mcp<3,>=2.2
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
<!-- mcp-name: io.github.sepehr071/gamefa-mcp -->
|
|
29
|
+
|
|
30
|
+
# gamefa-mcp: Gamefa (گیمفا) game and film news, reviews and release calendar MCP server for AI agents
|
|
31
|
+
|
|
32
|
+
**gamefa-mcp is an unofficial, read-only MCP server that gives AI agents Gamefa (گیمفا, gamefa.com), the large Persian site for video games, film and tech.**<br>
|
|
33
|
+
Its 13 tools search and read articles, list the editors' scored reviews, browse game and film profiles with Gamefa, user and IMDb scores,<br>
|
|
34
|
+
show the upcoming release calendar and rank the most read articles. No API key or account is needed. It works in Claude, Cursor, Copilot and any other MCP client.
|
|
35
|
+
|
|
36
|
+
[](https://pypi.org/project/gamefa-mcp/)
|
|
37
|
+
[](https://github.com/sepehr071/gamefa-mcp/blob/main/LICENSE)
|
|
38
|
+
|
|
39
|
+
[For AI agents](#for-ai-agents) · [Quick start](#quick-start) · [Tools](#tools) · [فارسی](#فارسی)
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## For AI agents
|
|
44
|
+
|
|
45
|
+
- **What:** unofficial MCP server (model context protocol) for gamefa.com: news and review search, full article text, review scores with pros and cons, game profiles (Gamefa score, user score, Metacritic, platforms, genres, publisher, release date), film and series profiles (IMDb, cast, director), upcoming game releases, most read articles.
|
|
46
|
+
- **Install:** `uvx gamefa-mcp` or `claude mcp add gamefa -- uvx gamefa-mcp`. Transport: stdio. Needs [uv](https://docs.astral.sh/uv/getting-started/installation/) (Python 3.10+).
|
|
47
|
+
- **Auth:** none. Optional `GAMEFA_MCP_PROXY` (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.
|
|
48
|
+
- **Access:** read-only. It cannot log in, comment or rate, so no confirmation is needed before calling any tool.
|
|
49
|
+
- **Tools:** 13, all prefixed `gf_`. Typical sequences: `gf_games(query)` -> `gf_game(slug)` -> `gf_article(review id)`; `gf_upcoming_games`; `gf_search_articles` -> `gf_article`.
|
|
50
|
+
- **Use when:** the user asks what Gamefa says about a game, its review score, the latest game or film news, what releases next, top rated games of a platform or genre, or what is trending.
|
|
51
|
+
- **Do not use when:** the user needs scores from other sites (Metacritic, OpenCritic) beyond what Gamefa lists, or prices and stores.
|
|
52
|
+
- **Output:** compact JSON. Article text is Persian; game and film titles are English. Scores are out of 10; release dates come as Jalali and ISO.
|
|
53
|
+
|
|
54
|
+
## Quick start
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
claude mcp add gamefa -- uvx gamefa-mcp
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Or in any MCP client config: `{"command": "uvx", "args": ["gamefa-mcp"]}`.
|
|
61
|
+
|
|
62
|
+
## Tools
|
|
63
|
+
|
|
64
|
+
| Tool | What it does |
|
|
65
|
+
|---|---|
|
|
66
|
+
| `gf_search_articles` | Search news, reviews and features by keyword, optionally in one section |
|
|
67
|
+
| `gf_latest_articles` | Newest articles, optionally for news, reviews, trailers, pc, playstation, cinema... |
|
|
68
|
+
| `gf_article` | Full article text by id or slug; reviews include score, label, verdict, pros, cons |
|
|
69
|
+
| `gf_reviews` | Latest game reviews with the editors' score out of 10 |
|
|
70
|
+
| `gf_popular` | Most viewed articles of the week, month, season or year |
|
|
71
|
+
| `gf_games` | Game profiles with Gamefa and user scores; sort, search, filter by platform, genre, developer, publisher, release year |
|
|
72
|
+
| `gf_upcoming_games` | Release calendar: unreleased games, soonest first; by month, platform or genre |
|
|
73
|
+
| `gf_game` | One game profile: scores, Metacritic, release, platforms, genres, review link |
|
|
74
|
+
| `gf_films` | Film and series profiles with IMDb and user scores; filter by movie/series, genre, person, studio, country, language, year |
|
|
75
|
+
| `gf_film` | One film or series: cast, director, countries, runtime, scores |
|
|
76
|
+
| `gf_terms` | Look up the slug of a platform, genre, developer, publisher, film person or studio, or an article tag |
|
|
77
|
+
| `gf_comments` | Reader comments (with likes) under an article or a game/film profile |
|
|
78
|
+
| `gf_related` | Articles Gamefa links to a game/film, or similar games/films |
|
|
79
|
+
|
|
80
|
+
## FAQ
|
|
81
|
+
|
|
82
|
+
**Does it need an account?** No. **Is it official?** No, it reads the public pages and REST API of gamefa.com.
|
|
83
|
+
**Which network?** Both Iranian and foreign connections reach the site; set `GAMEFA_MCP_PROXY` if yours is blocked.
|
|
84
|
+
|
|
85
|
+
## فارسی
|
|
86
|
+
|
|
87
|
+
gamefa-mcp یک سرور MCP غیررسمی و فقطخواندنی برای سایت گیمفا (gamefa.com) است: جستوجوی اخبار و مقالات، متن کامل نقدها همراه با امتیاز، مشخصات و امتیاز بازیها و فیلمها، بازیهای در راه و پربازدیدترین مطالب. نیازی به کلید API یا حساب کاربری نیست.
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
Made by Sepehr Radmard (سپهر رادمرد): [github.com/sepehr071](https://github.com/sepehr071) · [linkedin.com/in/sepehr-radmard](https://linkedin.com/in/sepehr-radmard). MIT license.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<!-- mcp-name: io.github.sepehr071/gamefa-mcp -->
|
|
2
|
+
|
|
3
|
+
# gamefa-mcp: Gamefa (گیمفا) game and film news, reviews and release calendar MCP server for AI agents
|
|
4
|
+
|
|
5
|
+
**gamefa-mcp is an unofficial, read-only MCP server that gives AI agents Gamefa (گیمفا, gamefa.com), the large Persian site for video games, film and tech.**<br>
|
|
6
|
+
Its 13 tools search and read articles, list the editors' scored reviews, browse game and film profiles with Gamefa, user and IMDb scores,<br>
|
|
7
|
+
show the upcoming release calendar and rank the most read articles. No API key or account is needed. It works in Claude, Cursor, Copilot and any other MCP client.
|
|
8
|
+
|
|
9
|
+
[](https://pypi.org/project/gamefa-mcp/)
|
|
10
|
+
[](https://github.com/sepehr071/gamefa-mcp/blob/main/LICENSE)
|
|
11
|
+
|
|
12
|
+
[For AI agents](#for-ai-agents) · [Quick start](#quick-start) · [Tools](#tools) · [فارسی](#فارسی)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## For AI agents
|
|
17
|
+
|
|
18
|
+
- **What:** unofficial MCP server (model context protocol) for gamefa.com: news and review search, full article text, review scores with pros and cons, game profiles (Gamefa score, user score, Metacritic, platforms, genres, publisher, release date), film and series profiles (IMDb, cast, director), upcoming game releases, most read articles.
|
|
19
|
+
- **Install:** `uvx gamefa-mcp` or `claude mcp add gamefa -- uvx gamefa-mcp`. Transport: stdio. Needs [uv](https://docs.astral.sh/uv/getting-started/installation/) (Python 3.10+).
|
|
20
|
+
- **Auth:** none. Optional `GAMEFA_MCP_PROXY` (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.
|
|
21
|
+
- **Access:** read-only. It cannot log in, comment or rate, so no confirmation is needed before calling any tool.
|
|
22
|
+
- **Tools:** 13, all prefixed `gf_`. Typical sequences: `gf_games(query)` -> `gf_game(slug)` -> `gf_article(review id)`; `gf_upcoming_games`; `gf_search_articles` -> `gf_article`.
|
|
23
|
+
- **Use when:** the user asks what Gamefa says about a game, its review score, the latest game or film news, what releases next, top rated games of a platform or genre, or what is trending.
|
|
24
|
+
- **Do not use when:** the user needs scores from other sites (Metacritic, OpenCritic) beyond what Gamefa lists, or prices and stores.
|
|
25
|
+
- **Output:** compact JSON. Article text is Persian; game and film titles are English. Scores are out of 10; release dates come as Jalali and ISO.
|
|
26
|
+
|
|
27
|
+
## Quick start
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
claude mcp add gamefa -- uvx gamefa-mcp
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Or in any MCP client config: `{"command": "uvx", "args": ["gamefa-mcp"]}`.
|
|
34
|
+
|
|
35
|
+
## Tools
|
|
36
|
+
|
|
37
|
+
| Tool | What it does |
|
|
38
|
+
|---|---|
|
|
39
|
+
| `gf_search_articles` | Search news, reviews and features by keyword, optionally in one section |
|
|
40
|
+
| `gf_latest_articles` | Newest articles, optionally for news, reviews, trailers, pc, playstation, cinema... |
|
|
41
|
+
| `gf_article` | Full article text by id or slug; reviews include score, label, verdict, pros, cons |
|
|
42
|
+
| `gf_reviews` | Latest game reviews with the editors' score out of 10 |
|
|
43
|
+
| `gf_popular` | Most viewed articles of the week, month, season or year |
|
|
44
|
+
| `gf_games` | Game profiles with Gamefa and user scores; sort, search, filter by platform, genre, developer, publisher, release year |
|
|
45
|
+
| `gf_upcoming_games` | Release calendar: unreleased games, soonest first; by month, platform or genre |
|
|
46
|
+
| `gf_game` | One game profile: scores, Metacritic, release, platforms, genres, review link |
|
|
47
|
+
| `gf_films` | Film and series profiles with IMDb and user scores; filter by movie/series, genre, person, studio, country, language, year |
|
|
48
|
+
| `gf_film` | One film or series: cast, director, countries, runtime, scores |
|
|
49
|
+
| `gf_terms` | Look up the slug of a platform, genre, developer, publisher, film person or studio, or an article tag |
|
|
50
|
+
| `gf_comments` | Reader comments (with likes) under an article or a game/film profile |
|
|
51
|
+
| `gf_related` | Articles Gamefa links to a game/film, or similar games/films |
|
|
52
|
+
|
|
53
|
+
## FAQ
|
|
54
|
+
|
|
55
|
+
**Does it need an account?** No. **Is it official?** No, it reads the public pages and REST API of gamefa.com.
|
|
56
|
+
**Which network?** Both Iranian and foreign connections reach the site; set `GAMEFA_MCP_PROXY` if yours is blocked.
|
|
57
|
+
|
|
58
|
+
## فارسی
|
|
59
|
+
|
|
60
|
+
gamefa-mcp یک سرور MCP غیررسمی و فقطخواندنی برای سایت گیمفا (gamefa.com) است: جستوجوی اخبار و مقالات، متن کامل نقدها همراه با امتیاز، مشخصات و امتیاز بازیها و فیلمها، بازیهای در راه و پربازدیدترین مطالب. نیازی به کلید API یا حساب کاربری نیست.
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
Made by Sepehr Radmard (سپهر رادمرد): [github.com/sepehr071](https://github.com/sepehr071) · [linkedin.com/in/sepehr-radmard](https://linkedin.com/in/sepehr-radmard). MIT license.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "gamefa-mcp"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Unofficial read-only MCP server for Gamefa (gamefa.com), the Persian game and film site: news, reviews with scores, game and film profiles, upcoming releases."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
authors = [{ name = "Sepehr Radmard", email = "sepehrr80@gmail.com" }]
|
|
9
|
+
requires-python = ">=3.10"
|
|
10
|
+
keywords = ["mcp", "model-context-protocol", "gamefa", "gamefa-com", "video-games", "game-reviews", "game-news", "release-calendar", "persian", "farsi", "iran", "cinema", "claude"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 4 - Beta",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.10",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
21
|
+
]
|
|
22
|
+
dependencies = [
|
|
23
|
+
"mcp>=2.2,<3",
|
|
24
|
+
"httpx>=0.27",
|
|
25
|
+
"httpx-curl-cffi>=0.1.5",
|
|
26
|
+
"curl-cffi>=0.16.3",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[project.urls]
|
|
30
|
+
Homepage = "https://github.com/sepehr071/gamefa-mcp"
|
|
31
|
+
Issues = "https://github.com/sepehr071/gamefa-mcp/issues"
|
|
32
|
+
Website = "https://mcpfarsi.ir/"
|
|
33
|
+
|
|
34
|
+
[project.scripts]
|
|
35
|
+
gamefa-mcp = "gamefa_mcp.server:main"
|
|
36
|
+
|
|
37
|
+
[dependency-groups]
|
|
38
|
+
dev = ["pytest>=8", "ruff>=0.6"]
|
|
39
|
+
|
|
40
|
+
[build-system]
|
|
41
|
+
requires = ["hatchling"]
|
|
42
|
+
build-backend = "hatchling.build"
|
|
43
|
+
|
|
44
|
+
[tool.pytest.ini_options]
|
|
45
|
+
testpaths = ["tests"]
|
|
46
|
+
addopts = "-m 'not live'"
|
|
47
|
+
markers = ["live: calls the real Gamefa site (run with -m live)"]
|
|
48
|
+
|
|
49
|
+
[tool.ruff]
|
|
50
|
+
line-length = 120
|
|
51
|
+
target-version = "py310"
|
|
52
|
+
|
|
53
|
+
[tool.ruff.lint]
|
|
54
|
+
select = ["E", "F", "I", "B", "UP"]
|
|
55
|
+
ignore = ["E501"] # long Field(description=...) strings read better on one line
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.sepehr071/gamefa-mcp",
|
|
4
|
+
"title": "Gamefa",
|
|
5
|
+
"description": "Read-only Gamefa (gamefa.com) Persian game and film site: news, scored reviews, profiles, releases.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "https://github.com/sepehr071/gamefa-mcp",
|
|
8
|
+
"source": "github"
|
|
9
|
+
},
|
|
10
|
+
"websiteUrl": "https://github.com/sepehr071/gamefa-mcp",
|
|
11
|
+
"version": "0.1.0",
|
|
12
|
+
"packages": [
|
|
13
|
+
{
|
|
14
|
+
"registryType": "pypi",
|
|
15
|
+
"registryBaseUrl": "https://pypi.org",
|
|
16
|
+
"identifier": "gamefa-mcp",
|
|
17
|
+
"version": "0.1.0",
|
|
18
|
+
"runtimeHint": "uvx",
|
|
19
|
+
"transport": {
|
|
20
|
+
"type": "stdio"
|
|
21
|
+
},
|
|
22
|
+
"environmentVariables": [
|
|
23
|
+
{
|
|
24
|
+
"name": "GAMEFA_MCP_PROXY",
|
|
25
|
+
"description": "Optional HTTP proxy URL for the Gamefa requests; system proxy settings are ignored. Also accepts a comma-separated list: one is used until it gets blocked or fails to connect, then the next.",
|
|
26
|
+
"isRequired": false,
|
|
27
|
+
"isSecret": false
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|