mcp-gitlab 0.25.1__tar.gz → 0.25.2__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.
Files changed (80) hide show
  1. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.claude-plugin/plugin.json +1 -1
  2. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.mcp.json +1 -1
  3. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/AGENTS.md +3 -1
  4. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/CHANGELOG.md +9 -0
  5. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/PKG-INFO +5 -5
  6. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/README.md +4 -4
  7. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/gemini-extension.json +2 -2
  8. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/llms-full.txt +1 -1
  9. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/llms.txt +1 -1
  10. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/pyproject.toml +1 -1
  11. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/server.json +3 -3
  12. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/servers/gitlab.py +6 -0
  13. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_tools.py +12 -0
  14. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/uv.lock +150 -165
  15. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.copier-answers.yml +0 -0
  16. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.dockerignore +0 -0
  17. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.env.example +0 -0
  18. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  19. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  20. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/conformance-baseline.yml +0 -0
  21. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/conformance-env +0 -0
  22. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/dependabot.yml +0 -0
  23. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/workflows/link-check.yml +0 -0
  24. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/workflows/lint.yml +0 -0
  25. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/workflows/publish.yml +0 -0
  26. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/workflows/reconcile.yml +0 -0
  27. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/workflows/release.yml +0 -0
  28. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.github/workflows/tests.yml +0 -0
  29. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/.gitignore +0 -0
  30. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/Dockerfile +0 -0
  31. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/LICENSE +0 -0
  32. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/assets/icon.svg +0 -0
  33. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/docs/oauth.md +0 -0
  34. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/docs/specs/2026-09-21-test-confidence-and-error-contract.md +0 -0
  35. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/evaluations/eval.xml +0 -0
  36. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/glama.json +0 -0
  37. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/ruff.toml +0 -0
  38. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/__init__.py +0 -0
  39. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/__main__.py +0 -0
  40. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/client.py +0 -0
  41. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/config.py +0 -0
  42. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/exceptions.py +0 -0
  43. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/local_auth.py +0 -0
  44. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/oauth.py +0 -0
  45. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/py.typed +0 -0
  46. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/approval-workflow.md +0 -0
  47. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/code-review.md +0 -0
  48. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/codeowners.md +0 -0
  49. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/conventional-commits.md +0 -0
  50. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/git-workflow.md +0 -0
  51. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/gitlab-ci.md +0 -0
  52. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/mr-hygiene.md +0 -0
  53. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/prompts/approve-mr.md +0 -0
  54. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/prompts/diagnose-pipeline.md +0 -0
  55. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/prompts/prepare-release.md +0 -0
  56. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/prompts/review-mr.md +0 -0
  57. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/prompts/setup-branch-protection.md +0 -0
  58. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/resources/prompts/triage-issues.md +0 -0
  59. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/servers/__init__.py +0 -0
  60. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/servers/_helpers.py +0 -0
  61. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/servers/prompts.py +0 -0
  62. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/src/mcp_gitlab/servers/resources.py +0 -0
  63. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/__init__.py +0 -0
  64. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/conftest.py +0 -0
  65. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/test_links.py +0 -0
  66. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/__init__.py +0 -0
  67. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_cli.py +0 -0
  68. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_client.py +0 -0
  69. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_config.py +0 -0
  70. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_exceptions.py +0 -0
  71. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_health.py +0 -0
  72. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_local_auth.py +0 -0
  73. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_oauth.py +0 -0
  74. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_oauth_http.py +0 -0
  75. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_prompts.py +0 -0
  76. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_read_only_lock.py +0 -0
  77. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_resources.py +0 -0
  78. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_server_assembly.py +0 -0
  79. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_tool_contract.py +0 -0
  80. {mcp_gitlab-0.25.1 → mcp_gitlab-0.25.2}/tests/unit/test_toolsets.py +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-gitlab",
3
3
  "displayName": "GitLab",
4
- "version": "0.25.1",
4
+ "version": "0.25.2",
5
5
  "description": "GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only",
