{
  "_id": "6a1bf29b1d7bb097a0a23c3f",
  "Package": "mcpr",
  "Title": "Model Context Protocol for R",
  "Version": "0.0.2.9000",
  "Authors@R": "c(\nperson(given = \"John\",\nfamily = \"Coene\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jcoenep@gmail.com\"),\nperson(family = \"Opifex\",\nrole = c(\"cph\", \"fnd\"),\nemail = \"john@opifex.org\")\n)",
  "Description": "Create, run, and connect to Model Context Protocol (MCP)\nservers, and clients in R. The package provides a framework for\nimplementing MCP-compatible servers with tools, resources, and\nprompts capabilities, as well as client functionality to\ninteract with MCP servers. It includes a JSON-RPC 2.0\nimplementation for communication between clients and servers.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"collate\", \"rd\",\n\"namespace\", \"mcpr::mcp_roclet\"))",
  "RoxygenNote": "7.3.2",
  "URL": "https://mcpr.opifex.org/, https://github.com/devOpifex/mcpr",
  "VignetteBuilder": "knitr",
  "Repository": "https://devopifex.r-universe.dev",
  "Date/Publication": "2025-11-02 14:50:44 UTC",
  "RemoteUrl": "https://github.com/devOpifex/mcpr",
  "RemoteRef": "HEAD",
  "RemoteSha": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 08:32:02 UTC",
    "User": "root"
  },
  "Author": "John Coene [aut, cre],\nOpifex [cph, fnd]",
  "Maintainer": "John Coene <jcoenep@gmail.com>",
  "MD5sum": "ca37b9fec0e8ee53e08ddd9fa8ca87a6",
  "_user": "devopifex",
  "_type": "src",
  "_file": "mcpr_0.0.2.9000.tar.gz",
  "_fileid": "ab32bd15ba4df50e7d54323ef8fd30453f28766a4fb9830721fa08b718c2fa32",
  "_filesize": 229954,
  "_sha256": "ab32bd15ba4df50e7d54323ef8fd30453f28766a4fb9830721fa08b718c2fa32",
  "_created": "2026-05-31T08:32:02.000Z",
  "_published": "2026-05-31T08:34:35.972Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78712260990,
      "time": 112,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7315261478"
    },
    {
      "job": 78712260994,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7315261887"
    },
    {
      "job": 78712260969,
      "time": 64,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7315256254"
    },
    {
      "job": 78712260975,
      "time": 74,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7315257289"
    },
    {
      "job": 78712038842,
      "time": 237,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315248709"
    },
    {
      "job": 78712260967,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315260413"
    },
    {
      "job": 78712260988,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7315257115"
    },
    {
      "job": 78712260996,
      "time": 56,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7315255401"
    },
    {
      "job": 78712260987,
      "time": 65,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7315256269"
    }
  ],
  "_buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/devOpifex/mcpr",
  "_commit": {
    "id": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
    "author": "John Coene <jcoenep@gmail.com>",
    "committer": "John Coene <jcoenep@gmail.com>",
    "message": "fix: error codes as integers\n",
    "time": 1762095044
  },
  "_maintainer": {
    "name": "John Coene",
    "email": "jcoenep@gmail.com",
    "login": "johncoene",
    "bluesky": "@johncoene.bsky.social",
    "linkedin": "in/johncoene",
    "description": "R, Go, JavaScript, and other indoor stuff.",
    "uuid": 7833796
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "yyjsonr",
      "role": "Imports"
    },
    {
      "package": "ambiorix",
      "role": "Suggests"
    },
    {
      "package": "processx",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    },
    {
      "package": "ellmer",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    }
  ],
  "_owner": "devopifex",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 28
    },
    {
      "week": "2025-24",
      "n": 45
    },
    {
      "week": "2025-25",
      "n": 8
    },
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 62,
  "_contributors": [
    {
      "user": "johncoene",
      "count": 101,
      "uuid": 7833796
    },
    {
      "user": "sounkou-bioinfo",
      "count": 1,
      "uuid": 56392505
    }
  ],
  "_userbio": {
    "uuid": 72293151,
    "type": "organization",
    "name": "Opifex",
    "description": "R, Go, Javascript"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mcpr"
  },
  "_devurl": "https://github.com/devopifex/mcpr",
  "_pkgdown": "https://mcpr.opifex.org/",
  "_searchresults": 43,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mcpr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_capability",
    "ellmer_to_mcpr_tool",
    "get_name",
    "initialize",
    "mcp_roclet",
    "new_client_io",
    "new_mcp",
    "new_prompt",
    "new_resource",
    "new_server",
    "new_tool",
    "prompts_get",
    "prompts_list",
    "properties",
    "property_array",
    "property_boolean",
    "property_enum",
    "property_number",
    "property_object",
    "property_string",
    "read",
    "register_mcpr_tools",
    "resources_list",
    "resources_read",
    "response",
    "response_audio",
    "response_error",
    "response_file",
    "response_image",
    "response_item",
    "response_resource",
    "response_text",
    "response_video",
    "schema",
    "serve_http",
    "serve_io",
    "tools_call",
    "tools_list",
    "write"
  ],
  "_help": [
    {
      "page": "add_capability",
      "title": "Add a capability to an MCP object",
      "topics": [
        "add_capability"
      ]
    },
    {
      "page": "client",
      "title": "Create a new mcp IO",
      "topics": [
        "client",
        "new_client_http",
        "new_client_io"
      ]
    },
    {
      "page": "ellmer_to_mcpr_tool",
      "title": "Convert ellmer tools to mcpr tools",
      "topics": [
        "ellmer_to_mcpr_tool"
      ]
    },
    {
      "page": "get_name",
      "title": "Get the name of a client",
      "topics": [
        "get_name"
      ]
    },
    {
      "page": "initialize",
      "title": "Initialize the server with protocol information",
      "topics": [
        "initialize"
      ]
    },
    {
      "page": "mcp_roclet",
      "title": "MCP Roclet for Generating MCP Servers",
      "topics": [
        "mcp_roclet"
      ]
    },
    {
      "page": "new_prompt",
      "title": "Create a new prompt",
      "topics": [
        "new_prompt"
      ]
    },
    {
      "page": "new_resource",
      "title": "Create a new resource",
      "topics": [
        "new_resource"
      ]
    },
    {
      "page": "new_server",
      "title": "Create a new MCP object",
      "topics": [
        "new_mcp",
        "new_server"
      ]
    },
    {
      "page": "new_tool",
      "title": "Create a new tool",
      "topics": [
        "new_tool"
      ]
    },
    {
      "page": "prompts_get",
      "title": "Get a prompt with the given parameters",
      "topics": [
        "prompts_get"
      ]
    },
    {
      "page": "prompts_list",
      "title": "List all available prompts",
      "topics": [
        "prompts_list"
      ]
    },
    {
      "page": "properties",
      "title": "Create a new properties list",
      "topics": [
        "properties"
      ]
    },
    {
      "page": "property_array",
      "title": "Create an array property definition",
      "topics": [
        "property_array"
      ]
    },
    {
      "page": "property_boolean",
      "title": "Create a boolean property definition",
      "topics": [
        "property_boolean"
      ]
    },
    {
      "page": "property_enum",
      "title": "Create an enum property with predefined values",
      "topics": [
        "property_enum"
      ]
    },
    {
      "page": "property_number",
      "title": "Create a number property definition",
      "topics": [
        "property_number"
      ]
    },
    {
      "page": "property_object",
      "title": "Create an object property definition",
      "topics": [
        "property_object"
      ]
    },
    {
      "page": "property_string",
      "title": "Create a string property definition",
      "topics": [
        "property_string"
      ]
    },
    {
      "page": "read",
      "title": "Read a JSON-RPC response from a client provider",
      "topics": [
        "read"
      ]
    },
    {
      "page": "register_mcpr_tools",
      "title": "Register MCPR tools with an ellmer chat",
      "topics": [
        "register_mcpr_tools"
      ]
    },
    {
      "page": "resources_list",
      "title": "List all available resources",
      "topics": [
        "resources_list"
      ]
    },
    {
      "page": "resources_read",
      "title": "Read a resource with the given parameters",
      "topics": [
        "resources_read"
      ]
    },
    {
      "page": "response",
      "title": "Create a response object",
      "topics": [
        "response",
        "response_audio",
        "response_error",
        "response_file",
        "response_image",
        "response_item",
        "response_resource",
        "response_text",
        "response_video"
      ]
    },
    {
      "page": "roclet_output.roclet_mcp",
      "title": "Generate MCP server output",
      "topics": [
        "roclet_output.roclet_mcp"
      ]
    },
    {
      "page": "roclet_process.roclet_mcp",
      "title": "Process blocks for MCP roclet",
      "topics": [
        "roclet_process.roclet_mcp"
      ]
    },
    {
      "page": "roxy_tag_parse.roxy_tag_mcp",
      "title": "Parse @mcp tag",
      "topics": [
        "roxy_tag_parse.roxy_tag_mcp"
      ]
    },
    {
      "page": "roxy_tag_parse.roxy_tag_type",
      "title": "Parse @type tag",
      "topics": [
        "roxy_tag_parse.roxy_tag_type"
      ]
    },
    {
      "page": "roxy_tag_rd.roxy_tag_mcp",
      "title": "Roxygen2 tag for @mcp This function is called by Roxygen2 to generate documentation for the @mcp tag",
      "topics": [
        "roxy_tag_rd.roxy_tag_mcp"
      ]
    },
    {
      "page": "roxy_tag_rd.roxy_tag_type",
      "title": "Roxygen2 tag handler for @type This function is called by Roxygen2 to generate documentation for the @type",
      "topics": [
        "roxy_tag_rd.roxy_tag_type"
      ]
    },
    {
      "page": "schema",
      "title": "Create a new input schema",
      "topics": [
        "schema"
      ]
    },
    {
      "page": "serve_http",
      "title": "Serve an MCP server over HTTP using ambiorix",
      "topics": [
        "serve_http"
      ]
    },
    {
      "page": "serve_io",
      "title": "Serve an MCP server using stdin/stdout",
      "topics": [
        "serve_io"
      ]
    },
    {
      "page": "tools_call",
      "title": "Call a tool with the given parameters",
      "topics": [
        "tools_call"
      ]
    },
    {
      "page": "tools_list",
      "title": "List all available tools",
      "topics": [
        "tools_list"
      ]
    },
    {
      "page": "write",
      "title": "Write a JSON-RPC request to a client provider",
      "topics": [
        "write"
      ]
    }
  ],
  "_pkglogo": "https://github.com/devOpifex/mcpr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/devOpifex/mcpr/raw/HEAD/README.md",
  "_rundeps": [
    "yyjsonr"
  ],
  "_vignettes": [
    {
      "source": "get-started.Rmd",
      "filename": "get-started.html",
      "title": "Getting Started with mcpr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating a Simple MCP Server",
        "Using Standard Input/Output",
        "Testing the Server",
        "Next Steps"
      ],
      "created": "2025-06-09 10:37:59",
      "modified": "2025-06-10 01:27:49",
      "commits": 3
    },
    {
      "source": "client-integration.Rmd",
      "filename": "client-integration.html",
      "title": "Integrating mcpr with MCP Clients",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating a Simple Math Calculator Server",
        "Registering with MCP Clients",
        "Claude Code",
        "Cursor",
        "OpenAI GPT",
        "LangChain",
        "Conclusion"
      ],
      "created": "2025-06-09 10:37:59",
      "modified": "2025-06-10 01:27:49",
      "commits": 3
    },
    {
      "source": "practical-examples.Rmd",
      "filename": "practical-examples.html",
      "title": "Practical MCP Examples with R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example 1: Statistical Analysis Tool",
        "Example 2: Data Visualization Resource",
        "Example 3: Natural Language Processing",
        "Example 4: Time Series Forecasting",
        "Example 5: Machine Learning Classification",
        "Running These Examples",
        "Conclusion"
      ],
      "created": "2025-06-09 11:15:02",
      "modified": "2025-06-10 01:27:49",
      "commits": 3
    },
    {
      "source": "client-usage.Rmd",
      "filename": "client-usage.html",
      "title": "Using the MCP Client",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating an MCP Client",
        "Connecting to a Local Server Process",
        "Connecting to an HTTP Server",
        "Basic Client Operations",
        "Initializing the Connection",
        "Listing Available Tools",
        "Calling a Tool",
        "Working with Prompts",
        "Working with Resources",
        "Complete Example",
        "Practical Use Cases",
        "Conclusion"
      ],
      "created": "2025-06-10 01:27:49",
      "modified": "2025-06-11 00:07:58",
      "commits": 3
    }
  ],
  "_score": 6.505041391125466,
  "_indexed": true,
  "_nocasepkg": "mcpr",
  "_universes": [
    "devopifex",
    "johncoene"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:34:14.000Z",
      "distro": "noble",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "d00c3564d786d863c5b116d7c2e96e503d773fcc2d27789f4145f9f1a37bf182",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:34:17.000Z",
      "distro": "noble",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "de1a2ab0ed7c5f65662e4535d65546d1917407e9bb00bd68fbf492c17c3051ce",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:33:27.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "178084b07d922f94ce013c445f9a6551c2c680ebb6c4456ebb2e93db9847a06f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:33:35.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "469956905095317a7d3335d2cb1b16d1225ff6075a423c60e4cbdd07bbdb008c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:34:08.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "5099d9069b1e05e1bddaaf7e763704deaa09c532b54c5dc19b708f8f03ccf5b5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:33:30.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "2b0b205ccd4f2344546e0e64a3bb49e7f518cc628fb2ee4aba1e3512129ed6ff",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:33:17.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "88c39b223924d1b703724ed0d8ce1e7db96c0ea0d246ed8a76dbf7d9821f8cfe",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-05-31T08:33:24.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "afa1872db4c7d2c3bebf1ea3e13f632cd2f0816a39f951dc7311b02e7aa708e1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/26707704944"
    }
  ]
}