Skip to content

feat: add uvx remote execution support#15

Open
6Kmfi6HP wants to merge 3 commits intohellokaton:mainfrom
6Kmfi6HP:main
Open

feat: add uvx remote execution support#15
6Kmfi6HP wants to merge 3 commits intohellokaton:mainfrom
6Kmfi6HP:main

Conversation

@6Kmfi6HP
Copy link

Summary

  • Add main() entry point function in server.py for CLI execution
  • Add [project.scripts] entry point in pyproject.toml
  • Add [tool.setuptools] config to properly package the server module
  • Update project description

Usage

After this change, users can run the MCP server directly via uvx:

uvx --from git+https://github.com/hellokaton/unsplash-mcp-server unsplash-mcp-server

Or configure in editors (Cursor/Claude Desktop):

{
  "mcpServers": {
    "unsplash": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/hellokaton/unsplash-mcp-server", "unsplash-mcp-server"],
      "env": {
        "UNSPLASH_ACCESS_KEY": "your_api_key"
      }
    }
  }
}

Test plan

  • Tested uvx --from git+https://github.com/6Kmfi6HP/unsplash-mcp-server unsplash-mcp-server - runs successfully

- Add main() entry point function in server.py
- Add [project.scripts] entry point in pyproject.toml
- Update project description
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