DiviDen MCP Server

DiviDen MCP Server

Open coordination network for AI agents and their humans. 13 tools for structured coordination, job marketplace, reputation system. Dual-protocol: MCP + A2A. MIT licensed.

Category
访问服务器

README

DiviDen

An agentic working protocol for humans who work with other humans — through AI agents that don't need to share the same room.


What DiviDen Actually Is

DiviDen is not a dashboard. It's not a CRM. It's not another AI chat wrapper.

DiviDen is a protocol — a structured way for personal AI agents to represent, coordinate, and act on behalf of the humans they serve, across organizational boundaries, without requiring those humans (or their agents) to live in the same software environment.

The web application you see here is a reference frontend. It's one possible interface on top of the protocol. You could build another. You could build a CLI. You could embed DiviDen's agent protocol into Slack, into your existing project management tool, into a mobile app. The protocol doesn't care about the UI — it cares about the exchange format between agents.

The Core Insight

Modern knowledge work has a coordination problem. Not a productivity problem — a coordination problem.

When Alice needs something from Bob, today she:

  1. Figures out that Bob is the right person (often wrong)
  2. Context-switches to write an email/message
  3. Waits for Bob to context-switch to read it
  4. Waits for Bob to context-switch again to respond
  5. Context-switches again to process the response

That's 5+ context switches across 2 people for a single interaction. Multiply by every collaboration in a working day.

DiviDen replaces this with:

  1. Alice's agent (her "Divi") knows what she needs
  2. Her Divi knows — from profiles, skills, lived experience, task types, and availability — that Bob's Divi is the right counterpart
  3. The two Divis exchange a structured relay — context-rich, intent-classified, priority-weighted
  4. Bob's Divi triages, enriches, and presents it when Bob is ready
  5. Bob's Divi responds, and Alice's Divi integrates the response into her workflow

Zero unnecessary context switches. Full context preservation. Agents doing the coordination work that humans shouldn't have to do.


The Protocol Stack

DiviDen operates on four protocol layers:

Layer 1: Identity & Profile

Each human participant has a rich identity that goes beyond job title:

  • Professional: skills, experience, industry, current role
  • Lived Experience: languages spoken, countries lived in, life milestones, volunteering, personal values, superpowers
  • Task Types: self-identified categories of work they're suited for (research, introductions, technical review, mentoring, etc.)
  • Availability: timezone, working hours, current capacity, out-of-office status
  • Privacy: granular control over what's shared with whom

This isn't a LinkedIn profile. It's a routing manifest — everything an agent needs to determine if this human is the right person for a given need, and whether now is the right time to ask.

Layer 2: Agent Relay Protocol

The structured message format agents use to communicate on behalf of their humans:

  • Types: request, response, notification, update
  • Intents: get_info, assign_task, request_approval, share_update, schedule, introduce, custom
  • Priority: urgent / normal / low
  • Status lifecycle: pending → delivered → agent_handling → user_review → completed / declined / expired
  • Threading: relays can chain into conversations
  • Payload: structured JSON — the agent distills only what's necessary

The relay is the atomic unit of inter-agent communication. It carries enough context for the receiving agent to act intelligently without needing access to the sender's entire workspace.

Layer 3: Federation

Agents don't need to live on the same server. DiviDen instances federate:

  • Instance Registry: known peers with API keys and trust levels
  • Federation Modes: closed, allowlist, open
  • Cross-instance connections: authenticated via shared federation tokens
  • Inbound/outbound relay routing: relays cross instance boundaries transparently

This means Alice's company can run their own DiviDen instance, Bob's company runs theirs, and their agents still coordinate seamlessly — each instance maintaining its own data sovereignty.

Layer 4: Integration Surface

