Skip to content

test: strengthen MCP directory preflight - #365

Merged
dodeja merged 3 commits into
mainfrom
cursor/amend-mcp-directory-preflight-0c03
Sep 10, 2026
Merged

test: strengthen MCP directory preflight#365
dodeja merged 3 commits into
mainfrom
cursor/amend-mcp-directory-preflight-0c03

Conversation

@dodeja

@dodeja dodeja commented Sep 10, 2026

Copy link
Copy Markdown
Member

Summary

  • add Anthropic Directory checklist steps for metadata, transport, privacy, human smoke testing, token bounds, and context privacy
  • lock tool-name, pagination, and include contracts in protocol compatibility tests
  • enforce complete annotations and the sole-write/no-destructive tool split

Verification

  • npm run test --workspace @terminal49/mcp -- --run (223 tests)
  • npm run build --workspace @terminal49/mcp
  • npm run lint --workspace @terminal49/mcp
  • git diff --check
Open in Web Open in Cursor 

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Co-authored-by: Akshay Dodeja <dodeja@gmail.com>
@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api Ready Ready Preview Sep 10, 2026 8:03pm UTC

Request Review

cursoragent and others added 2 commits September 10, 2026 20:01
Co-authored-by: Akshay Dodeja <dodeja@gmail.com>
Co-authored-by: Akshay Dodeja <dodeja@gmail.com>
@dodeja
dodeja marked this pull request as ready for review September 10, 2026 20:02
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-10T20:05:47.317539Z 8960f40 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8960f4064f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +201 to +203
expect(advertisedInstructions).not.toMatch(
/\b(?:send|provide|share|upload|attach)\b.{0,40}\b(?:chat|conversation) history\b/i,
);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Check for requests to provide conversation context

If a tool or server description asks callers to “provide conversation context,” both assertions pass because they only recognize chat/conversation history or user memory. This contradicts the new preflight claim that CI rejects conversation-context requests and could allow directory-disallowed context collection to reach submission; extend the guard to cover conversation context and equivalent phrasing.

Useful? React with 👍 / 👎.

@dodeja
dodeja merged commit 28a9acf into main Sep 10, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants