npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

company-mcp-server

v0.3.17

Published

MCP server for the local company orchestration API. Fills gaps in the paperclipai CLI for Claude Code sessions.

Readme

company-mcp-server

A stdio MCP server that exposes a typed tool surface for interacting with a local company orchestration API. Fills the gaps in the paperclipai CLI.

Install

Bun (recommended)

{
  "mcpServers": {
    "company": {
      "command": "bunx",
      "args": ["company-mcp-server@latest"],
      "env": {
        "PAPERCLIP_API_BASE": "http://127.0.0.1:3100",
        "PAPERCLIP_COMPANY_ID": "<your-company-uuid>"
      }
    }
  }
}

Node (npx)

{
  "mcpServers": {
    "company": {
      "command": "npx",
      "args": ["-y", "company-mcp-server@latest"],
      "env": {
        "PAPERCLIP_API_BASE": "http://127.0.0.1:3100",
        "PAPERCLIP_COMPANY_ID": "<your-company-uuid>"
      }
    }
  }
}

PAPERCLIP_API_BASE defaults to http://127.0.0.1:3100 if unset. PAPERCLIP_COMPANY_ID is optional when the local Paperclip instance has only one company.

Agent API key (Group E tools)

Inbox tools (paperclip_me_whoami, paperclip_inbox_*) require an agent-scoped API key:

"PAPERCLIP_AGENT_API_KEY": "<agent-jwt>"

Tools (v0.3)

Baseline

| Tool | Purpose | |------|---------| | paperclip_agent_patch | Update agent metadata (name, title, role, reportsTo, capabilities, icon). | | paperclip_agent_set_permissions | Set canCreateAgents / canAssignTasks on an agent. | | paperclip_member_set_grants | Replace or merge explicit permission grants on a member. | | paperclip_routine_patch | Update a routine's metadata. | | paperclip_routine_run | Trigger a manual routine run, optionally wait for completion. | | paperclip_issue_get_full | Issue + comments + relations in one call. | | paperclip_issue_patch | Update issue fields not fully covered by the CLI. | | paperclip_issue_interactions_list | List pending interactions (confirmations, questions) for an issue. | | paperclip_issue_interaction_resolve | Resolve a pending interaction (accept/reject/respond/cancel). | | paperclip_inbox_summary | Count of pending interactions, approvals, and unassigned in-review issues. | | paperclip_skill_sync | Replace or merge an agent's desired skills. (deprecated — use paperclip_agent_skill_sync) | | paperclip_project_create | Create a project. | | paperclip_project_delete | Delete a project. | | paperclip_board_channel_append | Append a Yellow-tier line to BOARD_CHANNEL.md. |

Group E — Inbox (agent-scoped)

| Tool | Purpose | |------|---------| | paperclip_me_whoami | Resolve the calling agent's identity. | | paperclip_inbox_mine | List full inbox items for the calling agent. | | paperclip_inbox_lite | Compact inbox (identifiers + statuses only). | | paperclip_inbox_dismissals_list | List dismissed inbox entries. | | paperclip_inbox_dismiss | Dismiss an inbox entry. |

Group F — Approvals

| Tool | Purpose | |------|---------| | paperclip_approval_list | List approvals for the company. | | paperclip_approval_get | Get a single approval. | | paperclip_approval_create | Create a new approval request. | | paperclip_approval_approve | Approve a pending approval. | | paperclip_approval_reject | Reject a pending approval. | | paperclip_approval_request_revision | Request a revision on an approval. | | paperclip_approval_resubmit | Resubmit an approval after revision. | | paperclip_approval_comments_list | List comments on an approval. | | paperclip_approval_comment_add | Add a comment to an approval. | | paperclip_approval_issues_list | List issues linked to an approval. | | paperclip_issue_approval_link | Link an issue to an approval. | | paperclip_issue_approval_unlink | Unlink an issue from an approval. |

Group G — Roster discovery

| Tool | Purpose | |------|---------| | paperclip_agent_list | List all agents in the company. | | paperclip_agent_get | Get a single agent by ID. | | paperclip_agent_skills_list | Get an agent's skill snapshot. | | paperclip_agent_skill_sync | Replace or merge an agent's desired skills (v0.3 rename of skill_sync). | | paperclip_agent_hire | Submit an agent hire request. | | paperclip_agent_wakeup | Wake an agent, optionally scoped to an issue. | | paperclip_agent_pause | Pause an agent. | | paperclip_agent_resume | Resume a paused agent. | | paperclip_agent_instructions_safe_get | Safely inspect managed instructions. Default output is metadata, paths, sizes, hashes, and warnings; content readback requires filePath. | | paperclip_agent_instructions_get | Lower-level/admin: get the raw instructions bundle and may return full file bodies. Prefer safe_get for normal review. | | paperclip_agent_instructions_patch | Lower-level/admin: patch raw instruction sections. | | paperclip_agent_instructions_file_get | Lower-level/admin: get a single raw file from an agent's instructions bundle. | | paperclip_agent_instructions_file_put | Lower-level/admin: write a raw file into an agent's instructions bundle without provenance guards. | | paperclip_agent_instructions_file_delete | Lower-level/admin: delete a file from an agent's instructions bundle. |

Group H — Projects, members, labels, goals

| Tool | Purpose | |------|---------| | paperclip_project_list | List all projects. | | paperclip_project_get | Get a single project. | | paperclip_project_patch | Update a project's name or status. | | paperclip_member_list | List company members. | | paperclip_label_list | List all labels. | | paperclip_label_create | Create a label. | | paperclip_label_delete | Delete a label (requires confirm: true). | | paperclip_goal_list | List all goals. | | paperclip_goal_get | Get a single goal. | | paperclip_goal_create | Create a goal. | | paperclip_goal_patch | Update a goal's title, description, or status. | | paperclip_goal_delete | Delete a goal (requires confirm: true). |

Group I — Board observability

| Tool | Purpose | |------|---------| | paperclip_dashboard_get | Get the company dashboard. | | paperclip_activity_company | Get recent company activity (default limit 20). | | paperclip_sidebar_badges | Get sidebar badge counts. |

Group J — Routines

| Tool | Purpose | |------|---------| | paperclip_routine_list | List all routines with schedule-oriented fields (status, nextRunAt, lastTriggeredAt, triggers) plus ids/names. | | paperclip_routine_get | Get a single routine. | | paperclip_routine_create | Create a routine. | | paperclip_routine_runs_list | List runs for a routine. |

Interaction kind → action routing

paperclip_issue_interaction_resolve routes to the correct REST endpoint based on the action field.

| kind | allowed actions | REST endpoint | |------|----------------|---------------| | confirmation | accept, reject | POST /api/issues/:id/interactions/:interactionId/{accept,reject} | | question | respond, cancel | POST /api/issues/:id/interactions/:interactionId/{respond,cancel} |

Breaking changes (v0.3)

  • paperclip_skill_sync is deprecated. Use paperclip_agent_skill_sync instead. The old tool is kept for backward compatibility.

Managed instruction safety

Use paperclip_agent_instructions_safe_get for managed-instruction review. It does not return file content unless a single filePath is requested.

The older paperclip_agent_instructions_* tools remain for compatibility and admin/debugging. They are intentionally documented as lower-level because they can expose raw bundle payloads or write without the safer provenance wrapper.

Release Notes

0.3.6

  • Added safe managed-instruction read/write tools with metadata-first readback, provenance requirements, run audit headers, and unsafe path/input guards.

0.3.5

  • Fixed paperclip_agent_instructions_file_get, paperclip_agent_instructions_file_put, and paperclip_agent_instructions_file_delete so the public filePath MCP argument is sent to the Paperclip API as path.

Development

bun install
bun run dev          # run server in stdio mode
bun test             # unit tests (193 tests)
bun run typecheck
bun run build        # bundle to dist/

Integration tests (require a live local Paperclip):

PAPERCLIP_COMPANY_ID=<your-company-uuid> bun run test:integration

Publish

bun run prepublishOnly  # typecheck + unit tests + build
bun publish