mcpField
Z
ZKshare

ZKshare

Local
zkshare.ioFiles & Storage0Updated 26w ago

About ZKshare

zkshare-mcp is a stdio MCP server for ZKshare that forwards tool calls to its context API. It is for MCP clients configured with a ZKshare API key; the package also includes metadata for discovery through the official MCP Registry preview.

Key features

  1. 01Forward calls to the context API
  2. 02Authenticate with a ZKshare API key
  3. 03Configure a custom API URL
  4. 04Run through npx

Use cases

  1. 01Connect an IDE to ZKshare
  2. 02Use ZKshare context tools from an MCP client

MCP support

Runs as a stdio MCP server and forwards tool calls to ZKshare's HTTPS /api/v1/context endpoint using the configured API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"sp0oby-zkshare": {
"command": "npx",
"args": [
"-y",
"zkshare-mcp"
],
"env": {
"ZKSHARE_API_KEY": "<ZKSHARE_API_KEY>",
"ZKSHARE_API_URL": "<ZKSHARE_API_URL>"
}
}
}
}
Run commandnpx -y zkshare-mcp
Environment variables to set
ZKSHARE_API_KEYSecretZKshare API key (zk_live_…). Create one at zkshare.io/api-key — required for POST /api/v1/context.
ZKSHARE_API_URLAPI origin including scheme; omit for production (https://zkshare.io). Use http://localhost:3000 only when self-hosting.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmzkshare-mcp1.0.1

Tools

6

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
valuestringYes
user_idstringNoLogical scope (same string you use when calling HTTPS). Omit for "".
fact_keystringYes

Details

From the project README

zkshare-mcp

Published on npm. Stdio Model Context Protocol server for ZKshare — forwards tool calls to POST /api/v1/context with your API key.

Registry name: io.github.sp0oby/zkshare on the official Model Context Protocol Registry preview (verification field mcpName in package.json must stay identical to the name field in server.json).

MCP Registry (registry.modelcontextprotocol.io)

ZKshare participates in (or prepares for) discovery via the official MCP Registry preview. Metadata lives in server.json next to this package; the runnable artifact stays on npm.

Having zkshare-mcp on npm (e.g. v1.0.0) is only half the story: the registry **checks the tarball’s package.json for mcpName — that field was added in repo for v1.0.1. Until 1.0.1 is published to npm, mcp-publisher publish may fail verification. npx -y [email protected] continues to work unchanged for users already on npm.

One-time prerequisites
  1. npm account with publish rights to zkshare-mcp.
  2. GitHub account (sp0oby) matching the io.github.sp0oby/… namespace when using GitHub device login.
  3. Install the publisher CLI (quickstart).
Publish flow (maintainers)
  1. Align versions — bump "version" in package.json, src/version.ts, and the version fields in server.json together.
  2. Build & publish npm — from this directory:
    • pnpm install && pnpm run build
    • npm publish --access public (prepublishOnly runs pnpm run build).
  3. Registry — install mcp-publisher, then from packages/zkshare-mcp/:
    • mcp-publisher login github — device flow; GitHub user must match the namespace (sp0oby).
    • mcp-publisher publish — uploads server.json (omit if you intentionally only ship npm).
Verify after publish
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.sp0oby/zkshare"

If mcp-publisher errors on validation, confirm description stays ≤100 characters (registry JSON schema).

Alternate namespaces

To use DNS or another auth method instead of io.github.sp0oby — change mcpName, server.json → name, and redo ownership verification — see registry docs on authentication and DNS in the same docs tree.

Use (no repo clone)

Needs Node.js ≥ 18.

npx -y zkshare-mcp

Your IDE normally runs this; set env in MCP settings.

Env
VariableRequiredDescription
ZKSHARE_API_KEYYesFrom zkshare.io/api-key
ZKSHARE_API_URLNoDefault https://zkshare.io. Use http://localhost:3000 only for a self-hosted API.
Cursor ~/.cursor/mcp.json
{
  "mcpServers": {
    "zkshare": {
      "command": "npx",
      "args": ["-y", "zkshare-mcp"],
      "env": {
        "ZKSHARE_API_KEY": "zk_live_YOUR_KEY_HERE",
        "ZKSHARE_API_URL": "https://zkshare.io"
      }
    }
  }
}

On Windows, npx ships with Node (npx.cmd).

Develop in the zkShare repo

pnpm install
pnpm mcp

Source: src/cli.ts. Version is duplicated in package.json and src/version.ts for maintainers’ release bumps.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.