Sign In

@astramindapp/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astramindapp/mcp-server

MIND MCP Server — 28 tools. The most complete AI memory layer with the Focus → Project → Outcome → Task hierarchy (mind_focuses + extended mind_life with item_type/parent_id/focus_id and cross-account project sharing via share/list_shares/revoke_share), d

latest
Source
npmnpm
Version
0.23.0
Version published
Weekly downloads
58
-17.14%
Maintainers
1
Weekly downloads
 
Created
Source

@astramindapp/mcp-server

MIND MCP Server — The most complete AI memory layer available. 24 tools, 147 actions.

Your AI agents forget everything between sessions. MIND fixes that. Connect any MCP-compatible agent to your personal knowledge graph — with emotional intelligence, CRM, life management, site-wide assignable tasks, social features, self-training, autonomous insights, an admin-only Agent Command Center with per-agent ticket queues, an admin-only Featured Minds Portal (curate the public marketplace at m-i-n-d.ai from any MCP client — model, public chat prompt, temperature, brand fields, write-through to the linked user's profile), and more.

Self-describing. Every connecting client receives a full integration briefing in the MCP initialize response, and can read the complete playbook from the mind://integration-guide resource — so any agent knows what MIND is, which integration path fits its runtime (MCP server / OpenClaw plugin / REST API), how to authenticate, and the session protocol, without being told.

24 Tools

ToolActionsWhat It Does
mind_query1Semantic search across your knowledge graph (5 search modes)
mind_remember5Store, search, get, list, delete — document & entry (PRIVATE), feed_post (PUBLIC, explicit user request only — thought kept as deprecated alias)
mind_folders6Organize documents into folders — list, create, rename, move, delete, file documents
mind_context1Load persistent identity, preferences, rules, priorities, recent activity
mind_life13Goals, projects, tasks + full calendar management + productivity stats
mind_crm7Contacts, pipeline, activity logging, interaction history
mind_tasks9Site-wide tasks — assignable, completable work items on projects, contacts, or agents, plus completion reports
mind_graph3Graph stats, diagnostics, entity labels
mind_admin11Admin-only. User provisioning + the Featured Minds Portal: full CRUD over the public marketplace (get_full / update / update_owner_profile / reorder / delete), tier/credit management
mind_sense7MINDsense emotional intelligence — state, signals, timeline, KG weights, spikes
mind_research3Launch autonomous deep research jobs
mind_train7Self-training sessions + save chats to knowledge graph
mind_social14Public feed posts, social feed, communities, likes, comments — ⚠️ posting writes to the user's PUBLIC feed, only call on explicit user request
mind_profile9Profile, custom system prompts, LLM model selection
mind_insights7Autonomous Learning Engine insights, weekly summaries, feedback
mind_automate6Scheduled automations, event triggers, execution history
mind_notify4Notifications, mark read, stats
mind_agents21Admin-only. Agent Command Center — list/search/get/create/update/delete agents, heartbeats, probes, activity log, import from MIND, seed canonical fleet, link invoices, transfer ownership + share agents with other accounts
mind_tickets7Admin-only. Agent ticket queue — file, view, answer (comment), triage, resolve, and delete client feedback / bugs / ideas on any agent
mind_accounts6Multi-MIND accounts — list MINDs you can access, create new ones, delete MINDs you own, manage owners/viewers, send email invitations
mind_list_templates1List the 16 Front Layer typed-document templates
mind_get_template1Fetch the full spec for one Front Layer template
mind_save_typed1Save a filled-out Front Layer document with its type tag
mind_bootstrap_templates1Seed all 16 Front Layer templates into a MIND tenant

Quick Start

Fastest: one-paste remote connect (Claude Code / Claude Desktop / claude.ai)

No install, no API key handling — paste one command, click Connect in the browser, done:

claude mcp add --transport http mind https://m-i-n-d.ai/mcp

Claude opens the m-i-n-d.ai consent page, you click Connect, and MIND is live. Auth, key minting, and refresh are all handled by OAuth.

Local stdio install: browser-connect setup wizard

For tools that run MCP servers locally (Claude Desktop, Cursor, Windsurf, VS Code Copilot), run the setup wizard — it opens your browser, you click Connect on m-i-n-d.ai, and it receives your API key automatically and writes every tool config for you:

npx -y @astramindapp/mcp-server@latest mind-mcp-setup

No manual key copying. The wizard auto-detects your installed AI tools and configures each one.

Manual alternative: paste an API key

If you'd rather mint a key yourself: sign up at m-i-n-d.ai → Settings → Developer → Create API Key, then:

npx -y @astramindapp/mcp-server@latest mind-mcp-setup --key mind_xxx

or install globally and configure by hand:

npm install -g @astramindapp/mcp-server

Claude Code (local stdio with a manual key)

claude mcp add mind -- env MIND_API_KEY=mind_xxx mind-mcp

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mind": {
      "command": "mind-mcp",
      "env": {
        "MIND_API_KEY": "mind_your_key_here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mind": {
      "command": "mind-mcp",
      "env": {
        "MIND_API_KEY": "mind_your_key_here"
      }
    }
  }
}

