Skip to main content
Glama

Mastodon MCP

by The-Focus-AI

마스토돈 MCP

Mastodon과 상호작용하는 데 필요한 도구를 제공하는 모델 컨텍스트 프로토콜 서버입니다. 현재 선택적 미디어 첨부 파일을 사용하여 툿 생성을 지원합니다.

특징

  • 사용자 정의 가능한 가시성 및 콘텐츠 경고로 뚜트를 만듭니다.
  • 미디어 파일(이미지, 비디오, 오디오)을 업로드하고 첨부하세요
  • 미디어 첨부 파일에 대체 텍스트/설명 추가
  • 1Password CLI를 사용한 보안 자격 증명 관리

필수 조건

  • 노드.js 18+
  • pnpm
  • 1Password CLI( op ) 설치 및 구성
  • Mastodon 계정 및 API 액세스 토큰

설치

지엑스피1

구성

이 도구를 사용하려면 1Password에 저장된 Mastodon API 토큰이 필요합니다. 토큰을 다음 위치에 저장하세요.

  • op://Personal/Floss.Social Key/notesPlain

선택적으로 환경 변수를 통해 Mastodon 인스턴스 URL을 설정할 수 있습니다.

export MASTODON_INSTANCE_URL="https://your.instance.social"

설정하지 않으면 기본적으로 https://floss.social 로 설정됩니다.

용법

MCP 서버를 시작합니다.

pnpm start

서버는 다음 매개변수를 사용하여 단일 도구 mastodon_create_toot 노출합니다.

  • content (필수): 귀하의 투트의 텍스트 콘텐츠
  • visibility : "공개", "비공개", "비공개" 또는 "직접" 중 하나(기본값: "공개")
  • sensitive : 민감한 콘텐츠에 대한 부울 플래그(기본값: false)
  • spoiler_text : 콘텐츠 앞에 표시되는 경고 텍스트(기본값: "")
  • media_file : 첨부할 미디어 파일의 경로
  • media_description : 첨부된 미디어에 대한 대체 텍스트/설명

MCP Inspector를 사용한 예시 사용

  1. 검사기를 시작합니다.
npx @modelcontextprotocol/inspector node dist/mcp-server.js
  1. 브라우저에서 http://localhost:5173을 엽니다.
  2. 다음과 같은 매개변수를 사용하여 도구를 사용하세요.
{ "content": "Hello from MCP!", "visibility": "public", "media_file": "/path/to/image.jpg", "media_description": "A beautiful sunset" }

개발

# Run in development mode with auto-reloading pnpm dev # Build the project pnpm build # Run the built server pnpm start

보안

  • 코드베이스에 자격 증명이 하드코딩되어 있지 않습니다.
  • API 토큰은 1Password에 안전하게 저장되고 검색됩니다.
  • API 응답은 실수로 자격 증명이 유출되는 것을 방지하기 위해 git에서 무시됩니다.

특허

아이에스씨

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Mastodon과 상호작용하기 위한 도구를 제공하는 모델 컨텍스트 프로토콜 서버로, 사용자가 사용자 정의 가능한 표시 기능으로 툿을 생성하고 설명이 있는 미디어 파일을 첨부할 수 있습니다.

  1. 특징
    1. 필수 조건
      1. 설치
        1. 구성
          1. 용법
            1. MCP Inspector를 사용한 예시 사용
          2. 개발
            1. 보안
              1. 특허

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
                  Last updated -
                  12
                  Python
                  MIT License
                  • Linux
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that provides secure and intelligent interaction with files and filesystems, offering smart context management and token-efficient operations for working with large files and complex directory structures.
                  Last updated -
                  5
                  Python
                  MIT License
                  • Apple
                  • Linux
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that enables AI models to interact with both MySQL and MongoDB databases through a standardized interface, supporting comprehensive database operations including queries, schema management, and CRUD operations.
                  Last updated -
                  14
                  6
                  JavaScript
                  MIT License
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server that enables integration with the TESS API, allowing users to list and manage agents, execute agents with custom messages, and manage files through natural language interfaces.
                  Last updated -
                  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/The-Focus-AI/mastodon-mcp'

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