deno-cosense-mcp-server

by champierre

146 downloads
Not rated
GitHub

Description

# deno-cosense-mcp-server Cosense MCP Server for Deno - Scrapboxのプロジェクトページを検索・取得するためのMCPサーバー ## 必要条件 - [Deno](https://deno.land/) v1.37.0以上 ## 環境変数 サーバーを実行する前に、以下の環境変数を設定する必要があります: - `COSENSE_PROJECT_NAME`: Scrapboxのプロジェクト名 - `COSENSE_SERVICE_ACCOUNT_ACCESS_KEY`…

About

# deno-cosense-mcp-server Cosense MCP Server for Deno - Scrapboxのプロジェクトページを検索・取得するためのMCPサーバー ## 必要条件 - [Deno](https://deno.land/) v1.37.0以上 ## 環境変数 サーバーを実行する前に、以下の環境変数を設定する必要があります: - `COSENSE_PROJECT_NAME`: Scrapboxのプロジェクト名 - `COSENSE_SERVICE_ACCOUNT_ACCESS_KEY`: Scrapboxのサービスアカウントアクセスキー ## 実行方法 ### 直接実行 ```bash deno…

Details

Author
champierre
Downloads
146
Categories
Other

- Searches Scrapbox pages by keywords (space-separated)
- Retrieves content of a specific page by title
- Fetches Cosense syntax rules
- Requires only Deno runtime (≥ v1.37.0)
- Authenticates via service account access key

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name deno-cosense-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Set the environment variables COSENSE_PROJECT_NAME and COSENSE_SERVICE_ACCOUNT_ACCESS_KEY, then run either deno run --allow-net --allow-env --allow-read --import-map=import_map.json server.ts or deno task start. The server exposes three tools that can be called via the MCP protocol.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "deno-cosense-mcp-server": {
            "deno-cosense-mcp-server": {
                "command": "deno",
                "args": [
                    "run",
                    "--allow-net",
                    "--allow-env",
                    "--allow-read",
                    "--import-map=import_map.json",
                    "server.ts"
                ]
            }
        }
    }
}

McpServers

{
    "deno-cosense-mcp-server": {
        "command": "deno",
        "args": [
            "run",
            "--allow-net",
            "--allow-env",
            "--allow-read",
            "--import-map=import_map.json",
            "server.ts"
        ]
    }
}

deno-cosense-mcp-server

Cosense MCP Server for Deno - Scrapboxのプロジェクトページを検索・取得するためのMCPサーバー

必要条件

- Deno v1.37.0以上

環境変数

サーバーを実行する前に、以下の環境変数を設定する必要があります:

- COSENSE_PROJECT_NAME: Scrapboxのプロジェクト名
- COSENSE_SERVICE_ACCOUNT_ACCESS_KEY: Scrapboxのサービスアカウントアクセスキー

実行方法

直接実行

deno run --allow-net --allow-env --allow-read --import-map=import_map.json server.ts

Deno Tasksを使用

deno task start

提供されるツール

cosense_search

キーワードによるScrapboxページの検索を行います。

パラメータ:
- keywords: 検索キーワード(スペース区切り)

cosense_get_page

特定のScrapboxページの内容を取得します。

パラメータ:
- title: ページのタイトル

cosense_syntax_rule

Cosenseの文法ルールを取得します。

パラメータ:
- なし(引数は必要ありません)

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.