Any MCP-Compatible Agent

The server works with any tool that supports Model Context Protocol — Claude, GPT, Gemini, Llama, or any future model.

How It Works

Your AI Agent  <-->  MCP Protocol  <-->  MIND MCP Server  <-->  Personal Knowledge Graph
                                                                  |
                                                           Emotional Intelligence
                                                           Autonomous Learning
                                                           CRM + Life + Social
  • Agent calls mind_context at session start → loads identity, rules, priorities
  • Agent calls mind_query before decisions → retrieves relevant memories
  • Agent calls mind_remember after tasks → stores outcomes and learnings
  • Agent calls mind_sense → reads user's emotional state to adapt responses
  • Agent calls mind_insights → surfaces autonomous pattern detection
  • Next session, any agent has full context. Knowledge compounds.

What Makes MIND Different

vs. Flat File Memory (MEMORY.md)

Flat FilesMIND
Size~20K chars, truncatedUnlimited knowledge graph
RetrievalLoads everything every turnOnly relevant memories via semantic search
StructureUnstructured textGraph with entities, relationships, and emotional weights
Cross-agentOne tool onlyShared across all AI agents
IntelligenceNoneAutonomous pattern detection + emotional encoding

vs. Other MCP Memory Servers

Anthropic OfficialMem0Graphiti/ZepMIND
Tools84924
Knowledge graphBasic (JSON)No (vectors)Yes (Neo4j)Yes (per-user MIND graph)
Emotional intelligenceNoNoNoYes (patent-pending)
CRMNoNoNoYes
Life managementNoNoNoYes
Social featuresNoNoNoYes
Self-trainingNoNoNoYes
Research agentNoNoNoYes
AutomationsNoNoNoYes
Mobile appNoNoNoYes

Tool Reference

mind_query — Search Your Knowledge Graph

query: "What did I decide about the authentication approach?"
mode: "hybrid"  // hybrid (default), mix, global, local, naive

Returns an AI-synthesized answer from your stored documents, entries, and feed posts with source attribution.

mind_remember — Store & Manage Content

ActionDescription
createStore content. PRIVATE: document, entry (default). PUBLIC: feed_post — writes to the user's public social feed, NEVER use unless the user explicitly said "post", "share", "tweet", "feed", or "thought to my feed". (thought is a deprecated alias for feed_post.)
deleteRemove by ID
searchFind entries / feed posts by query
getRetrieve specific item by ID
listPaginated listing of all content

mind_folders — Organize Documents into Folders

Folders are a presentation layer over the document tray — the knowledge graph still indexes and retrieves across every document regardless of folder.

ActionDescription
listAll folders, each with its document count
createCreate a folder (optionally nested under a parent)
renameChange a folder's name
moveRe-nest a folder under a different parent
deleteRemove a folder — its documents and subfolders move up a level; nothing is deleted
move_documentsFile one or more documents into a folder

mind_context — Load Persistent Context

