Scenario Word
Szenario-Wort
Ein mit mcp-framework erstellter Model Context Protocol (MCP)-Server.
Schnellstart
# Install dependencies
npm install
# Build the project
npm run build
Related MCP server: Model Context Protocol Server
Projektstruktur
scenario-word/
├── src/
│ ├── tools/ # MCP Tools
│ │ └── ExampleTool.ts
│ └── index.ts # Server entry point
├── package.json
└── tsconfig.jsonHinzufügen von Komponenten
Das Projekt enthält ein Beispieltool in src/tools/ExampleTool.ts . Sie können weitere Tools über die CLI hinzufügen:
# Add a new tool
mcp add tool my-tool
# Example tools you might create:
mcp add tool data-processor
mcp add tool api-client
mcp add tool file-handlerWerkzeugentwicklung
Beispielhafter Werkzeugaufbau:
import { MCPTool } from "mcp-framework";
import { z } from "zod";
interface MyToolInput {
message: string;
}
class MyTool extends MCPTool<MyToolInput> {
name = "my_tool";
description = "Describes what your tool does";
schema = {
message: {
type: z.string(),
description: "Description of this input parameter",
},
};
async execute(input: MyToolInput) {
// Your tool logic here
return `Processed: ${input.message}`;
}
}
export default MyTool;Veröffentlichen auf npm
Aktualisieren Sie Ihre package.json:
Stellen Sie sicher, dass
nameeindeutig ist und den npm-Namenskonventionen entsprichtPassende
versioneinstellendescription,author,licenseusw. hinzufügen.Überprüfen Sie, ob
binauf die richtige Eingabedatei verweist
Lokal erstellen und testen:
npm run build npm link scenario-word # Test your CLI locallyBei npm anmelden (ggf. Konto erstellen):
npm loginVeröffentlichen Sie Ihr Paket:
npm publish
Nach der Veröffentlichung können Benutzer es zu ihrem Claude-Desktop-Client hinzufügen (siehe unten) oder mit npx ausführen
## Using with Claude Desktop
### 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`
```json
{
"mcpServers": {
"scenario-word": {
"command": "node",
"args":["/absolute/path/to/scenario-word/dist/index.js"]
}
}
}Nach der Veröffentlichung
Fügen Sie diese Konfiguration zu Ihrer Claude Desktop-Konfigurationsdatei hinzu:
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json Windows : %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"scenario-word": {
"command": "npx",
"args": ["scenario-word"]
}
}
}Bauen und Testen
Nehmen Sie Änderungen an Ihren Werkzeugen vor
Führen Sie zum Kompilieren
npm run buildausDer Server lädt Ihre Tools beim Start automatisch
Mehr erfahren
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for progressive tool usage at any scale (see https://klavis.ai)
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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.25 npm5MIT
- FlicenseCqualityDmaintenanceA server built with mcp-framework that allows users to extend Claude's capabilities by adding custom tools that can be used through the Claude Desktop client.338 npm-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.38 npm-
- FlicenseNot gradedqualityDmaintenanceA customizable Model Context Protocol server built with mcp-framework that enables Claude to access external tools and capabilities through a standardized interface.38 npm-