Bdn use fastmcp2.0 and dockerize - #8
Draft
opensourcemechanic wants to merge 20 commits into
Draft
Conversation
…e http-streaming.
…ded Starlette and CORSMiddleware to main so server could handle http_streaming
…rsion works by default
…AI_ACT_MCP into bdn_use_fastmcp2.0
…akes a containerized version of this mcp server come up on localhost:8001/mcp
…ced with the Microsoft/DOS convention of CRLF instead of the standard LF. It also updates .gitattributes so that this wont happen in the future Normalize line endings to LF across all files - Convert 9 plugin files from CRLF to LF - Add .gitattributes to enforce LF line endings going forward - Ensures consistent cross-platform development experience
- Change in entry point from server.py/server_v2.py to main.py
- This version requires fastmcp2.0
- main.py now provides optional command line options:
- `--stdio`: Run in stdio mode (default for AI assistants)
- `--http`: Run in HTTP mode (default for web applications)
- `--host HOST`: HTTP host (default: 127.0.0.1)
- `--port PORT`: HTTP port (default: 8001)
- docker files are now provided which allow it to run in a docker container via docker compose up --build
…ation for Macos, Microsoft Windows and Ubuntu Linux and added examples of configuration for Claude desktop, Cursor and Windsurf connecting to the docker hosted MCP server.
opensourcemechanic
marked this pull request as draft
December 18, 2025 10:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of Change
What Changed?
This change updates the python MCP library to fastmcp>=2.1.3 instead of mcp. This is a significant change which allows the streamable-http transport option. This version also contains compose.yaml and Docker file which allows it to run with in a docker container by making sure docker, docker-desktop or colima are installed on the host and then running:
docker compose up --build
or docker-compose up --build (macos)
Why?
The MCP protocol is only a little over a year old and significant changes to the standard python library came with fastmcp2.0+. It would be better to adapt to these changes now rather than later.
How Has This Been Tested?
I have tested this locally
I've tested this server hosted on:
I have added unit tests (if applicable)
All existing tests pass
Checklist
Screenshots (if applicable)
Additional Context
Since this is a significant change I would appreciate other people testing it with their agents and hosted on their machines.