mcp-cosense
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COSENSE_HOME | No | Home containing .cosense credentials | current home |
| COSENSE_MCP_HOST | No | HTTP listen address; Docker sets 0.0.0.0 | 127.0.0.1 |
| COSENSE_MCP_PORT | No | HTTP listen port | 8798 |
| COSENSE_CLI_CONCURRENCY | No | Maximum concurrent CLI processes | 4 |
| COSENSE_ALLOWED_PROJECTS | Yes | Comma-separated exact project URLs; empty disables access | |
| COSENSE_MCP_ALLOWED_HOSTS | No | Accepted HTTP Host headers | localhost values |
| COSENSE_CLI_TIMEOUT_SECONDS | No | Per-command timeout | 120 |
| COSENSE_CLI_MAX_OUTPUT_BYTES | No | Per-stream output limit | 4194304 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browse_pageB | Read one Cosense page in an agent-friendly format with metadata and links. |
| browse_related_pagesA | List one-hop and two-hop pages related to a Cosense page. |
| read_pageA | Read structured page JSON, including page ID and line IDs used for edits. |
| search_full_textA | Search complete Cosense page text with AND or OR matching. |
| search_vectorB | Semantically search Cosense titles and link notation. |
| preview_editA | Preview an explicitly requested edit without changing the page. First call read_page and use its top-level page ID and lines[].id values. Inspect the returned complete post-edit page before calling submit_edit. |
| preview_new_pageA | Preview creation of a new page without changing Cosense. Use this only for an explicitly requested write. The title and each item in lines represent one Cosense line. Inspect the preview before submitting it. |
| submit_editA | Commit one inspected Cosense edit preview. This mutates Cosense. Call it only for the same explicit user write request that produced the preview. Never retry an ambiguous result before read_page confirms whether the intended change already landed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mu373/mcp-cosense'
If you have feedback or need assistance with the MCP directory API, please join our Discord server