6
6
  "author": {
7
7
  "name": "vish288"
@@ -3,7 +3,7 @@
3
3
  "gitlab": {
4
4
  "command": "uvx",
5
5
  "args": [
6
- "mcp-gitlab@0.25.1"
6
+ "mcp-gitlab@0.25.2"
7
7
  ],
8
8
  "env": {
9
9
  "GITLAB_TOKEN": "${user_config.gitlab_token}",
@@ -13,7 +13,9 @@ clients. Built on FastMCP 4.x and the MCP Python SDK 2.x. Verified over `stdio`
13
13
  Transports: `stdio` (default), `streamable-http` (recommended for remote), and `sse`. The
14
14
  2026-07-28 specification deprecates `sse`, so the server prints a warning when you use it. The
15
15
  server uses no roots, sampling, logging, elicitation, or resource subscriptions, so the
16
- 2026-07-28 deprecations do not affect it.
16
+ 2026-07-28 deprecations do not affect it. The server disables `subscriptions/listen` and advertises
17
+ `listChanged` and `resources.subscribe` as false, because its tool, prompt, and resource lists never
18
+ change after startup.
17
19
 
18
20
  Authorization: with `--auth oauth` (streamable-http only) the server is an MCP 2026-07-28 resource
19
21
  server and OAuth proxy in front of GitLab (RFC 9728 PRM, RFC 8414 AS metadata, PKCE S256, per-user
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.25.2] - 2026-11-30
4
+
5
+ ### Bug Fixes
6
+ - fix: disable subscriptions/listen so capabilities match behaviour (7dcc52e)
7
+
8
+ ### Chores
9
+ - chore(deps): weekly patch 2026-11-29 (2b8b5bd)
10
+
11
+
3
12
  ## [0.25.1] - 2026-11-23
4
13
 
5
14
  ### Features
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: mcp-gitlab
3
- Version: 0.25.1
3
+ Version: 0.25.2
4
4
  Summary: GitLab MCP server for the MCP 2026-07-28 specification (MCP 2.0): projects, MRs, pipelines, CI/CD, approvals and issues for AI assistants. Runs with writes, or locked read-only via MCP_READ_ONLY
5
5
  Project-URL: Homepage, https://github.com/vish288/mcp-gitlab
6
6
  Project-URL: Repository, https://github.com/vish288/mcp-gitlab
@@ -342,7 +342,7 @@ mcp-gitlab implements the Model Context Protocol. It supports the 2026-07-28 spe
342
342
  - **Legacy clients**: 2025-11-25 clients still work.
343
343
  - **Built on**: FastMCP 4.x and the MCP Python SDK 2.x.
344
344
  - **Transports**: `stdio` (default) and `streamable-http` (recommended for remote). The `sse` (HTTP+SSE) transport still works, but the 2026-07-28 specification deprecates it. The server prints a warning when you use it.
345
- - **Capabilities**: tools, resources, and prompts. The server uses no roots, sampling, logging, elicitation, or resource subscriptions, so the 2026-07-28 deprecations do not affect it.
345
+ - **Capabilities**: tools, resources, and prompts. The server uses no roots, sampling, logging, elicitation, or resource subscriptions, so the 2026-07-28 deprecations do not affect it. The server disables `subscriptions/listen` and advertises `listChanged` and `resources.subscribe` as false, because its tool, prompt, and resource lists never change after startup.
346
346
  - **Server identity and cache hints**: `serverInfo` reports the installed package version and the install page as `websiteUrl`, so every response names the exact release. List results carry the 2026-07-28 cache hints `ttlMs: 300000` (5-minute TTL) and `cacheScope: private` — private because `resources/read` can vary by the per-user token. Both are inert for clients that do not read them.
347
347
 
348
348
  ### Error results
@@ -709,13 +709,13 @@ user, and defaults to locked read-only (`MCP_READ_ONLY=true`); override it to al
709
709
  # locked read-only (the image default) — stdio for an MCP client
710
710
  docker run --rm -i \
711
711
  -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx \
712
- ghcr.io/vish288/mcp-gitlab:0.25.1
712
+ ghcr.io/vish288/mcp-gitlab:0.25.2
713
713
 
714
714
  # allow writes: override the read-only default
715
715
  docker run --rm -i \
716
716
  -e MCP_READ_ONLY=false \
717
717
  -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx \
718
- ghcr.io/vish288/mcp-gitlab:0.25.1
718
+ ghcr.io/vish288/mcp-gitlab:0.25.2
719
719
  ```
720
720
 
721
721
  For an HTTP transport, append `--transport streamable-http --host 0.0.0.0`; a non-loopback bind in
@@ -725,7 +725,7 @@ Verify the build provenance before you run it. The attestation is signed by the
725
725
  publish workflow in `vish288/.github`, not by this repo, hence `--signer-repo`:
726
726
 
727
727
  ```bash
728
- gh attestation verify oci://ghcr.io/vish288/mcp-gitlab:0.25.1 -R vish288/mcp-gitlab --signer-repo vish288/.github
728
+ gh attestation verify oci://ghcr.io/vish288/mcp-gitlab:0.25.2 -R vish288/mcp-gitlab --signer-repo vish288/.github
729
729
  ```
730
730
 
731
731
  To build from source instead (uv, the committed `uv.lock`), run `docker build -t mcp-gitlab .` and
@@ -307,7 +307,7 @@ mcp-gitlab implements the Model Context Protocol. It supports the 2026-07-28 spe
307
307
  - **Legacy clients**: 2025-11-25 clients still work.
308
308
  - **Built on**: FastMCP 4.x and the MCP Python SDK 2.x.
309
309
  - **Transports**: `stdio` (default) and `streamable-http` (recommended for remote). The `sse` (HTTP+SSE) transport still works, but the 2026-07-28 specification deprecates it. The server prints a warning when you use it.
310
- - **Capabilities**: tools, resources, and prompts. The server uses no roots, sampling, logging, elicitation, or resource subscriptions, so the 2026-07-28 deprecations do not affect it.
310
+ - **Capabilities**: tools, resources, and prompts. The server uses no roots, sampling, logging, elicitation, or resource subscriptions, so the 2026-07-28 deprecations do not affect it. The server disables `subscriptions/listen` and advertises `listChanged` and `resources.subscribe` as false, because its tool, prompt, and resource lists never change after startup.
311
311
  - **Server identity and cache hints**: `serverInfo` reports the installed package version and the install page as `websiteUrl`, so every response names the exact release. List results carry the 2026-07-28 cache hints `ttlMs: 300000` (5-minute TTL) and `cacheScope: private` — private because `resources/read` can vary by the per-user token. Both are inert for clients that do not read them.
312
312
 
313
313
  ### Error results
@@ -674,13 +674,13 @@ user, and defaults to locked read-only (`MCP_READ_ONLY=true`); override it to al
674
674
  # locked read-only (the image default) — stdio for an MCP client
675
675
  docker run --rm -i \
676
676
  -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx \
677
- ghcr.io/vish288/mcp-gitlab:0.25.1
677
+ ghcr.io/vish288/mcp-gitlab:0.25.2
678
678
 
679
679
  # allow writes: override the read-only default
680
680
  docker run --rm -i \
681
681
  -e MCP_READ_ONLY=false \
682
682
  -e GITLAB_URL=https://gitlab.example.com -e GITLAB_TOKEN=glpat-xxxxxxxxxxxxxxxxxxxx \
683
- ghcr.io/vish288/mcp-gitlab:0.25.1
683
+ ghcr.io/vish288/mcp-gitlab:0.25.2
684
684
  ```
685
685
 
686
686
  For an HTTP transport, append `--transport streamable-http --host 0.0.0.0`; a non-loopback bind in
@@ -690,7 +690,7 @@ Verify the build provenance before you run it. The attestation is signed by the
690
690
  publish workflow in `vish288/.github`, not by this repo, hence `--signer-repo`:
691
691
 
692
692
  ```bash
693
- gh attestation verify oci://ghcr.io/vish288/mcp-gitlab:0.25.1 -R vish288/mcp-gitlab --signer-repo vish288/.github
693
+ gh attestation verify oci://ghcr.io/vish288/mcp-gitlab:0.25.2 -R vish288/mcp-gitlab --signer-repo vish288/.github
694
694
  ```
695
695
 
696
696
  To build from source instead (uv, the committed `uv.lock`), run `docker build -t mcp-gitlab .` and
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "mcp-gitlab",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only",
5
5
  "mcpServers": {
6
6
  "mcp-gitlab": {
7
7
  "command": "uvx",
8
8
  "args": [
9
- "mcp-gitlab@0.25.1"
9
+ "mcp-gitlab@0.25.2"
10
10
  ]
11
11
  }
12
12
  },
@@ -5,7 +5,7 @@
5
5
  MCP server that wraps the GitLab REST API. Works with GitLab.com and self-hosted instances (CE/EE). No GitLab Duo or Premium required. Built with FastMCP, httpx, and Pydantic.
6
6
 
7
7
  - **Install**: `uvx mcp-gitlab`
8
- - **Version**: 0.25.1
8
+ - **Version**: 0.25.2
9
9
  - **Python**: >=3.11
10
10
  - **License**: MIT
11
11
  - **Protocol**: MCP 2026-07-28 (MCP 2.0); compatible with 2025-11-25 clients; built on FastMCP 4.x
@@ -5,7 +5,7 @@
5
5
  MCP server that wraps the GitLab REST API. Works with GitLab.com and self-hosted instances (CE/EE). No GitLab Duo or Premium required. Built with FastMCP, httpx, and Pydantic.
6
6
 
7
7
  - **Install**: `uvx mcp-gitlab`
8
- - **Version**: 0.25.1
8
+ - **Version**: 0.25.2
9
9
  - **Python**: >=3.11
10
10
  - **License**: MIT
11
11
  - **Protocol**: MCP 2026-07-28 (MCP 2.0); compatible with 2025-11-25 clients; built on FastMCP 4.x
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mcp-gitlab"
3
- version = "0.25.1"
3
+ version = "0.25.2"
4
4
  description = "GitLab MCP server for the MCP 2026-07-28 specification (MCP 2.0): projects, MRs, pipelines, CI/CD, approvals and issues for AI assistants. Runs with writes, or locked read-only via MCP_READ_ONLY"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/vish288/mcp-gitlab",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.25.1",
10
+ "version": "0.25.2",
11
11
  "websiteUrl": "https://vish288.github.io/mcp-install?server=mcp-gitlab",
12
12
  "icons": [
13
13
  {
@@ -22,7 +22,7 @@
22
22
  {
23
23
  "registryType": "pypi",
24
24
  "identifier": "mcp-gitlab",
25
- "version": "0.25.1",
25
+ "version": "0.25.2",
26
26
  "runtimeHint": "uvx",
27
27
  "transport": {
28
28
  "type": "stdio"
@@ -116,7 +116,7 @@
116
116
  },
117
117
  {
118
118
  "registryType": "oci",
119
- "identifier": "ghcr.io/vish288/mcp-gitlab:0.25.1",
119
+ "identifier": "ghcr.io/vish288/mcp-gitlab:0.25.2",
120
120
  "transport": {
121
121
  "type": "stdio"
122
122
  },
@@ -15,6 +15,7 @@ from importlib.metadata import version
15
15
  from typing import Annotated, Any, Literal
16
16
  from urllib.parse import quote
17
17
 
18
+ import fastmcp
18
19
  import httpx
19
20
  from fastmcp import Context, FastMCP
20
21
  from fastmcp.exceptions import ToolError
@@ -174,6 +175,11 @@ async def lifespan(server: FastMCP) -> AsyncIterator[dict[str, Any]]:
174
175
  await client.close()
175
176
 
176
177
 
178
+ # The tool/prompt/resource lists are fixed at startup and there are no resource subscriptions, so
179
+ # do not advertise listChanged/subscribe (fastmcp >= 4.2.5 turns subscriptions/listen on by
180
+ # default). Read during FastMCP() construction, so this must stay above it.
181
+ fastmcp.settings.enable_subscriptions_listen = False
182
+
177
183
  mcp = FastMCP(
178
184
  name="GitLab MCP Server",
179
185
  version=version("mcp-gitlab"),
@@ -2142,6 +2142,18 @@ class TestStoredCredentialScope:
2142
2142
  assert created["id"] == 5
2143
2143
 
2144
2144
 
2145
+ class TestNoListenCapabilities:
2146
+ """fastmcp >= 4.2.5 turns subscriptions/listen on by default; the server turns it off."""
2147
+
2148
+ async def test_list_changed_and_subscribe_not_advertised(self):
2149
+ async with _creds_tool_client(["api"]) as (client, _):
2150
+ caps = client.server_capabilities
2151
+ assert caps is not None
2152
+ assert not (caps.tools and caps.tools.list_changed)
2153
+ assert not (caps.prompts and caps.prompts.list_changed)
2154
+ assert not (caps.resources and caps.resources.subscribe)
2155
+
2156
+
2145
2157
  class TestLifespanPrecedence:
2146
2158
  """R4 precedence matrix, exercised through the real lifespan."""
2147
2159