Skip to content

feat(mcp): implement http transport support #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 4, 2025

Conversation

stickerdaniel
Copy link
Owner

…using FastMCP's http_app()

@stickerdaniel stickerdaniel requested a review from Copilot July 4, 2025 21:04
Repository owner deleted a comment from changeset-bot bot Jul 4, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for a new HTTP-based transport mode (streamable-http) by integrating FastMCP’s HTTP server, updating configuration, CLI, startup logic, and tasks.

  • Introduces streamable-http as a transport option in schemas, loaders, CLI, and interactive prompts
  • Updates main.py to launch and report the HTTP server endpoint when using streamable-http
  • Switches FastMCP imports to the top‐level fastmcp package, adjusts dependencies, and adds related dev dependencies; removes deprecated smithery.yaml

Reviewed Changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
smithery.yaml Removed outdated Smithery config for Docker-based MCP server
pyproject.toml Added fastmcp; removed httpx and mcp[cli]; updated dev deps
main.py Implemented HTTP transport branch and prompt updates
linkedin_mcp_server/tools/person.py Switched import to fastmcp
linkedin_mcp_server/tools/job.py Switched import to fastmcp
linkedin_mcp_server/tools/company.py Switched import to fastmcp
linkedin_mcp_server/server.py Switched import to fastmcp; reordered tool registrations
linkedin_mcp_server/drivers/chrome.py Reordered imports; added get_credentials; reordered stdlib/third-party
linkedin_mcp_server/config/secrets.py Fixed import ordering
linkedin_mcp_server/config/schema.py Extended ServerConfig with HTTP fields and new transport
linkedin_mcp_server/config/loaders.py Added env/arg parsing for host, port, path, and toggles
linkedin_mcp_server/cli.py Reordered imports
.vscode/tasks.json Added HTTP run task; adjusted default task flags
Comments suppressed due to low confidence (1)

.vscode/tasks.json:135

  • There’s now a trailing comma after the last task entry, which makes the JSON invalid. Please remove the comma to restore valid JSON syntax.
        },

@stickerdaniel stickerdaniel merged commit b4e800f into main Jul 4, 2025
3 checks passed
stickerdaniel added a commit that referenced this pull request Jul 4, 2025
stickerdaniel added a commit that referenced this pull request Jul 4, 2025
@stickerdaniel stickerdaniel deleted the feat/http-transport branch July 4, 2025 21:20
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