{"id":31250596,"url":"https://github.com/cosate/mcp","last_synced_at":"2026-05-06T03:33:37.791Z","repository":{"id":312627520,"uuid":"1047863920","full_name":"cosate/mcp","owner":"cosate","description":"cpp mcp streamable protocol","archived":false,"fork":false,"pushed_at":"2025-09-18T02:25:02.000Z","size":703,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-18T02:28:52.870Z","etag":null,"topics":["cpp17","libcurl","mcp","nginx"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cosate.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-31T12:08:58.000Z","updated_at":"2025-09-18T02:25:06.000Z","dependencies_parsed_at":"2025-09-01T02:33:42.982Z","dependency_job_id":"6b22ba56-e113-4ca5-88f2-b64e8bd5c69c","html_url":"https://github.com/cosate/mcp","commit_stats":null,"previous_names":["cosate/mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cosate/mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosate%2Fmcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosate%2Fmcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosate%2Fmcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosate%2Fmcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosate","download_url":"https://codeload.github.com/cosate/mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosate%2Fmcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32677928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cpp17","libcurl","mcp","nginx"],"created_at":"2025-09-23T05:33:00.892Z","updated_at":"2026-05-06T03:33:37.769Z","avatar_url":"https://github.com/cosate.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcp\n* cpp mcp streamable http protocol\n* c++17标准\n* 客户端基于libcurl，服务端基于nginx\n* 理解python sdk的原理后，调教AI写出来的，自己检查再改改。AI代码量可能超过60%，AI太强大了orz\n\n## 模块说明\n- common\n  - types.h, 核心是开头的一些宏定义, 解决std::optional类型的序列化和反序列化\n  - 结构体定义参考python sdk\n- client\n  - 已编译测试, 需要自行解决libcurl依赖\n- server\n  - nginx http模块，需要编入nginx后启动\n  - 自行下载nginx 源码，修改build.sh中的代码路径，执行编译\n  - 功能包括:\n    - 解析mcp request\n    - 异步响应\n    - 按mcp method限流\n- third_party\n  - 依赖三方库: nlohmann/json, spdlog\n\n## TODO\n- 实现mcp tools等能力\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosate%2Fmcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosate%2Fmcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosate%2Fmcp/lists"}