Skip to content

v0.2.0: run locally over stdio

Choose a tag to compare

@StevenCyb StevenCyb released this 16 Nov 07:57
· 6 commits to main since this release
a5dad6d
  • Built binaries take --stdio (or GOMCP_TRANSPORT=stdio); HTTP stays the default
  • Server.ServeStdio in pkg/mcp for using it by hand
  • README: a "Local or remote" section with client config and the differences

Over stdio

  • No authentication and no scope checks: the caller is the process that started the server
  • Logs go to stderr; stdout carries protocol messages only
  • gomcp watch does not support stdio
  • Relative icon URLs are left out (use absolute or data: URLs)
  • Tools, resources, prompts, elicitation, sampling, roots, tasks and subscriptions/listen work as over HTTP

Nothing changes for existing HTTP users.