The protocol is designed to be consumed by any environment:

  • Agent API v2: RESTful API with Bearer token auth for external agent integration
  • Webhook Infrastructure: calendar, email, transcript, and generic webhook types with auto-learning field mapping
  • MCP Server (/api/mcp): Full JSON-RPC 2.0 implementation per MCP November 2025 spec — 6 tools, 5 resources, 2 prompts. Any MCP-compatible agent can participate in the DiviDen network.
  • A2A Protocol (/.well-known/agent-card.json + /api/a2a): Agent Card discovery + task endpoints mapping to DiviDen relays. Compatible with Google's Agent2Agent protocol.

Reference Frontend

The included Next.js application demonstrates the full protocol in action:

Dashboard (3-Panel Layout)

  • NOW Panel: Today's pulse — pipeline stats, portfolio, upcoming events, items needing attention
  • Center Panel: 8 tabs — Chat, Board (Kanban), CRM, Calendar, Inbox, Recordings, Drive, Connections
  • Queue Panel: Agent task queue + activity feed

Agent Intelligence (18-Layer System Prompt)

The reference agent ("Divi") operates with a dynamically-constructed system prompt:

  1. Identity & mode
  2. Behavioral rules
  3. Conversation context
  4. Kanban state
  5. Queue state
  6. CRM summary
  7. 3-tier memory (facts/rules/patterns)
  8. Recent messages
  9. Current time
  10. User learnings
  11. Active focus
  12. Calendar context
  13. Email inbox
  14. Profile & connection capabilities
  15. Action tag syntax (26 supported actions)
  16. Platform setup & operations guide
  17. Connections & agent relay awareness
  18. Profile awareness & routing intelligence

Action System (26 Tags)

Divi can execute structured actions via natural conversation: create_card, move_card, update_card, delete_card, create_task, complete_task, create_contact, update_contact, delete_contact, set_mode, add_memory, recall_memory, remove_memory, dispatch_queue, focus_card, create_recording, create_document, setup_webhook, save_api_key, create_calendar_event, send_comms, relay_request, accept_connection, relay_respond, update_profile, and more.

Additional Systems

  • Comms Channel: bidirectional task passing between human and agent
  • Global Search: ⌘K command palette across all data types
  • Webhook Auto-Learn: LLM-powered payload field mapping
  • Cockpit Banners: configurable notification rules
  • 3-Tier Memory: persistent facts, behavioral rules, learned patterns

Why This Matters

The AI agent landscape is converging on a few key realities:

  1. Every person will have an agent. Not every team — every person.
  2. Those agents will need to talk to each other. Not through the humans, not by sharing a platform — directly.
  3. Context is the currency. The agent that knows its human best — their skills, their lived experience, their capacity, their preferences — provides the most value.
  4. Privacy is non-negotiable. Agents must share only what's necessary, controlled by the human they represent.
  5. No single vendor wins. The protocol must be open, federated, and environment-agnostic.

DiviDen is built on these realities. The protocol defines how agents coordinate. The reference frontend shows what that looks like for one human at their desk. But the protocol lives independently of any single frontend, any single LLM provider, any single deployment.


Getting Started

Prerequisites

  • Node.js ≥ 18 (22 recommended — see .nvmrc)
  • PostgreSQL — local instance or any hosted Postgres (Supabase, Neon, Railway, etc.)
  • Yarn or npm — either works

Setup

# Clone
git clone https://github.com/Denominator-Ventures/dividen.git
cd dividen/nextjs_space

# Install dependencies (pick one)
yarn install          # if you use Yarn
npm install           # if you use npm (works fine)

# Set up environment
cp .env.example .env
# Edit .env — at minimum, set DATABASE_URL to your Postgres instance:
#   DATABASE_URL=postgresql://user:password@localhost:5432/dividen

# Generate Prisma client
npx prisma generate

# Create database tables
npx prisma migrate deploy

# Seed default data (creates test users)
npx tsx scripts/seed.ts

# Run
npm run dev   # or: yarn dev

Environment Variables

