Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ Access MCP session capabilities within your tools, resources, or prompts by addi

- **Logging:** Log messages to MCP clients with `ctx.info()`, `ctx.error()`, etc.
- **LLM Sampling:** Use `ctx.sample()` to request completions from the client's LLM.
- **HTTP Request:** Use `ctx.http_request()` to make HTTP requests to other servers.
- **Resource Access:** Use `ctx.read_resource()` to access resources on the server
- **Progress Reporting:** Use `ctx.report_progress()` to report progress to the client.
- and more...
Expand Down Expand Up @@ -321,7 +320,7 @@ FastMCP provides comprehensive authentication support that sets it apart from ba
Protecting a server takes just two lines:

```python
from fastmcp.server.auth import GoogleProvider
from fastmcp.server.auth.providers.google import GoogleProvider

auth = GoogleProvider(client_id="...", client_secret="...", base_url="https://myserver.com")
mcp = FastMCP("Protected Server", auth=auth)
Expand Down
2 changes: 0 additions & 2 deletions tests/server/auth/providers/test_azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ def test_init_with_custom_audience_uses_jwt_verifier(self):
# Scopes should be prefixed with identifier_uri
assert verifier.required_scopes == ["api://my-api/.default"]

@pytest.mark.asyncio
async def test_authorize_filters_resource_and_accepts_prefixed_scopes(self):
"""authorize() should drop resource parameter and accept prefixed scopes from clients."""
provider = AzureProvider(
Expand Down Expand Up @@ -262,7 +261,6 @@ async def test_authorize_filters_resource_and_accepts_prefixed_scopes(self):
# Azure provider filters resource parameter (not stored in transaction)
assert transaction.resource is None

@pytest.mark.asyncio
async def test_authorize_appends_additional_scopes(self):
"""authorize() should append additional_authorize_scopes to the authorization request."""
provider = AzureProvider(
Expand Down