bun-mcp-server
Template for creating an MCP server using various tools.
Added on 3/28/2025
Template for Bun MCP Server
Usage
Create a new project
bun create github.com/dotneet/bun-mcp-server new_project_name
cd new_project_name
Implement MCP server using Claude Code or other tools you like.
# Edit spec.txt to describe what you want
vim spec.txt
claude "See spec.txt and implement an MCP Server that meets the spec."
Build a server
bun run build
Testing and Debugging
# You can use [inspector](https://github.com/modelcontextprotocol/inspector) for testing and debugging.
package_name=$(bun run show-package-name)
npx @modelcontextprotocol/inspector dist/$package_name
Install
# Install command to $HOME/bin or your own path.
cp dist/$package_name $HOME/bin/
Similar Resources
Developer Tools