Skip to content

Fix delegated_access example project and support Zone URL#94

Closed
Fitzse wants to merge 1 commit intomainfrom
sean/delegate_access-example-fixes
Closed

Fix delegated_access example project and support Zone URL#94
Fitzse wants to merge 1 commit intomainfrom
sean/delegate_access-example-fixes

Conversation

@Fitzse
Copy link
Copy Markdown

@Fitzse Fitzse commented Apr 6, 2026

I had trouble running the delefated_access example project where I was getting dependency errors:

uv run python main.py
error: Failed to generate package metadata for `keycardai-mcp-fastmcp @ editable+../../`
  Caused by: Failed to parse entry: `keycardai-oauth`
  Caused by: `keycardai-oauth` references a workspace in `tool.uv.sources` (e.g., `keycardai-oauth = { workspace = true }`), but is not a workspace member

This remove the local [tool.uv.sources] override in pyproject.toml so the example resolves keycardai-mcp-fastmcp from the published package by default (with docs on how to run against local source via the workspace).

Also tweaks the environment variable handling to support KEYCARD_ZONE_URL in addition to KEYCARD_ZONE_ID using the default env var handling from the library.

Larry-Osakwe added a commit that referenced this pull request Apr 6, 2026
…er README

Incorporates improvements from Sean's PR #94:
- Support KEYCARD_ZONE_URL in addition to KEYCARD_ZONE_ID
- Remove hardcoded fallback values for credentials
- Streamline README install/run steps
- Add note for local SDK development workflow
@Fitzse
Copy link
Copy Markdown
Author

Fitzse commented Apr 6, 2026

Closing in favour of #93

@Fitzse Fitzse closed this Apr 6, 2026
@Fitzse Fitzse deleted the sean/delegate_access-example-fixes branch April 6, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant