feat(messaging): add inbox, conversation, search, and send tools#235
Draft
5queezer wants to merge 1 commit intostickerdaniel:mainfrom
Draft
feat(messaging): add inbox, conversation, search, and send tools#2355queezer wants to merge 1 commit intostickerdaniel:mainfrom
5queezer wants to merge 1 commit intostickerdaniel:mainfrom
Conversation
Closes stickerdaniel#234 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merged
25 tasks
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
Adds 4 new messaging tools to the LinkedIn MCP server (#234):
get_inbox— list recent conversations from messaging inboxget_conversation— read a specific thread by username or thread_idsearch_conversations— search messages by keywordsend_message— send a message to a LinkedIn userChecklist
Code
LinkedInExtractor(scraping/extractor.py)messaging.pytool registration (tools/messaging.py)create_mcp_server()(server.py)"messaging"reference kind (scraping/link_metadata.py)Tests
_make_mock_extractor(tests/test_tools.py)TestMessagingToolsclass (tests/test_tools.py)TestMessagingclass (tests/test_scraping.py)tests/test_link_metadata.py)TestToolTimeouts.tool_namestupleDocs
README.mddocs/docker-hub.mdmanifest.jsonVerify
uv run pytest --cov— 297 passed, 74.32% coverageuv run ruff check . && uv run ruff format .uv run ty checkuv run pre-commit run --all-filesget_inboxget_conversationsearch_conversationssend_messageTest plan
uv run -m linkedin_mcp_server --transport streamable-http --log-level DEBUGget_inboxreturns conversation listget_conversationwith a known username returns messagessearch_conversationsreturns filtered resultssend_messagesends to a test account (Notes
send_messageis the first write operation in the server. It usesreadOnlyHint: falseandopenWorldHint: trueto signal MCP clients to confirm before sending.fields.py— each method navigates directly.Generated with Claude Opus 4.6. Prompt:
Implement the following plan: LinkedIn Messaging Tools🤖 Generated with Claude Code