ContextLayer

io.github.DotNova由 GitHub 账号 DotNova 发布v0.1.0更新于 Oct 24, 2026

Intelligent context infrastructure for AI teams: knowledge graph, sessions, tasks, documents.

已验证Streamable HTTP可网页运行效率与工作流知识与记忆沟通与协作

概览

AI 生成的概览

让助手通过 ContextLayer 查询和管理组织的知识图谱、项目、任务、团队、会话与文档。

可以做什么
ContextLayer 通过远程 HTTP 端点提供工具,可从组织知识图谱中获取智能上下文,依据意图分析、图谱遍历和语义相似度进行路由。它还涵盖项目与任务管理(创建、分配、依赖、删除)、冲刺、团队与成员、工作会话,以及支持搜索和读取全文的文档知识库。此外还包括统计、实时活动、通知,以及邀请和删除用户等管理员操作。
适用场景
当助手需要在 ContextLayer 组织内工作时使用:在回答前获取相关上下文、跟踪任务与冲刺、搜索内部文档,或汇报团队和项目活动。适合已将 ContextLayer 作为共享上下文与项目层的团队。
运行要求
通过可流式 HTTP 连接 api.dotnova.io 远程端点。需要在 Authorization 请求头中发送 bearer 令牌,令牌需登录 ContextLayer 网页应用后在“设置 - API 密钥”中复制。未声明本地运行时或环境变量。
安装前请注意
Authorization bearer 令牌是访问组织数据的凭据,须保密。许多工具会写入或永久删除数据,包括项目、任务、团队、文档、职位和用户,部分仅限管理员。会话和活动会被记录并汇总到知识图谱,助手的操作可能被记录并对组织内其他人可见。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ContextLayer,将其添加到工作区。
  2. 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.DotNova%2Fcontext-layer/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "contextlayer": {
      "type": "http",
      "url": "https://api.dotnova.io/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

该仓库没有 README。

工具

62

accept_org_invite

Accept a pending organization invite by organization name.

输入参数org_name必填

add_task_dependency

Add a dependency between tasks. Use this to express that a task is blocked by another task (must complete first) or relates to it. This prevents context contamination: when Task B depends on Task A, agents working on Task B will be warned if Task A is still in progress.

输入参数task_id必填dependency_typedepends_on_task_id必填

add_team_member

Add a member to a team. Find the team by name or ID, and the user by name or email.

输入参数roleuser必填team_idteam_name

assign_task

Assign a user to a task by name or email. The user is added to the task's assignees and linked in the knowledge graph.

输入参数user必填task_id必填

create_position

Create a new job position/title in your organization (admin only).

输入参数title必填descriptionpermissions

create_project

Create a new project in your organization. You will be added as the project owner.

输入参数name必填description

create_sprint

Create a new sprint for a project. Automatically migrates non-completed tasks (todo/in_progress) from the previous sprint. On first use, creates Sprint 0 (Backlog) for existing tasks and Sprint 1 as the active sprint.

输入参数goalnameproject_idproject_name

create_task

Create a new task in a project. Tasks track work items and can be assigned to team members and linked to sessions.

输入参数tagstitle必填due_atteam_idpriorityassigneesteam_namedepends_onproject_iddescriptionproject_namesprint_number

create_team

Create a new team in your organization. You will be added as team lead.

输入参数name必填objectivesdescription

delete_document

Delete a document from the knowledge base. This permanently removes the document.

输入参数document_id必填

delete_position

Delete a position permanently (admin only). Find by title or ID.

输入参数position_idposition_title

delete_project

Delete a project permanently (admin only). Find by name or ID.

输入参数project_idproject_name

delete_task

Delete a task permanently. The task and all its assignee links are removed.

输入参数task_id必填

delete_team

Delete a team permanently (admin only). Find by name or ID.

输入参数team_idteam_name

delete_user

Delete (soft-delete) a user from your organization (admin/owner only).

输入参数user必填

end_session

End a work session. This triggers context block generation — your activities are summarized and stored in the knowledge graph for future reference.

输入参数outcome必填session_id必填token_usage

find_documents

Search documents in the organization's knowledge base. Filter by category, tags, project, or free-text query. Returns document metadata — use get_document to read the full content.

输入参数tagslimitquerycategoryteam_nameproject_name

get_context

Get intelligent context from the knowledge graph. Pass a query describing what you need — the system will automatically route to the right data sources (tasks, sessions, documents, teams, blocks) based on intent analysis + graph traversal + semantic similarity. Optionally narrow scope with project name or session ID.

输入参数query必填max_tokensproject_idsession_idproject_name

get_context_routing

Get the current context routing mode for the organization. Returns 'keyword_llm', 'keyword_only', or 'llm_only'.

无需输入参数。

get_document

Get the full content of a document by its ID. Use find_documents first to search, then get_document to read the content. For binary documents (PDFs, images), content is returned base64-encoded with encoding='base64' and the mime_type field.

输入参数document_id必填

get_live_activity

See what's happening right now: active sessions, recent events, traces, and tasks being worked on.

输入参数team_nameuser_nameproject_namerecent_minutes

get_my_stats

Get your personal activity statistics: total sessions, events, active days, projects worked on, and recent activity summary.

无需输入参数。

get_org_stats

Get comprehensive organization statistics: counts, engagement metrics, task velocity.

无需输入参数。

get_project_status

Get the current status of a project including recent activity. You can use either the project name or ID.

输入参数project_idproject_name

get_session_details

Get full details of a session including all events/activities logged during it. Shows who did what, when, and the session block summary if available. Admins can view any session in the org; members can only view their own.

输入参数session_id必填

get_team_details

Get detailed information about a team: members (with roles), linked projects, and recent activity. Use team name or ID.

输入参数team_idteam_name

invite_user

Invite a new member to your organization (admin/owner only).

输入参数name必填roleemail必填skillspositionsteam_name

list_colleagues

List colleagues in your organization. Shows name, email, role, and optionally filters by team. Admins see all users; members see users in their own teams.

输入参数limitteam_name

list_notifications

List your notifications — task assignments, status changes, sprint updates, invites, and more. Returns unread notifications by default.

输入参数limitunread_only

list_pending_invites

List pending organization invites for the current user.

无需输入参数。

list_positions

List all job positions/titles in your organization with member counts.

无需输入参数。

list_project_members

List all members involved in a project. Includes users who have sessions in the project and users from teams linked to the project.

输入参数project_idproject_name

list_project_teams

List teams linked to a project.

输入参数project_idproject_name

list_projects

List projects in your organization. No parameters needed — just call it to see all your projects.

输入参数org_id

list_sessions

List your recent work sessions. Optionally filter by project name or ID. Shows task type, status, and event count.

输入参数limitproject_idproject_name

list_sprints

List sprints for a project. Shows sprint number, name, goal, status (current/completed), and task count.

输入参数project_idproject_name

list_tasks

List tasks. Filter by project, status (todo/in_progress/done/cancelled), sprint number, or show only your tasks. Shows title, status, priority, assignees, sprint, and linked sessions.

输入参数limitstatusmine_onlyproject_namesprint_number

list_teams

List all teams in your organization. Shows team name, member count, project count, and description.

无需输入参数。

log_activity

Log an activity or event. If no session_id is provided, a session is automatically created or reused for the project. Just pass project_name and content — no need to start a session first.

输入参数sourcecontent必填event_type必填project_idsession_idproject_name

log_trace

Log a granular agent action trace. High-frequency, no LLM processing.

输入参数statussummary必填task_idmetadatatrace_idproject_idsession_idtrace_type必填duration_msproject_nameparent_trace_id

log_traces_batch

Log multiple traces in a single batch.

输入参数traces必填

mark_notification_read

Mark a notification as read, or mark all notifications as read at once.

输入参数mark_allnotification_id

move_task_to_sprint

Move a task to a different sprint. Specify the target sprint by number or ID.

输入参数task_id必填sprint_idproject_namesprint_number

remove_task_dependency

Remove a dependency between tasks. This unblocks the task from the other task.

输入参数task_id必填depends_on_task_id必填

remove_team_member

Remove a member from a team. Find the team by name or ID, and the user by name or email.

输入参数user必填team_idteam_name

remove_user_from_org

Remove a user from the current organization without deleting their account. Admin/owner only.

输入参数user必填

search_entities

Search entities in the knowledge graph by name. Finds people, companies, documents, concepts, tools, etc. that have been mentioned in your activities.

输入参数limitquery必填entity_type

set_context_routing

Set the context routing mode for the organization. Requires admin role. Options: 'keyword_llm' (balanced), 'keyword_only' (fastest), 'llm_only' (most accurate).

输入参数mode必填

setup_organization

Set up your organization in one step (admin only). Use this for onboarding.

输入参数linksteamsprojectsobjectives必填description必填business_model必填custom_context

start_session

Start a work session. If a project is provided (project_name or project_id), the session is bound to it; if neither is provided, an unbound (projectless) session is created — useful when the work isn't tied to a specific project. Reuses an existing active session for the same scope (per-project, or one global projectless session per user). Task type: coding, review, planning, debugging, research, meeting, other.

输入参数sourcetask_type必填project_idproject_name

unassign_task

Remove a user from a task's assignees.

输入参数task_id必填user_id必填

update_org

Update your organization's details (owner only). Set name, description, business model, objectives, custom context for AI, or links.

输入参数namelinksobjectivesdescriptionbusiness_modelcustom_context

update_position

Update a position's title, description, or permissions (admin only). Find by title or ID.

输入参数new_titleposition_idposition_titlenew_descriptionnew_permissions

update_project

Update a project's name, description, or links. Find by name or ID.

输入参数linksnew_nameproject_idproject_namenew_description

update_task

Update a task's status, title, description, priority, or team assignment. Use this to move tasks through the workflow (todo -> in_progress -> done) or reassign to a team.

输入参数tagstitledue_atstatustask_id必填team_idpriorityteam_namedescription

update_team

Update a team's name, description, or objectives. Find by name or ID.

输入参数team_idnew_nameteam_namenew_objectivesnew_description

update_user

Update an existing user's name, role, positions, or skills (admin/owner only).

输入参数user必填skillsnew_namenew_rolepositions

upload_document

Upload a document to the organization's knowledge base. Documents can be templates, policies, contracts, procedures, guides, or references. They are indexed in the knowledge graph and automatically surfaced as context when relevant to a task. Supports both text and binary files: for binary files (PDFs, images, etc.), set is_base64=true and provide the content as a base64-encoded string, along with the appropriate mime_type (e.g. 'application/pdf', 'image/png'). Optionally set file_name for the original filename. Embeddings are generated automatically for search.

输入参数tagstitle必填content必填category必填team_idsfile_nameis_base64mime_typeproject_idteam_namesproject_name

whoami

Get your profile, organization, projects, recent sessions, and top entities. This is the best starting point — call this first to understand what's available. No parameters needed.

无需输入参数。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。