{"id":28185933,"url":"https://github.com/evalstate/mcp-webcam","last_synced_at":"2025-05-16T06:13:00.648Z","repository":{"id":273688885,"uuid":"919766018","full_name":"evalstate/mcp-webcam","owner":"evalstate","description":"Capture live images from your webcam with a tool or resource request ","archived":false,"fork":false,"pushed_at":"2025-03-28T16:24:56.000Z","size":157,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-25T09:47:01.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evalstate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-21T01:08:45.000Z","updated_at":"2025-04-19T16:31:32.000Z","dependencies_parsed_at":"2025-01-22T11:49:24.802Z","dependency_job_id":"fc69c276-7fe5-436e-a13d-11e62209de4f","html_url":"https://github.com/evalstate/mcp-webcam","commit_stats":null,"previous_names":["evalstate/mcp-webcam"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalstate%2Fmcp-webcam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalstate%2Fmcp-webcam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalstate%2Fmcp-webcam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalstate%2Fmcp-webcam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evalstate","download_url":"https://codeload.github.com/evalstate/mcp-webcam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478025,"owners_count":22077679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-16T06:12:52.981Z","updated_at":"2025-05-16T06:13:00.642Z","avatar_url":"https://github.com/evalstate.png","language":"TypeScript","funding_links":[],"categories":["Other Tools and Integrations","Image and Video Generation"],"sub_categories":["How to Submit"],"readme":"# mcp-webcam\n\nUse your Webcam to send live images to Claude Desktop (or other MCP Client).  \n\nProvides `\"capture\"` and `\"screenshot\"` tools to allow Claude to take a frame from the webcam or initiate taking a screenshot.\n\nProvides a `current view from the webcam` resource too.\n\n\n## Installation\n\nNPM Package is `@llmindset/mcp-webcam`.\n\nInstall a recent version of [NodeJS](https://nodejs.org/en/download) for your platform, then add the following to the `mcpServers` section of your `claude_desktop_config.json` file:\n\n```\n    \"webcam\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@llmindset/mcp-webcam\"\n      ]\n    }\n```\n\nAs long as you are using Claude Desktop 0.78 or greater, this will work on both Windows and MacOS.\n\nTakes a single argument to set the Port for the embedded Express server. \n\nDefault port is `3333` (to avoid conflict if using with Inspector).\n\n## Usage\n\nStart Claude Desktop, and connect to `http://localhost:3333`. You can then ask Claude to `get the latest picture from my webcam`, or `Claude, take a look at what I'm holding` or `what colour top am i wearing?`. You can \"freeze\" the current image and that will be returned to Claude rather than a live capture. \n\nYou can ask for Screenshots - navigate to the browser so that you can guide the capture area when the request comes in. Screenshots are automatically resized to be manageable for Claude (useful if you have a 4K Screen). The button is there to allow testing of your platform specific Screenshot UX - it doesn't do anything other than prepare you for a Claude intiated request. NB this does not **not** work on Safari as it requires human initiation.\n\n## MCP Sampling\n\nPress the \"What am I holding?\" button To send a Sampling request to the Client, containing the Image and the question `What is the User holding?`.\n\n\u003e [!TIP]\n\u003e Claude Desktop does not currently support Sampling. If you want a Client that can handle multi-modal sampling request, try https://github.com/evalstate/fast-agent/\n\n## Other notes\n\nThat's it really. \n\nThis MCP Server was built to demonstrate exposing a User Interface on an MCP Server, and serving live resources back to Claude Desktop.\n\nThis project might prove useful if you want to build a local, interactive MCP Server.\n\nThanks to  https://github.com/tadasant for help with testing and setup. \n\nPlease read the article at [https://llmindset.co.uk/posts/2025/01/resouce-handling-mcp](https://llmindset.co.uk/posts/2025/01/mcp-files-resources-part1/) for more details about handling files and resources in LLM / MCP Chat Applications, and why you might want to do this.\n\n## Third Party MCP Services\n\n\u003ca href=\"https://glama.ai/mcp/servers/plbefh6h9w\"\u003e\u003cimg width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/plbefh6h9w/badge\" alt=\"Webcam Server MCP server\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevalstate%2Fmcp-webcam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevalstate%2Fmcp-webcam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevalstate%2Fmcp-webcam/lists"}