Superargs icon

Superargs

Dynamically configure Model Context Protocol (MCP) server arguments at runtime.

About

Superargs is a middleware wrapper that enables dynamic injection of arguments into MCP servers at runtime. Instead of pre-configuring servers with necessary arguments and credentials, users can provide these details on-the-fly, enhancing flexibility and reducing setup overhead. It forwards all MCP requests to the underlying child server and introduces a tool to manage these arguments, ensuring connected clients are aware of changes.

Key Features

  • Dynamic argument injection into MCP servers.
  • Provides change notifications for tools, prompts and resources.
  • Comprehensive Model Context Protocol support, forwarding all requests to the child server.
  • Ability to customize the argument update tool name.
  • Securely pass args to the underlying MCP server.
  • 24 GitHub stars

Use Cases

  • Configure environment variables for MCP servers during user interaction.
  • Dynamically set authentication tokens for MCP servers during runtime.
  • Provide CLI arguments to any MCP server without pre-configuration.