
stdtool
The simplest way to create reusable tools for multiple formats
Repository Info
About This Server
The simplest way to create reusable tools for multiple formats
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
stdtool
Stdtool is the easiest way to create reusable tools that can be output to be used by multiple tool calling frameworks such as AI SDK, MCP servers, Langchain.
Install
# npm
npm i stdtool
# yarn
yarn add stdtool
# pnpm
pnpm add stdtool
# bun
bun add stdtool
Usage
Create a reusable tool using the tool() function:
const myTool = tool({
name: "My tool",
description: "My custom tool",
parameters: z.object({}),
execute: async () => {
return "Hello world";
}
})
Then you can use any of the adapters to generate a specific tool for your usecase, e.g. MCP server:
import { mcp } from "tools/adapters/mcp";
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
const server = new McpServer({
name: "My server"
});
server.tool(...mcp(myTool))
Quick Start
Clone the repository
git clone https://github.com/blurrah/stdtoolInstall dependencies
cd stdtool
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.