calculator
A Model Context Protocol (MCP) server built with mcp-framework.
Quick Start
Project Structure
Adding Components
The project comes with an example tool in src/tools/ExampleTool.ts
. You can add more tools using the CLI:
Tool Development
Example tool structure:
Publishing to npm
Update your package.json:
Ensure
name
is unique and follows npm naming conventionsSet appropriate
version
Add
description
,author
,license
, etc.Check
bin
points to the correct entry file
Build and test locally:
npm run build npm link calculator # Test your CLI locallyLogin to npm (create account if necessary):
npm loginPublish your package:
npm publish
After publishing, users can add it to their claude desktop client (read below) or run it with npx
Local Development
Add this configuration to your Claude Desktop config file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
After Publishing
Add this configuration to your Claude Desktop config file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Building and Testing
Make changes to your tools
Run
npm run build
to compileThe server will automatically load your tools on startup
Learn More
This server cannot be installed
A Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.
- Quick Start
- Project Structure
- Adding Components
- Tool Development
- Publishing to npm
- Building and Testing
- Learn More
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that automatically reads the Claude Desktop configuration file and presents all available MCP services in an easy-to-copy format at the top of the tools list.Last updated -1273MIT License
- AsecurityFlicenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -11
- -securityFlicense-qualityA server implementation of the Model Context Protocol that allows users to extend Claude's capabilities by creating custom tools that can be used within the Claude Desktop client.Last updated -
- AsecurityFlicenseAqualityA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.Last updated -40