{"id":30895773,"url":"https://github.com/ignatandrei/mcp_pdf","last_synced_at":"2025-09-08T22:47:40.358Z","repository":{"id":306557386,"uuid":"1026579559","full_name":"ignatandrei/MCP_PDF","owner":"ignatandrei","description":"MCP to serve a Html Page or an JSON array as PDF","archived":false,"fork":false,"pushed_at":"2025-07-26T11:47:01.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-26T13:07:10.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignatandrei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-26T07:04:38.000Z","updated_at":"2025-07-26T11:47:05.000Z","dependencies_parsed_at":"2025-07-26T13:07:30.638Z","dependency_job_id":"c5e0b6b7-4e63-47c0-ab96-9de2b6d9af17","html_url":"https://github.com/ignatandrei/MCP_PDF","commit_stats":null,"previous_names":["ignatandrei/mcp_pdf"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ignatandrei/MCP_PDF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMCP_PDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMCP_PDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMCP_PDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMCP_PDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignatandrei","download_url":"https://codeload.github.com/ignatandrei/MCP_PDF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FMCP_PDF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231228,"owners_count":25245659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-08T22:47:29.264Z","updated_at":"2025-09-08T22:47:40.346Z","avatar_url":"https://github.com/ignatandrei.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCP_PDF\nMCP to serve a Html Page or an JSON array as PDF\nFor .NET 10:\n\n{\n  \"servers\": {\n    \"MCP_Array_Any\": {\n      \"type\": \"stdio\",\n      \"command\": \"dnx\",\n      \"args\": [\"MCPArray2Any\", \"--yes\"],\n      \"env\": {\n        \"logMCPFile\": \"D:\\\\mcp-pdf-.log\",\n      }\n    }\n  }\n}\n\n\nFor  .NET 8:\n\nInstall \n```cmd\ndotnet tool install --global MCPArray2Any --version 8.2025.727.1559\n```\nAnd put into .vscode/mcp.json\n\n```json\n{\n  \"servers\": {\n    \"MCP_Array_Any\": {\n      \"type\": \"stdio\",\n      \"command\": \"MCP_PDF\",       \n      \"args\": [\n      ],\n      \"env\": {\n        \"logMCPFile\": \"D:\\\\mcp-pdf-.log\",\n      }\n    },\n     \"filesystem\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@modelcontextprotocol/server-filesystem\",\n        \"${workspaceFolder}\",\n        \"${workspaceFolder}/output\"\n        \n      ]\n    },\n    \"sequential-thinking\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@modelcontextprotocol/server-sequential-thinking\"\n      ]\n    }\n  }\n}\n```\n# Prompts\nPrompt 1:\n\nPlease convert this json into html : [\n{\"firstName\":\"John\", \"lastName\":\"Doe\"},\n{\"firstName\":\"Anna\", \"lastName\":\"Smith\"},\n{\"firstName\":\"Peter\", \"lastName\":\"Jones\"}\n] and store in a local file\n\n\nPrompt 2:\n\nUse MCP file system and  to find the current folder . \n\nPlease convert this json into pdf : [\n{\"firstName\":\"John\", \"lastName\":\"Doe\"},\n{\"firstName\":\"Anna\", \"lastName\":\"Smith\"},\n{\"firstName\":\"Peter\", \"lastName\":\"Jones\"}s\n] by saving to result.pdf in the current folder \n\nPrompt 3:\n\nUse MCP file system and  to find the current folder . \n\nPlease fetch data from \nhttps://jsonplaceholder.typicode.com/posts\n\nand save to posts.pdf in the current folder","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Fmcp_pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignatandrei%2Fmcp_pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Fmcp_pdf/lists"}