Skip to content

Conversation

@Larry-Osakwe
Copy link
Contributor

Summary

  • Add copy-pasteable "Hello World" MCP server examples for both keycardai-mcp and keycardai-mcp-fastmcp packages
  • Each example includes complete working code, README with setup instructions, and pyproject.toml for standalone installation
  • Update package READMEs to reference the new examples

Files Added

  • packages/mcp-fastmcp/examples/hello_world_server/ - FastMCP integration example
  • packages/mcp/examples/hello_world_server/ - Low-level MCP integration example

Test plan

  • Run FastMCP example: cd packages/mcp-fastmcp/examples/hello_world_server && uv sync && uv run python main.py
  • Run low-level MCP example: cd packages/mcp/examples/hello_world_server && uv sync && uv run python main.py
  • Verify against Keycard test infrastructure
  • Manual verification by team member other than author

Add copy-pasteable "Hello World" MCP server examples for both keycardai-mcp
and keycardai-mcp-fastmcp packages demonstrating Keycard authentication.

Each example includes:
- Complete working server code with @grant decorator examples (commented)
- README with prerequisites, environment setup, and run instructions
- pyproject.toml for standalone installation
- Environment variables reference table

Addresses AGE-11: Create "Hello World" MCP Server Example
Copy link

@jerriclynsjohn jerriclynsjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add "Why Keycard?" section explaining the value prop and expand
Prerequisites to explicitly list identity provider configuration step.
@Larry-Osakwe Larry-Osakwe merged commit 2947d32 into main Feb 6, 2026
6 checks passed
@Larry-Osakwe Larry-Osakwe deleted the larry/hello-world-examples branch February 6, 2026 23:46
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.

2 participants