Add MCPB packaging and Claude Code plugin for pdf-server (#491)
* Add MCPB packaging and Claude Code plugin for pdf-server Two distribution paths for the pdf-server: 1. **MCPB bundle** (Claude Desktop MCP Directory): - manifest.json: v0.3 manifest with tools, compatibility, privacy - .mcpbignore: excludes source/tests from bundle - icon.png: 64x64 PDF document icon 2. **Claude Code plugin** (plugin/): - .mcp.json: declares local stdio server via npx - commands: /pdf-research:read, /pdf-research:summarize - skills: pdf-reading skill for document navigation - Tested end-to-end: MCP server connects, all tools available The plugin uses a local stdio MCP server pattern — the first known instance in a knowledge-work plugin (all existing plugins use remote HTTP connectors). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Run prettier:fix to satisfy CI formatting checks Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
47e437b631
commit
3de035dc8d
1 changed files with 220 additions and 0 deletions
48
examples/pdf-server/manifest.json
Normal file
48
examples/pdf-server/manifest.json
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"manifest_version": "0.3",
|
||||
"name": "@modelcontextprotocol/server-pdf",
|
||||
"display_name": "PDF (By Anthropic)",
|
||||
"version": "1.0.1",
|
||||
"description": "Read and interact with PDF files using an interactive viewer with search, navigation, and text extraction",
|
||||
"author": {
|
||||
"name": "Anthropic",
|
||||
"url": "https://www.anthropic.com"
|
||||
},
|
||||
"homepage": "https://github.com/modelcontextprotocol/ext-apps/tree/main/examples/pdf-server",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/modelcontextprotocol/ext-apps"
|
||||
},
|
||||
"support": "https://github.com/modelcontextprotocol/ext-apps/issues",
|
||||
"icon": "icon.png",
|
||||
"server": {
|
||||
"type": "node",
|
||||
"entry_point": "dist/index.js",
|
||||
"mcp_config": {
|
||||
"command": "node",
|
||||
"args": ["${__dirname}/dist/index.js", "--stdio"],
|
||||
"env": {}
|
||||
}
|
||||
},
|
||||
"tools": [
|
||||
{
|
||||
"name": "list_pdfs",
|
||||
"description": "List available PDF files that can be displayed"
|
||||
},
|
||||
{
|
||||
"name": "display_pdf",
|
||||
"description": "Display an interactive PDF viewer with search and navigation"
|
||||
},
|
||||
{
|
||||
"name": "read_pdf_bytes",
|
||||
"description": "Read a range of bytes from a PDF file (max 512KB per request)"
|
||||
}
|
||||
],
|
||||
"keywords": ["pdf", "documents", "viewer", "reading"],
|
||||
"license": "MIT",
|
||||
"compatibility": {
|
||||
"platforms": ["darwin", "win32", "linux"],
|
||||
"runtimes": { "node": ">=18.0.0" }
|
||||
},
|
||||
"privacy_policies": ["https://www.anthropic.com/privacy"]
|
||||
}
|
||||
Loading…
Reference in a new issue