mcp_server
If you are the rightful owner of mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a minimal Model Context Protocol (MCP) server using Bun, TypeScript, and the `@modelcontextprotocol/sdk` package.
The Bun-based MCP Server is a lightweight server implementation designed to handle Model Context Protocol (MCP) requests. It leverages Bun, a fast JavaScript runtime, along with TypeScript for type safety and the `@modelcontextprotocol/sdk` package for MCP functionalities. The server is set up to use StdioServerTransport for local testing, allowing developers to test MCP requests via standard input and output. It includes a basic example tool, `add`, which performs addition of two numbers. The server also features dynamic tool loading, simulating the retrieval of tool definitions and handlers from a PostgreSQL database. The project is configured with strict TypeScript and ESLint settings to ensure code quality and consistency.
Features
- StdioServerTransport for local testing
- Basic example tool for adding two numbers
- Dynamic tool loading from a mocked PostgreSQL database
- Strict TypeScript configuration
- ESLint configuration for code quality