genaiscript icon indicating copy to clipboard operation
genaiscript copied to clipboard

MCP strongly typed layer

Open pelikhan opened this issue 9 months ago • 4 comments

Should we be able to leverage mcps functions from code?

pelikhan avatar Apr 15 '25 02:04 pelikhan

The title and body are extremely vague. “MCP strongly typed layer” doesn’t explain what MCP is, or what the “strongly typed layer” aims to achieve.

The question “Should we be able to leverage mcps functions from code?” lacks context. It needs to state why this question is being asked and what the desired outcome is.

To help me understand, could you clarify:

  1. What does MCP stand for?
  2. What problem are you trying to solve by allowing code to leverage MCP functions?
  3. What is the intended purpose of this “strongly typed layer”?

AI-generated content by issue-reviewer may be incorrect

github-actions[bot] avatar Apr 15 '25 02:04 github-actions[bot]

this will be so useful I found mayself doing this with mcp as well export all the functions from top level module with better function names instead of tool names

alyahmedaly avatar Apr 16 '25 08:04 alyahmedaly

I need to a bit of cleanup but it's definitely doable. In fact, we should be able to run any tool that in the context. MCP does not formally define a output schema but i suspect it will appear in time.

pelikhan avatar Apr 16 '25 10:04 pelikhan

requires https://github.com/microsoft/genaiscript/issues/1456

pelikhan avatar Apr 16 '25 11:04 pelikhan