
yosider/cosense-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Cosense를 위한 MCP 서버
개요
다음 도구는 Cosense 페이지와 상호 작용할 수 있습니다: - get page: 지정된 제목으로 페이지를 검색 - list pages: 리소스에서 사용할 수있는 페이지를 나열 - search pages: 지정된 쿼리 문자열을 포함하는 페이지 검색 - insert lines: 페이지에 지정된 줄 후에 텍스트를 삽입 다음 환경 변수를 설정: - COSENSE PROJECT NAME - 당신의 Cosense 프로젝트 이름. - COSENSE SID - 인증에 사용되는 세션 쿠키. 페이지를 작성하고 개인 페이지를 읽는 데 필요한. 이 비밀처럼 치료. https://scrapbox.io/scrapboxlab/connect.sid]를 더 자세히 알아보세요. 이 원클릭 설치 버튼 중 하나를 사용: : 버튼을 클릭하면 구성의 실제 값으로 your project name과 your sid를 대체합니다. 수동 설치를 위해, 당신은 또한 .vscode/mcp.json 직접 편집할 수 있습니다. claude desktop config.json에 다음 구성 중 하나를 추가하십시오. 이 패키지는 JSR 호스팅 패키지에 따라 다릅니다.
개요(AI 번역)
Cosense를 위한 MCP 서버.
도구
다음 도구는 Cosense 페이지와 상호 작용할 수 있습니다:
get_page: 지정된 제목으로 페이지를 검색list_pages: 리소스에서 사용할 수있는 페이지 목록search_pages: 지정된 쿼리 문자열을 포함하는 페이지 검색insert_lines: 페이지에 지정된 줄 후에 텍스트를 삽입
설치
# 필수품
다음 환경 변수를 설정:
COSENSE_PROJECT_NAME- 너의 Cosense 프로젝트 이름.COSENSE_SID- 인증에 사용되는 세션 쿠키. 페이지를 작성하고 개인 페이지를 읽는 데 필요한. 이 비밀처럼 치료. https://scrapbox.io/scrapboxlab/connect.sid] 더 자세한 내용은.
VS Code 사용자를 위한 ###
이 원클릭 설치 버튼 중 하나를 사용:
Note: 버튼을 클릭한 후,
your_project_name]과your_sid]를 구성의 실제 값으로 대체합니다. 수동 설정의 경우.vscode/mcp.json]을 직접 편집할 수 있습니다.
for Claude 데스크탑 사용자
다음 구성 중 하나를 추가 claude_desktop_config.json:
pnpm 사용
원사 사용
npx 사용
이 패키지는 JSR 호스팅 패키지에 따라 다릅니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Cosense MCP Server
A MCP server for Cosense.
Tools
The following tools are available for interacting with Cosense pages:
get_page: Retrieves a page with the specified titlelist_pages: Lists available pages in the resourcessearch_pages: Searches for pages containing the specified query stringinsert_lines: Inserts text after a specified line in a page
Installation
Prerequisites
Set the following environment variables:
COSENSE_PROJECT_NAME— your Cosense project name.COSENSE_SID— session cookie used for authentication. Required for writing pages and reading private pages. Treat this like a secret. See https://scrapbox.io/scrapboxlab/connect.sid for more details.
For VS Code Users
Use one of these one-click installation buttons:
Note: After clicking the button, replace
your_project_nameandyour_sidwith your actual values in the configuration. For manual setup, you can also edit.vscode/mcp.jsondirectly.
For Claude Desktop Users
Add one of the following configurations to your claude_desktop_config.json:
Using pnpm
{
"mcpServers": {
"cosense-mcp-server": {
"command": "pnpm",
설치
npx -y @yosider/cosense-mcp-server설정
{
"mcpServers": {
"cosense-mcp-server": {
"command": "pnpm",
"args": ["-s", "dlx", "@yosider/cosense-mcp-server"],
"env": {
"COSENSE_PROJECT_NAME": "your_project_name",
"COSENSE_SID": "your_sid"
}
}
}
}