Serve recipes as MCP resources, so every agent reads the right recipe before it drives an app
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 50/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
Start with mcp-server/index.js to see how the server registers capabilities and handles requests, then check mcp-server/package.json and the existing tests in test/server-e2e.mjs and test/pakke-filer.mjs. The issue proposes serving recipe Markdown through MCP resources and including recipes in the package; prompts and bundle ID routing are optional. Done means the required resource operations and package contents pass tests, a compatible client is documented in the PR, and the README explains how contributed recipes reach agents.
由索引模型根据 Issue 内容生成。
描述
Why
The knowledge about how to drive specific apps - recipes/ and what agents write with computer_learning - is currently only useful to someone who reads the repo. The agent doing the work never sees it. MCP has a mechanism for exactly this: resources. If the server offered the recipes as resources, an agent about to drive Slack or Finder could read the right recipe first, and every recipe a contributor writes would make every user's agent better, automatically.
How it works today
mcp-server/index.jsdeclares only{ capabilities: { tools: { listChanged: true } } }and handlesListToolsRequestSchema/CallToolRequestSchema. No resources or prompts.recipes/is not part of the npm package (filesinmcp-server/package.json).- The server
instructions(VEJLEDNINGinindex.js) already tell the agent to write down working routes withcomputer_learning.
Proposed approach
- Ship
recipes/*.mdin the package and declare theresourcescapability. resources/listreturns one resource per recipe (computermcp://recipes/electron-apps, ...) with a description naming the apps it covers;resources/readreturns the markdown.- Optional: a front-matter line in each recipe listing bundle IDs, so the server can point to the right recipe in a tool reply when the agent targets that app (
resolveBundleIdinhelper.jsalready resolves names to bundle IDs). - Optional, larger: MCP prompts for common tasks.
Things to keep in mind: resources are read-only and contain only what is in the repo - no user data and no log contents. Clients differ in how they surface resources; please note which you tested.
Acceptance criteria
-
resources/listandresources/readwork, with a test intest/(liketest/server-e2e.mjs). - The tarball includes the recipes (
test/pakke-filer.mjschecks package contents). - Tested in at least one client that supports resources, noted in the PR.
- README explains how a contributed recipe reaches every agent.
Pointers
mcp-server/index.js (server setup, VEJLEDNING), mcp-server/package.json (files), recipes/, mcp-server/helper.js (resolveBundleId), test/server-e2e.mjs, test/pakke-filer.mjs.
This turns every recipe into something every agent can use, which is exactly the kind of compounding we want. A bigger piece of work - comment here to talk through the design first, and we will review quickly.
- 主要语言
- JavaScript
- 星标
- 1
- 派生
- 0
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 9
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Agent360dk/computerMCP 的其他 Issue
-
Recipes for the native Mac apps everyone uses (Finder, Mail, Notes, System Settings, Safari, ...)未关闭good first issue recipe
难度 2/5 1-3 小时 新手友好度 82/100
Agent360dk/computerMCP#21 ·
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 76/100
Agent360dk/computerMCP#20 ·
-
good first issue help wanted protection-list
难度 1/5 1 小时以内 新手友好度 94/100
-
enhancement help wanted
难度 5/5 一周以上 新手友好度 35/100
Agent360dk/computerMCP#25 ·
-
documentation good first issue
难度 3/5 1-2 天 新手友好度 72/100
Agent360dk/computerMCP#23 ·
查看 Agent360dk/computerMCP 的全部 Issue
相似的 Issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
难度 2/5 1-3 小时 新手友好度 82/100
openclaw/clawrouter#1348 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Missing repro Platform: Android
难度 2/5 1-3 小时 新手友好度 76/100
software-mansion/react-native-reanimated#11554 · 1 条评论 ·
维护者通常 1 天内回复
-
[DOCS]: Correct ESM initialization in the README examples可能已有人在做 @VIOLETee0 今天认领。 未关闭
难度 1/5 1-3 小时 新手友好度 88/100
octokit/graphql.js#716 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
directus/directus#28558 · 1 条评论 ·
维护者通常 2 天内回复