Skip to main content
Glama
cosense-mcp-server
by yosider

Cosense MCP 서버

Cosense 용 MCP 서버.

도구

Cosense 페이지와 상호 작용하는 데 사용할 수 있는 도구는 다음과 같습니다.

  • get_page : 지정된 제목의 페이지를 검색합니다.

  • list_pages : 리소스에서 사용 가능한 페이지를 나열합니다.

  • search_pages : 지정된 쿼리 문자열을 포함하는 페이지를 검색합니다.

  • insert_lines : 페이지의 지정된 줄 뒤에 텍스트를 삽입합니다.

Related MCP server: MCP Tool

MCP 클라이언트 구성

다음 환경 변수가 필요합니다.

  • COSENSE_PROJECT_NAME : 프로젝트 이름

  • COSENSE_SID : 인증을 위한 세션 ID

    • 페이지에 쓰기 및 개인 페이지 읽기에 필요합니다.

    • 민감한 정보가 포함되어 있으므로 주의해서 다루십시오.

    • 자세한 내용은 scrapboxlab/connect.sid를 참조하세요.

npm 레지스트리에서 실행

JSR 레지스트리 구성

이 패키지는 JSR에 호스팅된 @cosense/std 및 @cosense/types 에 의존합니다. npx를 사용하기 전에 JSR 레지스트리를 전역으로 구성해야 합니다.

Linux/macOS의 경우:

지엑스피1

Windows(PowerShell)의 경우:

echo "@jsr:registry=https://npm.jsr.io" >> $env:USERPROFILE\.npmrc

또는 글로벌 설정을 수정하지 않으려면 대신 소스에서 실행하세요(아래 섹션 참조).

클라이언트 JSON 구성

JSR 레지스트리를 구성한 후 MCP 클라이언트를 구성하세요.

{
  "mcpServers": {
    "cosense-mcp-server": {
      "command": "npx",
      "args": ["-y", "@yosider/cosense-mcp-server"],
      "env": {
        "COSENSE_PROJECT_NAME": "your_project_name",
        "COSENSE_SID": "your_sid"
      }
    }
  }
}

소스에서 실행

복제 및 빌드

git clone https://github.com/yosider/cosense-mcp-server.git
cd cosense-mcp-server
npm install
npm run build

클라이언트 JSON 구성

{
  "mcpServers": {
    "cosense-mcp-server": {
      "command": "npx",
      "args": ["-y", "/path/to/cosense-mcp-server"],
      "env": {
        "COSENSE_PROJECT_NAME": "your_project_name",
        "COSENSE_SID": "your_sid"
      }
    }
  }
}

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.

npm run inspect

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

감사의 말

이 프로젝트는 funwarioisii/cosense-mcp-server 에서 포크되었습니다.

Available Tools

4 tools
get_pageB

Get a page with the specified title from the Cosense project.

Inputs: title (required).

insert_linesA

Insert lines after the specified target line in a Cosense page. If the target line is not found, append to the end of the page.

Inputs: title (required), targetLineText (required), text (required).

list_pagesC

List Cosense pages in the project.

Inputs: no named parameters.

search_pagesB

Search for pages containing the specified query string in the Cosense project.

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a distinct purpose: get_page retrieves a specific page, insert_lines modifies page content, list_pages enumerates pages, and search_pages queries by text. No functional overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with underscores (get_page, insert_lines, list_pages, search_pages), making them predictable and easy to understand.

    Tool Count4/5

    With 4 tools, the set is concise but covers essential operations for a Cosense server: reading, writing, listing, and searching. It is slightly minimal but appropriate for the domain.

    Completeness3/5

    The tools cover basic CRUD-like operations (get, insert, list, search) but lack delete or create functionality for pages explicitly. Insert_lines may create content but not a new page. Some gaps exist.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers