Docs

Log your work from your coding agent

Your coding agent already knows what you got done. Set it up once and it sends a short summary to your private activity when it finishes, whether the work was for your job, a side project, or your own startup.

  1. 1

    Connect Village Docks

    Run this once.

    Terminal
    claude mcp add --transport http --scope user villagedocks YOUR_MCP_URL

    Replace YOUR_MCP_URL with the MCP URL on your profile.

  2. 2

    Tell it what to send

    Paste this into ~/.claude/CLAUDE.md.

    Prompt
    ## Village Docks
    
    When you finish a piece of work, log it with the Village Docks submit_activity tool.
    
    - Write two to five plain sentences on what got done and what came of it. Include numbers when you have them.
    - Tie it to the right role with workId. read_profile with parts ["work"] lists my roles, including side projects and my own startup. Leave workId out if none fits.
    - Leave out names of people and customers, secrets, credentials, and code.
    - Send one activity per session. If you already sent one, pass its id to update it.
    - If nothing worth logging happened, skip it.
  3. 3

    Add the hook

    Add this to ~/.claude/settings.json. It runs when the agent finishes a task and reminds it to send the summary. If the file already has settings, add the hook to them.

    ~/.claude/settings.json
    {
      "hooks": {
        "Stop": [
          {
            "hooks": [
              {
                "type": "command",
                "command": "grep -q '\"stop_hook_active\": *true' || echo '{\"decision\":\"block\",\"reason\":\"Log this work to Village Docks with submit_activity, as your Village Docks instructions say. If you already logged this session, update that activity. If there is nothing new to log, do nothing.\"}'"
              }
            ]
          }
        ]
      }
    }

That’s it. Each summary lands in your private activity, where bots check it for personal data, customer names, and company secrets. Nothing reaches your profile until you approve the digest.

Reference

MCP

POST /mcp/:token is the MCP address. The token is one secret for an identity. The tools are read_profile, write_profile, submit_activity, review_activity, read_requests, and submit_requests. A tool error comes back as text with isError: true.

read_profile reads a profile. Omit parts for the whole profile: about, work, notes, activity, ranked connections, lists, and resume when one is on file. parts limits that to about, work, education, connections, notes, activity, resume, or lists. query searches notes. ids reads those notes in full. who is another person’s address or id.

write_profile updates this person. About fields are name, headline, summary, industry, and location. note adds, updates, or removes one note about a role or a connection. work adds or updates a role. people adds connections, and list files them on a custom list.

submit_activity files one activity for this person. text is what they did, at most 2000 words, and it should not include personally identifiable information or proprietary information. The submission time is set when it is filed and cannot be changed. updated is the last time it changed. workId ties it to a work history item. slug ties it to a connection. Pass one of those, or neither. reviewers are people (an address or id) or agents (an identity id), and an item may be person or agent. approval is any, all, or the number of those reviewers who must approve. When reviewers are omitted on a new activity, the review agents from settings are used. With no reviewers it is approved. /mcp/:token/review is a review agent’s address. Its only tools are activity_to_review and submit_review. review_activity approves or rejects one activity. who is the person it is about, decision is approve or reject, and as is person or agent when the caller is listed as both.

Every activity is screened for personal data, customer names, and company secrets. That screen is fixed. screen.flagged and screen.note are on the activity. review_activity is a further review by the person’s own agent.

submit_requests stages a batch send draft of meeting requests and returns a page to confirm them before they are sent. read_requests lists incoming requests along with the owner’s defined receiving-agent filters so the agent can use context to pick which filter applies. Filter with id, meeting, status, or box (inbox, filtered, or sent). keep keeps requests in an inbox (with optional notes). filter sets them aside, and each one needs a reason.

HTTP

GET /api/comparisons/:slug

The comparison table behind a share url. Entities, properties, and how each property was found.

GET /api/people/:key

The public profile: name, avatar, current work, education, about, and a few connections. key is the custom URL, or the person id when they have not set one. The page is /u/:key. POST /api/network/about with handle sets the custom URL. A blank handle clears it.

GET /api/entities/:slug

GET /api/entities/:slug is that entity and its work history. A person also lists connections, with people they worked or studied with first. A company lists people who work or worked there. POST /api/network/export streams a LinkedIn export zip, keeps the profile files, saves the summary, and finishes work and connections in the background. A later pass reads public directory pages, SEC filings, archived team pages, ORCID jobs and schools, Crossref affiliations, and public Bluesky, Mastodon, Codeberg, Stack Overflow, and LittleSis profiles, then reads a few of their sites, keeps each source when the role dates differ, and saves people those pages show at the company. LinkedIn import queues that pass. Every fifteen minutes it also runs for work history, schools, and connections still on an older enrichment edition, and that edition is saved on the item once the fetch has been attempted. A newer edition fetches them again. GET /api/network/imports lists those uploads and whether that work has finished. GET /api/network reads that profile. POST /api/network/connections sets a private relationship on a connection. POST /api/network/people adds a connection by name, with a current company and picks for shared work or another tie. remove and slugs delete connections whose details you added yourself. POST /api/network/lists files chosen connection slugs into a named list, and GET /api/network includes those lists.

POST /api/network/work

Bearer token. Adds a work history item in one or more categories: employment, internship, startup, freelance, personal, or other. Pass categories as a list when it belongs to several. title and started are required. company is required except for personal or other work, which uses the title when the company is blank. finished closes the period. founded marks a startup the person started. id with those fields updates that item. id and note with title and markdown text adds a note about that role, or updates it when note.id is set. remove deletes that note. POST /api/network/notes saves a note about the person. category is work, connections, or other. workId ties a work note to a role. slug ties a connections note to a person. write_profile on POST /mcp/:token adds, updates, or removes a note or a role. submit_activity files an activity of at most 2000 words, without personally identifiable or proprietary information. POST /api/network/activity with text does the same for the signed-in person. POST /api/network/activity/sources connects a source such as a LinkedIn or resume import, GitHub, Linear, Slack, Notion, or HubSpot so that source can keep their activity up to date. It can pertain to a role or a connection. The submission time is set when it is filed. The profile Activity section has Settings, History, and Under review. History lists approved activity. Under review lists activity that is not approved yet. Settings keeps review agents, each a /mcp/:token/review address whose only tools are activity_to_review and submit_review. It shows whether activity is approved when any approve, all approve, or at least a number approve. POST /api/network/activity/settings with add adds an agent, remove drops one, and approval sets the rule. A new activity that omits reviewers uses those agents. A signed-in reviewer can approve or reject from that page. POST /api/network/activity does the same with who, id, and decision. review_activity approves or rejects it over MCP.

POST /api/network/lists

Bearer token. name and slugs file connections on a custom list. name alone creates an empty list. id and remove take people off. id and drop delete the list. people also deletes members you added yourself; everyone else stays a connection. id and description save a markdown note for that list. write_profile with people adds connections, and list files them on a custom list. A new list name creates that list. POST /api/network/about with intro or headline saves that About field. place saves the detected city, state, and country. POST /api/network/resume uploads a PDF, Word, Markdown, or text resume, and read_profile returns that text as resume when it is on file.

GET /api/messaging

Bearer token. GET /api/messaging returns receiving-agent filters, inboxes, batch sends and drafts, and messages. POST /api/messaging/filters creates, updates, or removes receiving-agent filters (each with a meaningful phrase title and instructions). POST /api/messaging/batch-sends/:id/send sends approved messages from a batch send draft. Filters stay off the public page.

GET /api/desk

Bearer token. Information, rules, open hours, block lengths, and integrations for records the person owns.

POST /api/information

Status 201. entity and items with a subject and a statement. An agent is required unless the caller owns the entity.

POST /api/agent-tokens

No bearer token creates an anonymous identity and a secret for /mcp/:token. A bearer token adds another secret to that person’s identity. POST /api/agent-tokens/claim with secret attaches an anonymous identity to the signed-in person. POST /api/agent-tokens/rotate with secret revokes that secret and issues another for the same identity. POST /api/agent-tokens/revoke with secret revokes that URL. GET /api/agent-tokens lists the signed-in person’s active secrets.

POST /api/rules

Status 201. Bearer token, entity slug, kind, name, English text, and detail. POST /api/rules/:id edits one they saved.

POST /api/schedule

Bearer token, entity slug, and windows. Each window has weekday 0–6, start, and end.

POST /api/integrations

Bearer token and service. Google and LinkedIn require that sign-in. Calendar can include windows and block lengths. Stripe can include a pricing rule.

POST /api/requests

Status 201. Bearer token, kind, name, parties, and a summary. A template is optional. Required messaging rules and deny permissions are checked.