Loads five structured sections at session start:

  • Soul — Core identity, mission, personality
  • User — Who the user is, their role, preferences
  • Rules — Operating constraints, behavioral guidelines
  • Priorities — Current goals, active projects, deadlines
  • Recent — Latest activity, outcomes, decisions

mind_life — Life Management + Calendar

ActionDescription
list, create, update, complete, delete, move, getFull task/goal CRUD
bulk_deleteDelete up to 200 life items in one call (item_ids array)
calendar_list, calendar_create, calendar_update, calendar_deleteCalendar events
statsProductivity metrics and completion rates

mind_crm — Contact Relationship Management

ActionDescription
list, create, update, delete, getContact CRUD with pipeline stages
log_activityRecord calls, emails, meetings, notes
list_activitiesView interaction history

mind_tasks — Site-Wide Tasks

Assignable, completable, reportable work items. A task can attach to a Life project (parent_type: "life_item"), a CRM contact ("contact"), an agent ("agent"), or stand alone. Assign tasks to a MIND member, an agent, or an external email address.

ActionDescription
listList/filter tasks by status, priority, parent, assignee, or overdue
createCreate a task — attach to a project/contact/agent, assign, set a due date
get, update, deleteTask CRUD
complete, reopenMark a task done or reopen it
assign(Re)assign to a member/agent/external; optionally fire the agent
reportsCompletion analytics — counts, overdue, by-assignee, 8-week throughput
mind_tasks({ action: "create", title: "Follow up with Acme",
             parent_type: "contact", parent_id: "<contact_id>",
             assignee_type: "agent", assignee_id: "fundraising-agent",
             dispatch_agent: true, due_date: "2026-06-01" })

mind_tasks({ action: "reports" })

mind_sense — MINDsense Emotional Intelligence

ActionDescription
stateCurrent emotional state (valence, arousal, trend, sensitivity)
signalsRecent emotional signals with strength and source
timelineHistorical emotional data
kg_weightsEntities weighted by emotional significance
spikesDetected emotional spikes
acknowledgeMark a spike as acknowledged
summaryAI-generated emotional summary

mind_research — Autonomous Research

ActionDescription
startLaunch a deep research job on any topic
statusCheck job progress
listView all research jobs

mind_train — Self-Training

ActionDescription
startBegin guided training (basics, network, expertise, history, goals, freeform)
chatSend training message
status, list_sessions, pause, resumeSession management
save_chatSave any chat conversation into the knowledge graph

mind_social — Social Layer

ActionDescription
create_thought, get_thought, delete_thought, like_thoughtPublic feed post management — ⚠️ create_thought writes to the user's PUBLIC feed, only call on explicit user request (see tool description)
feed, user_feed, search_feedSocial feed browsing
create_community, list_communities, get_communityCommunity management
join_community, leave_communityMembership
create_post, list_postsCommunity posts

mind_profile — Profile & Preferences

ActionDescription
get, updateProfile management
get_chat_prompt, set_chat_promptCustom chat system prompt
get_thought_prompt, set_thought_promptCustom feed-post generation prompt (used when the user asks MIND to draft a post)
get_model, set_model, list_modelsLLM model selection (50+ models)

mind_insights — Autonomous Learning Engine

ActionDescription
listRecent pattern-detected insights
unread_countCount of unseen insights
view, feedbackMark seen, rate helpfulness
analyzeTrigger on-demand analysis
weekly_summaryWeekly intelligence summary
contextALE context data

mind_automate — Automations

ActionDescription
list, create, update, deleteAutomation CRUD
run_nowTrigger immediately
historyExecution log

mind_notify — Notifications

ActionDescription
listView all notifications
mark_read, mark_all_readRead management
statsNotification overview

Requires an admin-scoped MIND API key. Powers everything at https://m-i-n-d.ai/#/admin/featuredmindsportal — the same surface any MCP client (Claude Code, Cursor, Windsurf, n8n via MCP, custom agents) can drive end-to-end.

User provisioning + tier/credits

ActionDescription
create_userProvision new MIND account; optionally generate an API key
list_usersList users with analytics, filterable by activity window and source tenant
update_user_tierChange subscription tier (free / pro / enterprise)
adjust_user_creditsAdd (+) or deduct (–) credits

