Enables publishing the MCP server as an npm package that can be installed and run by other users
Provides a TypeScript-based framework for developing MCP tools with type safety and modern language features
Uses Zod schema validation for defining tool input parameters and ensuring proper data validation
scenario-word
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 scenario-word # 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
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
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol (MCP) server that allows Claude AI to interact with custom tools, enabling extension of Claude's capabilities through the MCP framework.
Related MCP Servers
- -securityFlicense-qualityA 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.Last updated -455
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that integrates with OmniFocus to enable Claude (or other MCP-compatible AI assistants) to interact with your tasks and projects.Last updated -79786
- AsecurityFlicenseAqualityA Machine Context Protocol server that enables Claude AI to interact with tools through a structured communication interface, following standard MCP patterns with server initialization and stdio transport.Last updated -7821
- -securityFlicense-qualityA server implementation for the Model Context Protocol (MCP) that allows Claude AI to execute commands through a command-line interface, enabling direct system interactions from within Claude.Last updated -