github mark3labs/mcp-go v0.7.0

latest releases: v0.44.0-beta.1, v0.43.2, v0.43.1...
12 months ago

Changelog ๐Ÿ“

Features โœจ

  • Added collapsible section for Resource Examples in README.md using <details> tags
  • Added environment variables support to StdioMCPClient constructor ๐Ÿ”ง
    • New env []string parameter to pass environment variables to subprocess

Code Changes ๐Ÿ› ๏ธ

  • Modified NewStdioMCPClient signature:
    // Old
    NewStdioMCPClient(command string, args ...string)
    
    // New
    NewStdioMCPClient(command string, env []string, args ...string)

Documentation ๐Ÿ“š

  • Improved README.md organization by making Resource Examples collapsible
  • Updated examples and tests to accommodate new environment variables parameter

Tests ๐Ÿงช

  • Updated TestStdioMCPClient to include empty environment variables slice
  • Added test coverage for environment variables functionality

Examples ๐Ÿ’ก

  • Updated filesystem_stdio_client example to use new client constructor with environment variables parameter

These changes enhance the flexibility of the StdioMCPClient by allowing environment variable configuration while improving documentation readability! ๐ŸŽ‰

Don't miss a new mcp-go release

NewReleases is sending notifications on new releases.