The catalog (featured_minds collection) and the linked owner profile (user_profiles) edited together so changes hit https://m-i-n-d.ai/m/{username} immediately.

ActionDescription
create_featured_mindPromote a user's MIND into the featured catalog
list_featured_mindsList every featured mind with mind_id, display_order, featured, is_public
get_featured_mind_fullBundled view in one round-trip: featured_mind doc + linked user_profile + available_models catalog (what the portal side sheet loads)
update_featured_mindCatalog fields: title, subtitle, description, tags, featured, display_order, is_public, avatar_url, banner_url, price
update_featured_mind_owner_profileWrite-through to user_profiles for the linked user: preferred_llm_model, public_mind_prompt (≤3000 chars), chat_temperature (0.0–2.0), chat_reasoning_effort (minimal/low/medium/high, thinking models only), public_mind_enabled, public_mind_tagline/greeting/persona, bio, avatar_url, banner_url. Pass null on preferred_llm_model to clear and fall back to platform default.
reorder_featured_mindsBulk display_order via ordered_mind_ids: string[] — index in list becomes the order. Idempotent.
delete_featured_mindRemove from catalog. The user's underlying MIND is preserved.
mind_admin({ action: "list_featured_minds" })
// → grab the mind_id you want

mind_admin({ action: "get_featured_mind_full", mind_id: "<id>" })
// → see current owner_profile + the full available_models catalog

mind_admin({
  action: "update_featured_mind_owner_profile",
  mind_id: "<id>",
  preferred_llm_model: "anthropic/claude-sonnet-4.6",
  chat_temperature: 0.7,
  public_mind_prompt: "You are Anthony's public MIND. Answer in his voice."
})
// → next anonymous chat at /m/{username} uses the new model + prompt + temp

mind_agents — Agent Command Center (Admin)

Canonical registry of every agent across the workspace fleet — running on a VPS, planned, archived. Solves the recurring "every Claude Code session re-discovers my agents from scratch" problem. Backed by /admin/agents on the MIND backend. Requires an admin API key.

ActionDescription
listList/search agents with filters (list_status, list_host, list_tag, list_query free-text) and a fleet-wide stats payload
getDetail for one agent + last 20 activities inline
createRegister a new agent record (slug must be unique)
updatePartial update — name, description, status, cadence, host, responsibilities, etc.
deleteSoft-archive (default) or hard=true to permanently remove
heartbeatPush a heartbeat from the agent's runtime (updates last_heartbeat + current_job)
probeActive liveness probe (HTTP health_url or OpenClaw gateway) — logs result as activity
log_activityAppend a manual activity entry (notes, status changes, errors)
list_activitiesPaginated activity history for one agent
set_statusShortcut update — flip status to running/paused/planned/archived/error
set_current_jobShortcut update — record what the agent is doing right now
import_from_mindEnrich agent records from MIND agent-identity documents
seed_knownIdempotent upsert of the canonical seed list (additive; overwrite=true to reset)
transfer_ownerMove the agent to another MIND account's board (owner_username — the account must exist)
shareGrant another account access — grantee_username + share_role (owner = full control, viewer = read-only)
list_sharesList every account the agent is shared with
revoke_shareDrop a share grant by share_id (from list_shares)
// Before scaffolding a new agent — check what exists
mind_agents({ action: "list" })

// After non-trivial work — keep the registry honest
mind_agents({
  action: "heartbeat",
  slug: "social-media-manager",
  current_job: "drafting LinkedIn carousel for Friday"
})

// Promote a planned agent to running
mind_agents({ action: "set_status", slug: "audit-agent", status: "running" })

// Hand an agent to a teammate's board, or share it read-only
mind_agents({ action: "transfer_owner", slug: "audit-agent", owner_username: "jane" })
mind_agents({ action: "share", slug: "audit-agent", grantee_username: "sam", share_role: "viewer" })
// Search the fleet by free text — slug, name, description, or tags
mind_agents({ action: "list", list_query: "atlas" })

