About mcp-server-with-bun
mcp-server-with-bun is an MCP server built with the Bun JavaScript runtime. Its README documents commands to run and debug it, plus configuration for Claude Desktop.
Key features
- 01Runs on the Bun JavaScript runtime
- 02Install dependencies with bun install
- 03Run the server with bun server
- 04Inspect and debug with bun debug
Use cases
- 01Run an MCP server in a Bun project
- 02Inspect or debug the server with Bun
- 03Configure the server for Claude Desktop
MCP support
It is an MCP server intended for use with MCP clients. The README includes a Claude Desktop configuration example.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-server-with-bun
This is an mcp server using bun.sh.
Scripts
To install dependencies:
bun install
To run:
bun server
Inpsect/debug mcp server:
bun debug
This project was created using bun init in bun v1.2.5. Bun is a fast all-in-one JavaScript runtime.
Connecting to Claude Desktop
Make sure to include this config in your claude_desktop_config.json file.
{
"mcpServers": {
"mcp-server-playground": {
"command": "PATH-to-bun",
"args": [
"PATH-to-index.ts"
],
"env": {
"NOTION_TOKEN": "YOUR_NOTION_TOKEN"
}
},
},
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.