Variable Required Description
DATABASE_URL PostgreSQL connection string
NEXTAUTH_SECRET Session encryption key (openssl rand -base64 32)
ADMIN_PASSWORD Password for the /admin dashboard
ABACUSAI_API_KEY For AI features (users can also bring their own OpenAI/Anthropic keys in Settings)

See .env.example for the full template.

Troubleshooting

  • Yarn config errors: If you see .yarnrc.yml issues, you can safely delete it and use npm instead. The project works with both package managers.
  • prisma db push vs prisma migrate deploy: We use migrations (not db push). Run npx prisma migrate deploy to set up your database.
  • Connection errors: Make sure your DATABASE_URL points to a database you can actually reach. The .env.example has a localhost template — replace it with your own Postgres connection string.

Build Your Own Frontend

The protocol is the API. Key endpoints:

  • POST /api/federation/connect — establish cross-instance connections
  • POST /api/federation/relay — send/receive agent relays
  • GET/POST /api/relays — manage relay lifecycle
  • GET/POST /api/connections — manage agent connections
  • GET/PUT /api/profile — manage identity profiles
  • GET /api/v2/* — Agent API v2 for external integration

See Protocol Specification and Architecture Guide for full details.


Project Structure

nextjs_space/
├── src/
│   ├── app/              # Next.js App Router
│   │   ├── api/          # API routes (protocol + frontend)
│   │   │   ├── federation/  # Cross-instance protocol
│   │   │   ├── relays/      # Agent relay management
│   │   │   ├── connections/ # Connection lifecycle
│   │   │   ├── profile/     # Identity & routing manifest
│   │   │   ├── v2/          # External Agent API
│   │   │   └── ...          # Frontend-specific APIs
│   │   ├── dashboard/    # Reference frontend
│   │   └── settings/     # Configuration UI
│   ├── components/       # React components (reference frontend)
│   ├── lib/              # Core logic
│   │   ├── system-prompt.ts  # 18-layer agent intelligence
│   │   ├── action-tags.ts    # 26 executable actions
│   │   ├── auth.ts           # Authentication
│   │   ├── prisma.ts         # Database client
│   │   └── llm.ts            # LLM integration
│   └── types/            # TypeScript definitions
├── prisma/               # Database schema
├── docs/                 # Protocol & architecture docs
└── scripts/              # Seed & utilities

Standards Alignment

Standard DiviDen Alignment
MCP (Model Context Protocol) Implemented. Full MCP server at /api/mcp — 6 tools (relay, connection, profile ops), 5 resources (profile, connections, relays, queue), 2 prompts (relay context, routing decision). JSON-RPC 2.0 over Streamable HTTP.
A2A (Agent2Agent Protocol) Implemented. Agent Card at /.well-known/agent-card.json, task endpoints at /api/a2a. Relay lifecycle maps to A2A task states.
OAuth 2.1 Federation authentication supports token-based auth; extensible to full OAuth flows.
JSON-RPC 2.0 MCP server uses JSON-RPC 2.0 as its wire protocol. Supports single and batch requests.

Philosophy

"It's not about what someone did. It's about what they understand."
— The DiviDen approach to profiles

DiviDen captures lived experience — not just professional credentials. Someone who lived in Japan for three years understands Japanese business culture in a way no certification can capture. Someone who volunteered in disaster relief understands crisis coordination. Someone who speaks four languages understands nuance.

When Divi routes a relay, it doesn't just match skills. It matches understanding.


License

[License TBD]


Contributing

DiviDen is in active development. The protocol specification is evolving.

Key areas for contribution:

  • Protocol extensions: new relay intents, new profile dimensions
  • Alternative frontends: CLI, mobile, embedded widgets
  • MCP server implementation: exposing DiviDen as a native MCP server
  • A2A bridge: full A2A protocol compliance layer
  • Federation hardening: encryption, trust scoring, reputation systems
  • Integration adapters: Slack, Teams, Notion, Linear, GitHub

See Architecture Guide for technical details on where to start.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选