UI: visit https://m-i-n-d.ai/agents (admin-only) to browse the fleet visually.

mind_tickets — Agent Ticket Queue (Admin)

Every agent in the Command Center carries a ticket queue — client feedback, critique, ideas, feature requests, and bugs. A consulting client an agent is shared with files tickets; the agent's owner triages and resolves them. Every ticket auto-assigns to the Ernie triage agent and mirrors into MIND Life as a task. Backed by /admin/agents/{slug}/tickets. Requires an admin API key. agent_slug is required on every call.

ActionDescription
listEvery ticket on an agent + open/total stats; optional status filter
getOne ticket plus its full comment thread
createFile a new ticket (title required; kind, body, priority optional)
commentAnswer a ticket — add a reply to its comment thread (body = the reply)
updateTriage — change status, priority, kind, or reassign (assignee)
resolveShortcut — mark the ticket resolved
deleteRemove the ticket, its comments, and its mirrored Life task

kind: feedback · critique · idea · feature · bug status: opentriagedin_progressresolvedclosed priority: low · medium · high · urgent

// File a bug against an agent
mind_tickets({ action: "create", agent_slug: "social-media-manager",
               kind: "bug", priority: "high",
               title: "Carousel export drops the last slide",
               body: "Repro: 7-slide deck exports as 6." })

// Answer it, then resolve it
mind_tickets({ action: "comment", agent_slug: "social-media-manager",
               ticket_id: "<id>", body: "Fixed in the export batch size — verified." })
mind_tickets({ action: "resolve", agent_slug: "social-media-manager", ticket_id: "<id>" })

mind_accounts — Multi-MIND Accounts

A "MIND" is a knowledge-graph account. One person can own — or be granted access to — many MINDs (work, research, a client's, a shared team MIND) and switch between them. This tool lets an agent discover and manage them. Backed by /developer/v1/accounts on the MIND backend.

ActionDescription
listEvery MIND your API key's owner can access, with role (owner/viewer) and which is active
createSpin up a brand-new MIND you own (pass label)
deletePermanently delete a MIND you own — account, grants, and invitations (pass mind_username)
membersOwners, viewers, and pending invitations of a MIND you own (pass mind_username)
grantGive an existing MINDapp user owner/viewer access (mind_username, grantee_username, role)
inviteEmail an invitation to co-own or view a MIND (mind_username, email, role)
// Discover every MIND you can reach
mind_accounts({ action: "list" })

// Create a dedicated MIND for a new workstream
mind_accounts({ action: "create", label: "Acme Corp Research" })

// Grant a teammate read-only access
mind_accounts({
  action: "grant",
  mind_username: "acme_research_a1b2c3",
  grantee_username: "teammate",
  role: "viewer"
})

Note: owner = full access, viewer = read-only. Requires MULTI_MIND_ACCOUNTS_ENABLED on the MIND backend; list returns enabled: false when the feature is off.

Partner Integration

Partner apps can programmatically create MIND accounts using partner keys:

curl -X POST https://m-i-n-d.ai/admin/users/create \
  -H "X-API-Key: mind_partner_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "username": "newuser",
    "email": "user@app.com",
    "password": "securepassword",
    "generate_api_key": true
  }'

Returns a JWT + permanent API key. Your app stores the API key and uses it for all subsequent MCP/API calls on behalf of that user.

Environment Variables

VariableRequiredDefaultDescription
MIND_API_KEYYesYour MIND Developer API key
MIND_BASE_URLNohttps://m-i-n-d.aiMIND API base URL

Programmatic Usage

import { createMindMcpServer, MindClient } from "@astramindapp/mcp-server";

const client = new MindClient({
  baseUrl: "https://m-i-n-d.ai",
  apiKey: "mind_xxx",
});

const server = createMindMcpServer(client);
// Connect to any MCP transport

Patents

MIND's core technology — including emotion-weighted knowledge graph encoding and cross-agent persistent memory via the Model Context Protocol — is the subject of pending patent applications. Patents pending.

License

MIT — Astra AI, Inc.

Keywords

mcp

FAQs

Package last updated on 02 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts