Discover Packages
sleipnir.dev/sleipnir
mcpadapter
package
Version:
v0.1.1-alpha
Opens a new window with list of versions in this module.
Published: Apr 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package mcpadapter bridges the MCP SDK with Sleipnir tools.
It queries an MCP server's tool list and wraps each tool as a sleipnir.Tool
that can be passed to RunInput.ExtraTools.
LoadTools queries the MCP server for its tool list and wraps each as a
sleipnir.Tool. The list is snapshotted at call time; call again to refresh.
type Option func(*loadConfig)
Option configures LoadTools behaviour.
WithPrefix prepends a string to every tool name loaded from the MCP server.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.