Skip to content

Fix/mcp server fastmcp#9

Merged
digitalex merged 2 commits into
mainfrom
fix/mcp-server-fastmcp
May 2, 2025
Merged

Fix/mcp server fastmcp#9
digitalex merged 2 commits into
mainfrom
fix/mcp-server-fastmcp

Conversation

@digitalex
Copy link
Copy Markdown
Owner

Merge Jules-made MCP server

google-labs-jules Bot and others added 2 commits May 2, 2025 21:21
Refactors the MCP server implementation in `MCP/server.py` to use the `FastMCP` class and tool decorators, aligning with current examples.

- Replaced `ContextModel` and `ToolDefinition` with `FastMCP`.
- Used the `@mcp.tool()` decorator for the `send_email` tool.
- Updated the server startup logic to use `uvicorn` for running the ASGI-compatible `FastMCP` application.
- Added `fastapi` and `uvicorn[standard]` to `requirements.txt` as necessary dependencies for `FastMCP`.
@digitalex digitalex merged commit 75cddad into main May 2, 2025
1 check passed
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