Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ ENV HOST=0.0.0.0 \

EXPOSE 8000

CMD ["uv", "run", "mcp-server-appwrite", "--transport", "http"]
CMD ["uv", "run", "--no-sync", "mcp-server-appwrite", "--transport", "http"]
2 changes: 0 additions & 2 deletions src/mcp_server_appwrite/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
"profile",
"email",
"all",
"project:all",
"organization:all",
]

DISCOVERY_TTL_SECONDS = 300.0
Expand Down
5 changes: 1 addition & 4 deletions tests/unit/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ def test_advertised_scopes_prefer_curated_subset(self):
scopes = asyncio.run(auth.protected_resource_metadata())["scopes_supported"]
finally:
auth._discovery_cache.pop(pid, None)
self.assertEqual(
scopes,
["openid", "profile", "email", "all", "project:all", "organization:all"],
)
self.assertEqual(scopes, ["openid", "profile", "email", "all"])

def test_advertised_scopes_drop_preferred_scopes_missing_from_discovery(self):
pid = auth.configured_project_id()
Expand Down
Loading