blog: Using MCP Server Tools in Mellea#50
Conversation
|
I set the date to Friday since this is short and specifically about a v0.6 feature which released today. If this doesn't iterate on reviewer too much I figured it was better than holding it off for weeks. |
|
concurrent with this, should we update the old MCP docs from the website? https://docs.mellea.ai/integrations/mcp |
that is a separate feature and the inverse of the feature I added and am blogging about here. I added using MCP tools in mellea. The original feature was surfacing mellea tools via a mcp server (the opposite direction). Edit: afaik that doc is still up to date and valid for the older feature |
|
well, that's confusing 😄 |
that is good to know that the older feature show up first and the newer feature shows up second, especially since this newer feature is the more helpful feature to most users. We may want to add a wikipedia-like "did you mean" link to the top that goes to the opposite one |
planetf1
left a comment
There was a problem hiding this comment.
Run against mellea v0.6.0 installed via uv add 'mellea[tools]' in a clean Python 3.12 environment. All API signatures, method names, and parameter signatures match the live implementation — the code is accurate.
Two inline comments below flag issues that would cause readers to hit errors when following the post.
planetf1
left a comment
There was a problem hiding this comment.
Run in a clean Python 3.12 environment with uv add 'mellea[tools]' (mellea v0.6.0). All API signatures, method names, and parameter signatures match the live implementation — zero false claims.
Against the write-technical-blog checklist
- Code blocks have fenced syntax with language specified
-
react()andChatContextparameters match live signatures -
MCPToolSpec.as_mellea_tool()returnsMelleaTool(verified withinspect.signature) - Connection helpers (
http_connection,sse_connection,stdio_connection) signatures match - Link to full runnable example is correct
- MCP signatures verify against live v0.6.0
planetf1
left a comment
There was a problem hiding this comment.
The blog's clean structure (Connect → Discover → Convert), accurate code, "Under the hood" runtime details, and link to the runnable example are all strong.
Verification
Run in a clean Python 3.12 environment with uv add 'mellea[tools]' (mellea v0.6.0). All API signatures, method names, and parameter signatures match the live implementation.
Verified inspect.signature on http_connection, sse_connection, stdio_connection, discover_mcp_tools, react, ChatContext, and MCPToolSpec.as_mellea_tool().
planetf1
left a comment
There was a problem hiding this comment.
Follow-up after running the snippets end-to-end (mellea v0.6.0, Python 3.12 clean env) instead of just verifying signatures. Three corrections to my earlier review.
planetf1
left a comment
There was a problem hiding this comment.
There's some minor things that could be fixed for accuracy, but given the use of snippets I'm not overly concerned.
Getting this info out there is really valuable -- as this makes access to more tools so much easier
|
@planetf1 I gave the following response to all your inline comments:
I called out in the blog that the snippets were illustrative and linked the actual example for the executable code. Relatedly we may want to investigate how we can improve our skills to distinguish code snippets in blogs that are illustrative vs runnable. I ran into many of the same comments when I had gemini, Claude, and codex review my blog before opening the PR. surprisingly only gemini saw the note and listed the issues as fyi instead of needs to fix |
|
I've added a |
Mellea now supports MCP server tools. Discover any MCP server's tools and call them directly from a Mellea agent. Assisted-by: Claude Code Signed-off-by: Alex Bozarth <ajbozart@us.ibm.com>
187a3cb to
fdc8023
Compare
e2d2df4
Summary
Test plan
npm run lint:mdpassesnpm run buildsucceeds/blogs/mcp-tool-integration/schedule 2026-05-22