Skip to main content
Glama
johnnyzhoujz

pin-it-mcp

by johnnyzhoujz

Pin It

Pin it, so your AI can use it later.

Pin It is a local desktop pinboard for saving text, tables, code, links, and screenshots while you work. When something becomes useful again, you can copy it directly or bring it into an MCP-capable AI client.

Download for Mac · Star on GitHub

IMPORTANT

Pin It is an early macOS-first project. Public installers are Developer ID signed and notarized by Apple for both Apple silicon and Intel Macs.

NOTE

Version 0.2.8 declares Pin It's Screen Recording use to macOS before region capture. Pin It now makes the permission request from its signed application process before opening the macOS region selector.

Version 0.2.6 uses a new brand-neutral macOS application identity. When upgrading from 0.2.5 or earlier, install the new DMG and grant macOS privacy permissions again. Existing pins remain in the same local data directory. Automatic updates resume normally after 0.2.6 is installed.

What it does

  • Pin the clipboard with Command+Shift+I.

  • Pin a screen region with Command+Shift+O.

  • Organize pins into multiple local boards.

  • Save text, Markdown, code, HTML tables, links, and images.

  • Search, reorder, edit, archive, and delete pins.

  • Copy selected material as a deterministic Markdown packet.

  • Read pins from MCP-capable clients through the bundled read-only server.

Related MCP server: local-mcp

Privacy

Pins and images stay on your computer. Pin It has no account system, cloud sync, telemetry, or remote pin storage.

Automatic title generation is optional. If you enable it and configure an OpenAI API key, Pin It calls the OpenAI API with your key after a pin is saved locally. It sends a capped excerpt for text pins or the captured image for image pins. Without a key, Pin It uses local fallback titles and sends nothing to OpenAI.

The API key is stored in macOS Keychain. On other supported Electron platforms, Pin It uses Electron's encrypted storage when it is available.

Requirements

  • macOS for the complete capture experience

  • Node.js 22 or newer

  • npm

Run from source

git clone https://github.com/johnnyzhoujz/pin-it-public.git
cd pin-it-public
npm ci
npm run desktop

Development builds use isolated local storage and do not modify data from the installed production app.

Build the two packaged channels separately:

npm run pack:mac:prod
npm run pack:mac:dev

Production is written to release/mac-arm64/Pin It.app; development is written to release-dev/mac-arm64/Pin It Dev.app.

The renderer is also available on http://127.0.0.1:5173/ while the desktop development process is running.

To run the development channel against production-built renderer assets:

npm run desktop:prod

Local data

Pin data is stored under Electron's app-data directory. The directory still uses the project's former name so existing local data survives the rename:

~/Library/Application Support/Keep That/keeps.json
~/Library/Application Support/Keep That/images/

keeps.json stores relative image paths and pinit://pin/<id>/image placeholders rather than inline base64 payloads. Development data is isolated at ~/Library/Application Support/Pin It Dev/keeps.json.

MCP

Pin It includes a read-only MCP server. It can list and search pins, retrieve image pins, and generate deterministic packets.

Each packaged channel configures its own MCP entry automatically for Codex, Claude Code, and Cursor on launch. It also updates Claude Desktop when that app is installed. Existing MCP servers and client-specific Pin It settings are preserved, stale Pin It paths are repaired, and a timestamped backup is created before an existing config file changes. If a JSON config is malformed, Pin It leaves it untouched and continues launching.

Automatic setup updates these user-level files:

~/.codex/config.toml
~/.claude.json
~/.cursor/mcp.json
~/Library/Application Support/Claude/claude_desktop_config.json

Running Pin It from source does not modify MCP client configuration. Clients may still require a restart or first-use approval before loading a new local MCP server; Pin It does not bypass those client security checks.

Build and test the server:

npm run build:mcp
node dist-mcp/pinit-mcp.mjs --selftest

Example configuration for a repository checkout:

{
  "mcpServers": {
    "pin-it-dev": {
      "command": "<absolute-path-to-node>",
      "args": ["<absolute-path-to-repo>/dist-mcp/pinit-mcp.mjs"],
      "env": {
        "PINIT_MCP_SERVER_NAME": "pin-it-dev",
        "PINIT_STORE_PATH": "~/Library/Application Support/Pin It Dev/keeps.json"
      }
    }
  }
}

Example configuration for a locally packaged app:

{
  "mcpServers": {
    "pin-it": {
      "command": "/Applications/Pin It.app/Contents/MacOS/Pin It",
      "args": [
        "/Applications/Pin It.app/Contents/Resources/app.asar.unpacked/dist-mcp/pinit-mcp.mjs"
      ],
      "env": {
        "ELECTRON_RUN_AS_NODE": "1",
        "PINIT_MCP_SERVER_NAME": "pin-it",
        "PINIT_STORE_PATH": "~/Library/Application Support/Keep That/keeps.json"
      }
    }
  }
}

The Settings panel shows the resolved configuration for the current app/session as a manual fallback for other MCP clients.

Reliable MCP testing

Use fixtures for automated MCP tests; never point them at the real Pin It store. The source test exercises the complete MCP protocol surface:

npm run test:mcp

After packaging, test the exact signed app binary, its bundle identity, automatic client configuration, server handshake, tools, resources, images, and packets:

npm run test:mcp:packaged:dev
npm run test:mcp:packaged:prod
npm run test:mcp:installed:prod

Once production is installed, verify both channels together with:

npm run test:mcp:channels

Both packaged tests create temporary config homes and stores, then delete them. For the final end-to-end client check, install production at /Applications/Pin It.app, launch it once, restart the MCP client, and verify:

codex mcp list
claude mcp get pin-it

Cursor may require its normal first-use approval for a new local MCP server.

Generate titles for each pin

Automatic title generation is opt-in. Add an OpenAI API key in Settings, or provide it only to the development process:

OPENAI_API_KEY=... npm run desktop

Captured content is saved immediately with a local title before any provider request runs. Provider failures leave the local title unchanged, and a generated title never overwrites a title you edited manually.

Validate changes

Run the complete local check:

npm run check

Or run the steps separately:

npm run audit:prod
npm test
npm run build

Create a local macOS build

Create an unpacked development app:

npm run pack:mac

Create local .dmg and .zip artifacts:

npm run dist:mac

Generated artifacts are written to release/ and are excluded from Git. Official public artifacts are built from a version tag, Developer ID signed, notarized by Apple, and published with checksums in GitHub Releases. A local build without the release credentials is only for local testing.

Project layout

electron/   Electron main process, preload bridge, updater, and MCP entrypoint
src/        React renderer and local pinboard behavior
tests/      Node and Vitest regression coverage
site/       Static marketing site deployed to Vercel
build/      App icons and tracked brand resources
docs/       Product and engineering design notes

Contributing

Bug reports and focused pull requests are welcome. Read CONTRIBUTING.md before starting. Please report security issues according to SECURITY.md, not through a public issue.

License

Pin It is available under the MIT License.

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A read-only MCP server that exposes data from native macOS apps (Mail, Notes, Calendar, Reminders, Contacts, Messages, Spotlight) to AI agents over stdio, currently in early development with no domain tools wired yet.
    11
    4
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A lightweight, stdio-based MCP server enabling AI assistants to perform local file system operations like reading, writing, searching, and executing commands.
    5,309
    MIT

View all related MCP servers

Related MCP Connectors

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.

  • Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnnyzhoujz/pin-it-public'

If you have feedback or need assistance with the MCP directory API, please join our Discord server