feat(mcp): MCP parity with web/Telegram agent — search + execute meta-tools (v0.3.0)#1
Merged
Merged
Conversation
Brings the stdio MCP server to parity with the noticed web/Telegram
agent. Replaces the two hand-written tools (search_network,
get_connection_path) with two meta-tools (search + execute) that
forward to the new POST /api/agent/capabilities/{search,execute}
endpoint on noticed-agent — the same registry that already powers web
and Telegram, minus nine chat-only capabilities filtered server-side.
The MCP client's LLM calls search to discover any of ~50 chat-safe
capabilities (mission/goal/milestone ops, PRM, network intelligence,
workspace files, memory, web search, cron, etc.) then execute by name
with the matching args.
- src/api-client.ts: add capabilitySearch / capabilityExecute methods
- src/mcp-server.ts: replace TOOLS array + per-tool handlers with two
meta-tools that delegate to the api-client
- __tests__/mcp-server.test.ts: swap legacy schema tests for the new
SearchArgsSchema / ExecuteArgsSchema tests (10 cases)
- __tests__/api-client.test.ts: add 3 capability-method tests
- README.md: explain the new surface + upgrade note from 0.2.x
- package.json + server.json: bump 0.2.0 → 0.3.0
Depends on noticed.so serving POST /api/agent/capabilities/* (PR #104
in noticedso/noticed, deployed today).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the stdio MCP server to feature parity with the noticed web/Telegram agent by exposing the full 50-capability registry through two meta-tools instead of two hand-written ones.
src/mcp-server.ts— replacesearch_network+get_connection_pathwithsearch+executemeta-tools. The LLM callssearchto discover capabilities (network search, missions, PRM, memory, workspace, cron, …) andexecuteby name with the matching args.src/api-client.ts— addcapabilitySearch/capabilityExecutemethods that POST tonoticed-agent's new/api/agent/capabilities/{search,execute}endpoints. The existingsearch/path/hydratemethods stay (used by thenoticed search/noticed pathCLI commands).SearchArgsSchema+ExecuteArgsSchema(10 cases) + 3 api-client capability-method cases. 32 total.package.json+server.jsonbumped 0.2.0 → 0.3.0.Depends on
noticed.soservingPOST /api/agent/capabilities/*— that landed innoticedso/noticedPR #104, deployed to production.What clients see now
Before (0.2.x):
After (0.3.0):
searchreturns the full chat-safe registry (~50 capabilities) with JSON schemas.executedispatches a named capability with args. Server-side denylist filters 9 chat-only capabilities (message,send_referral_invite,lookup_group_member,process_linkedin_zip,start_account_link,send_linkedin_export_instructions,cursor_cloud_agent_launch|status|followup).Breaking changes
Clients that called
search_network/get_connection_pathdirectly will get an "Unknown tool" error after upgrading. The same operations are available viaexecute { capability: "search_network", args: { query: "…" } }andexecute { capability: "get_connection_path", args: { query: "…" } }. MCP-aware LLMs (Claude, Cursor, ChatGPT MCP) discover the new shape viasearchautomatically.Test plan
npm run lint— cleannpm run check-types— cleannpm test— 32/32 passnpm run build— cleanmcp.noticed.so— verifiedtools/listreturns search+execute, search surfaces 50 capabilities, execute onlist_missionsreturns real datav0.3.0tag → release workflow publishes@noticed/cli@0.3.0to npm with provenanceRelease flow
The
release.ymlworkflow publishes to npm onv*tag push. After merge, please run:The workflow handles lint / types / test / build /
npm publish --provenance --access public.🤖 Generated with Claude Code