Skip to content

feat: src layout and tests#53

Open
Shubhdeep12 wants to merge 10 commits intoresend:mainfrom
Shubhdeep12:feat/src-layout-cli-support
Open

feat: src layout and tests#53
Shubhdeep12 wants to merge 10 commits intoresend:mainfrom
Shubhdeep12:feat/src-layout-cli-support

Conversation

@Shubhdeep12
Copy link
Contributor

@Shubhdeep12 Shubhdeep12 commented Feb 10, 2026

  • added src/ layout for app code
  • split server and transports into separate modules (stdio + HTTP Streamable only; legacy SSE removed)
  • added CLI support (--key, --sender, --reply-to, --http, --port, --help and env vars) to run the MCP server
  • added unit tests for server, CLI, and HTTP transport (we can add tools in a later PR)
  • added test step in build workflow

…README.md

- Deleted the index.ts file, consolidating the email sending service logic.
- Updated build paths in package.json and README.md to reflect the new structure.
- Adjusted CLI options and environment variable descriptions for clarity.
- Added a test script to package.json and included vitest as a dependency.
- Updated the GitHub Actions workflow to run tests during the build process.
- Refactored CLI configuration handling by renaming parseCli to resolveConfigOrExit for clarity.
- Enhanced error handling in index.ts to provide better stack trace output on fatal errors.
@Shubhdeep12
Copy link
Contributor Author

hey @drish, sorry for nudging everywhere 😅

Since I cant add you as a reviewer - any feedback here?

- added http transport
- updated cli
-  added tests for http transport
@Shubhdeep12 Shubhdeep12 changed the title feat: src/ layout and CLI support feat: src layout and tests Feb 13, 2026
@drish drish self-requested a review February 13, 2026 14:23
@drish
Copy link
Collaborator

drish commented Feb 16, 2026

hey @Shubhdeep12 im good with these changes overall, could you take a look at the conflicts please ?

@@ -0,0 +1,91 @@
import { randomUUID } from 'node:crypto';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe you're adding support for http here for integrating with web based agents correct ? could you also add a section on the readme on running this as http to integrate with these ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@Shubhdeep12
Copy link
Contributor Author

hey @drish thanks for the review.
pushed some more fixes. Can you please check.
resolved conflicts as well.
thanks

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