{
  "$schema": "https://modelcontextprotocol.io/schemas/server-manifest.json",
  "name": "Scribelet",
  "description": "AI notebook with encrypted notes, memories, and semantic search. MCP server exposes notes and memory tools to any MCP-compatible agent.",
  "publisher": {
    "name": "Scribelet",
    "url": "https://scribelet.app"
  },
  "endpoint": "https://api.scribelet.app/mcp",
  "transport": "streamable-http",
  "auth": {
    "methods": [
      {
        "type": "oauth2",
        "version": "2.1",
        "authorization_url": "https://api.scribelet.app/oauth/authorize",
        "token_url": "https://api.scribelet.app/oauth/token",
        "registration_url": "https://api.scribelet.app/oauth/register",
        "default_scopes": ["desks:read", "notes:read", "profile:read"],
        "supported_scopes": [
          "notes:read",
          "notes:write",
          "search",
          "desks:read",
          "tags:read",
          "profile:read",
          "memories:read",
          "memories:write",
          "insights:read"
        ]
      },
      {
        "type": "bearer_token",
        "description": "Long-lived API tokens generated from Account > AI Agent Connections. Grants all scopes."
      }
    ]
  },
  "documentation_url": "https://scribelet.app/learn/ai/mcp-server",
  "signup_url": "https://app.scribelet.app/register",
  "connections_url": "https://app.scribelet.app/account/connections",
  "capabilities": {
    "tools": [
      { "name": "search_notes", "description": "Full-text search across all notes in a desk", "scope": "search" },
      { "name": "search", "description": "Unified search across content types", "scope": "search" },
      { "name": "get_note", "description": "Retrieve a single note's full content by ID", "scope": "notes:read" },
      { "name": "list_recent_notes", "description": "List recently modified notes, optionally filtered by tag", "scope": "notes:read" },
      { "name": "create_note", "description": "Create a new note with title, content, and optional tags", "scope": "notes:write" },
      { "name": "update_note", "description": "Update an existing note's title or content", "scope": "notes:write" },
      { "name": "delete_note", "description": "Soft-delete a note (can be restored later)", "scope": "notes:write" },
      { "name": "get_note_links", "description": "Get forward links and backlinks (wikilinks) for a note", "scope": "notes:read" },
      { "name": "find_similar_notes", "description": "Find semantically similar notes using embeddings", "scope": "notes:read" },
      { "name": "list_memories", "description": "List memories, optionally filtered by category or text search", "scope": "memories:read" },
      { "name": "retrieve_memories", "description": "Semantically search memories by meaning", "scope": "memories:read" },
      { "name": "create_memory", "description": "Save a new memory (admin role required)", "scope": "memories:write" },
      { "name": "update_memory", "description": "Update a memory's text or category (admin role required)", "scope": "memories:write" },
      { "name": "delete_memory", "description": "Delete a memory (admin role required)", "scope": "memories:write" },
      { "name": "list_desks", "description": "List all desks you're a member of", "scope": "desks:read" },
      { "name": "get_desk", "description": "Get desk details (member count, tag count)", "scope": "desks:read" },
      { "name": "list_tags", "description": "List all tags in a desk with note counts", "scope": "tags:read" },
      { "name": "get_user_profile", "description": "Get your account info (email, ID)", "scope": "profile:read" }
    ],
    "resources": [
      { "uri_template": "note://{desk_id}/{note_id}", "description": "Full note as Markdown with YAML frontmatter" },
      { "uri_template": "desk://{desk_id}/notes", "description": "First page of recent notes (paginated)" },
      { "uri_template": "desk://{desk_id}/notes/{cursor}", "description": "Subsequent pages using cursor from previous response" },
      { "uri_template": "desk://{desk_id}/tags", "description": "All tags in a desk with usage counts" },
      { "uri_template": "desk://{desk_id}/memories", "description": "First page of desk memories (paginated)" },
      { "uri_template": "desk://{desk_id}/memories/{cursor}", "description": "Subsequent pages using cursor from previous response" },
      { "uri_template": "memory://{desk_id}/{memory_id}", "description": "A single memory's text content" }
    ]
  },
  "client_setup_examples": [
    {
      "client": "claude-code",
      "command": "claude mcp add scribelet --transport streamable-http https://api.scribelet.app/mcp"
    },
    {
      "client": "cursor",
      "instructions": "Settings > MCP Servers > Add new MCP server. Paste https://api.scribelet.app/mcp as the URL."
    },
    {
      "client": "windsurf",
      "instructions": "Add a new Streamable HTTP MCP server with URL https://api.scribelet.app/mcp."
    }
  ]
}
