Skip to main content
Glama

mcp-framework-starter

by QuantGeekDev

mcp-프레임워크-스타터

mcp-framework으로 구축된 MCP(Model Context Protocol) 서버.

빠른 시작

지엑스피1

프로젝트 구조

mcp-framework-starter/ ├── src/ │ ├── tools/ # MCP Tools │ │ └── ExampleTool.ts │ └── index.ts # Server entry point ├── package.json └── tsconfig.json

구성 요소 추가

이 프로젝트 src/tools/ExampleTool.ts 에 예제 도구가 포함되어 있습니다. CLI를 사용하여 더 많은 도구를 추가할 수 있습니다.

# 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-handler

도구 개발

도구 구조의 예:

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;

npm에 게시하기

  1. package.json을 업데이트하세요:
    • name 이 고유하고 npm 명명 규칙을 따르는지 확인하세요.
    • 적절한 version 설정하세요
    • description , author , license 등을 추가합니다.
    • 올바른 항목 파일에 대한 bin 포인트를 확인하세요.
  2. 로컬로 빌드하고 테스트하세요.
    npm run build npm link mcp-framework-starter # Test your CLI locally
  3. npm에 로그인합니다(필요한 경우 계정을 만듭니다):
    npm login
  4. 패키지를 게시하세요:
    npm publish

게시 후 사용자는 이를 Claude 데스크톱 클라이언트에 추가하거나(아래 참조) npx로 실행할 수 있습니다.

## 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": { "mcp-framework-starter": { "command": "node", "args":["/absolute/path/to/mcp-framework-starter/dist/index.js"] } } }

출판 후

Claude Desktop 구성 파일에 다음 구성을 추가하세요.

MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json Windows : %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "mcp-framework-starter": { "command": "npx", "args": ["mcp-framework-starter"] } } }

빌딩 및 테스트

  1. 도구를 변경하세요
  2. npm run build 실행하여 컴파일합니다.
  3. 서버는 시작 시 자동으로 도구를 로드합니다.

자세히 알아보기

-
security - not tested
F
license - not found
-
quality - not tested

개발자가 Claude Desktop과 통합할 수 있는 사용자 정의 도구를 만들고 추가할 수 있는 MCP(Model Context Protocol) 서버를 구축하기 위한 시작 템플릿입니다.

  1. 빠른 시작
    1. 프로젝트 구조
      1. 구성 요소 추가
        1. 도구 개발
          1. npm에 게시하기
            1. 빌딩 및 테스트
              1. 자세히 알아보기

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
                  Last updated -
                  3
                  9
                  36
                  JavaScript
                  Apache 2.0
                • -
                  security
                  A
                  license
                  -
                  quality
                  MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
                  Last updated -
                  4
                  3
                  TypeScript
                  MIT License
                • -
                  security
                  F
                  license
                  -
                  quality
                  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.
                  Last updated -
                  48
                  4
                  TypeScript
                  • Apple
                • -
                  security
                  -
                  license
                  -
                  quality
                  A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
                  Last updated -
                  1
                  TypeScript

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/QuantGeekDev/mcp-framework-starter'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server