(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43356016

Hacker News 上的一个帖子讨论了 PyTorch 开发者 ezyang 在休育儿假期间创建的工具 Codemcp。它允许 Claude Pro 用户模拟 Claude Code 的功能,而无需支付额外的 API 成本。Codemcp 利用 MCP(消息通道协议)与 Claude Pro 交互。用户 0xcb0 成功地在 Linux 上运行了结合 Codemcp 的 Claude Desktop,并创建了详细的项目路线图和前端代码,但 Git 功能失效且遇到使用限制,建议 Anthropic 提供更清晰的错误信息而不是无限循环。他们称赞了代码质量和逻辑一致性。ezyang 对 Claude Desktop 能够在 Linux 上运行感到惊讶,建议不要使用单独的文件系统/Git MCP,而是依赖 Codemcp 内置的等效功能,并建议检查 codemcp.log 文件以查找 Git 支持问题。对于持续会话,建议为 Claude 提供旧对话的摘要以恢复工作,模拟 Claude Code 的“/compact”功能。该工具旨在让用户在不产生额外 API 成本的情况下获得 Claude Code 的体验。


原文
Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Codemcp – Claude Code for Claude Pro subscribers – ditch API bills (github.com/ezyang)
9 points by ezyang 1 hour ago | hide | past | favorite | 3 comments
Hi all! I normally work on the PyTorch project but I've been on baby leave for the past month, so I've been playing around with AI as a user rather than a framework implementor. I really liked the agent experience with Claude Code, but I couldn't really justify spending so many dollars on API costs for random side projects. I already pay for a Claude Pro subscription though, and it turns out you can simulate many of Claude Code's features with an MCP. If you have a Pro subscription, check this out! I think it really captures the Claude Code experience quite well, without forcing you to pay for API tokens.










Related ongoing thread:

Hacking Your Own AI Coding Assistant with Claude Pro and MCP - https://news.ycombinator.com/item?id=43410866



Hey there, excited first time user here. Thanks for creating this!

I started playing around with it yesterday evening. Running Claude Desktop under manjaro linux with some tweaks, I did managed to activate codemcp.

As I am also quite new with mcp and how to proper use the protocol in tools, I am not sure I did everything correct. I did also install filesystem, git, github and sequential-thinking along side.

However, git will not work. The addition of the mcp git server might not be needed? But without it, it did also not work

However, what it has done so far is mind blowing. I did create a long query the other day about a project idea. This generated a road map, detailed implementation instruction, guidlines, all that is needed to complete the problem. I let it Claude Desktop read in the files with help of codemcp.

Claude Dekstop have been working for multiple hours before I seem to have hot some kind of limit. I now get the message to type continue, but it always start the with the same task.

And what it has been created is awesome. The frontend is nearly finished, but it lacked to create the startup code first. Overall I am blow away what I can do with mcp and esp. with this small lib the author has created here. Code quality is good and event though I had multiple limits, where I needed to type continue, the code is logically make sense. Really good!

I also do not yet know how I can continue a old session.

P.S. @anthropic, If you are reading this. I really do not want to abuse your service. Please, instead of giving me no answer, or beeing stuck in an infinite loop, give me a proper return code and a error, that I reached my limit for the next X minutes or so. I would really love this



I'm surprised you managed to get Desktop running on Linux lol. You don't need the filesystem/git MCPs alongside codemcp; in fact, it's better not to have them so that Claude consistently uses' codemcp's equivalents to do edits. I'm not sure why codemcp's built-in git support did not work; you can probably find out more by looking in .codemcp/codemcp.log.

If you need to start a new chat, it works just fine. Tell Claude what's happened so far and what you want it to do. You can also ask Claude to summarize the old conversation, that's how /compact in claude code works too.



[deleted]







Join us for AI Startup School this June 16-17 in San Francisco!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



Search:
联系我们 contact @ memedata.com