feat: implement HTTP server for Hedera MCP#669
Open
skurzyp-blockydevs wants to merge 6 commits intofeat/release/16.04from
Open
feat: implement HTTP server for Hedera MCP#669skurzyp-blockydevs wants to merge 6 commits intofeat/release/16.04from
skurzyp-blockydevs wants to merge 6 commits intofeat/release/16.04from
Conversation
…P server for Hedera MCP - Introduced a new example, `external-mcp-return-bytes-agent`, in the `langchain-v1` package. - Added an HTTP server for Hedera MCP to handle session-based requests and interact with external agents. - Updated dependencies and introduced required typings for HTTP server functionalities. - Documentation enhancements for new example usage. Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
…ssApp` - Replaced manual Express and CORS setup with `createMcpExpressApp` for simpler configuration and better maintainability. Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
…identification Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
kierzniak
previously approved these changes
Apr 9, 2026
MWBlocky
previously approved these changes
Apr 9, 2026
Comment on lines
+146
to
+149
| coreTokenPlugin, | ||
| coreAccountPlugin, | ||
| coreConsensusPlugin, | ||
| coreAccountQueryPlugin, |
Contributor
There was a problem hiding this comment.
Shouldn't this be empty?
# Conflicts: # docs/DEVEXAMPLES.md # examples/ai-sdk/.env.example # examples/ai-sdk/package-lock.json # examples/ai-sdk/src/http.ts # examples/ai-sdk/src/stdio.ts # examples/langchain-v1/README.md # examples/langchain-v1/external-mcp-return-bytes-agent.ts # examples/langchain-v1/package.json # modelcontextprotocol/README.md # modelcontextprotocol/package.json # modelcontextprotocol/tsconfig.json # typescript/package-lock.json # typescript/package.json
Signed-off-by: skurzyp-blockydevs <stanislaw.kurzyp@blockydevs.com>
366e525
Comment on lines
+146
to
+149
| coreTokenPlugin, | ||
| coreAccountPlugin, | ||
| coreConsensusPlugin, | ||
| coreAccountQueryPlugin, |
Contributor
Author
There was a problem hiding this comment.
@piotrswierzy regarding your question - we need to decide if we want to include here all tools.
Contributor
There was a problem hiding this comment.
Up to you, we definitely should mention in the readme which tools are turned on
Comment on lines
+52
to
+62
| // Tools that can be selectively enabled via --tools=<name>,... or "all" | ||
| const ACCEPTED_TOOLS = [ | ||
| CREATE_FUNGIBLE_TOKEN_TOOL, | ||
| CREATE_NON_FUNGIBLE_TOKEN_TOOL, | ||
| AIRDROP_FUNGIBLE_TOKEN_TOOL, | ||
| MINT_NON_FUNGIBLE_TOKEN_TOOL, | ||
| TRANSFER_HBAR_TOOL, | ||
| CREATE_TOPIC_TOOL, | ||
| SUBMIT_TOPIC_MESSAGE_TOOL, | ||
| GET_HBAR_BALANCE_QUERY_TOOL, | ||
| ]; |
Contributor
Author
There was a problem hiding this comment.
@piotrswierzy This is mirrored from the stdio.ts example MCP - do we want/need this functionality here? Do we want it in the official hedera MCP too?
Contributor
There was a problem hiding this comment.
Up to you, we definitely should mention in the readme which tools are turned on, regarding the official hedera MCP, it should support all tools
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.
external-mcp-return-bytes-agent, in thelangchain-v1package for interacting with the MCP server.Description:
Related issue(s):
Fixes #677
Notes for reviewer:
Checklist