{
    "componentChunkName": "component---src-templates-plugin-docs-tsx",
    "path": "/plugins/scm-mcp-plugin/docs/1.3.x/en/",
    "result": {"data":{"plugin":{"name":"scm-mcp-plugin","displayName":"MCP","description":"Simple MCP Server for SCM-Manager","author":"Cloudogu GmbH","documentation":[{"version":"1.3.x","languages":["en","de"]},{"version":"1.2.x","languages":["de","en"]},{"version":"1.1.x","languages":["de","en"]}]},"navigation":{"nodes":[]},"versions":{"group":[{"fieldValue":"1.1.x"},{"fieldValue":"1.2.x"},{"fieldValue":"1.3.x"}]},"languages":{"group":[{"fieldValue":"de"},{"fieldValue":"en"}]},"markdownRemark":{"html":"<p>This documentation describes the usage of the scm-mcp-plugin.\nIt is available in different languages and versions, which can be selected in the menu on the right.</p>\n<p>The MCP plugin adds an MCP endpoint so that SCM-Manager can be used as an MCP server by AI systems.\nYou have to provide a bearer token to connect.</p>\n<p>A bearer token is needed for the connection. This can be created most easily as an API key for a user account.</p>\n<p>There are different tools available, like</p>\n<ul>\n<li>listing and creating repositories,</li>\n<li>listing and creating branches,</li>\n<li>listing, reading, creating, modifying, moving, and deletion of files in repositories,</li>\n<li>listing and reading commits, or</li>\n<li>the global search.</li>\n</ul>\n<p>Other plugins may add additional tools, like the review plugin that adds tools to read and create pull requests.</p>\n<p>If you like to get an overview about the capabilities, it's best to connect using the\n<a href=\"https://github.com/modelcontextprotocol/inspector?tab=readme-ov-file#mcp-inspector\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">MCP Inspector</a>.\nTo do this, run <code class=\"language-text\">npx @modelcontextprotocol/inspector@latest</code>.\nIf it works, you will see a new page in your web browser that should look something like this:</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 69.5945945945946%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAACXBIWXMAAAsTAAALEwEAmpwYAAACHUlEQVQ4y3WUyXLbMBBEoVi7uAHggoUUSXGPpDh2XJUccsv/f1OnBrJsyU4OTYBFzAOmZ0AmdI/ETtjxCoudhrRHyPyMSI3w4waC3u3pTXFxxpZXYMsYX9bZJzGuOniiBpvHEKpDIGuwZYLZzaLZKnV62CgEcYPUfsU6KD7B6DsL4gM8UbkFiRmwjfbuw2yVYelZJ4Jdg1R5RlafIe2E+VZfNl+lb4dgPOvgy4MDSNWBpy2itMUm3GMblU40JxEgNiNkPmLpW6z8/F1B4TZndDKCUiqx7t2cgsjTuwA/dycnX3X5iMSewM0AbkZwNUCaCUHSgoVJA571DkApi1cgFeiazjUlSpmCiu4HdPMEbkdEZkCkegfdUS3Ivyjt4Mc1EtODPCULKL1b764ioG4eERcDoozUOxHQEwcwTx7A1Yh1WELqHusgB1skb7CPIwFN/R2mPDqL7oE1mNQDAnkAm0uocroAX9O71wUYpp0DOg8JqId7ID0oxYeNRlZMWPn2n0Dn5TpzRSm6F9j2GaKYIPIRXI8QegRly4TqIdTg+jC1I8L48J8TZljsjFubt08ITeduzDaqLiOvsIlKMFpEk6WXQ2Qt9t0LhDkiyAaEarzR5K4jdQMV8oGa+KYLrh6zMG2hq28w9aMrSnP6jfH5D2z386L+Ov6CaV4uQR+u5q0tzJM1trzETlTYhAWCtHNV9+L2s2TjmvsW8PHn8BdZC1m2f/CNTAAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot of MCP Inspector in a web browser\"\n        title=\"Screenshot of MCP Inspector in a web browser\"\n        src=\"/static/04714a2951005c3181459480d4a11035/fcda8/mcp_inspector.png\"\n        srcset=\"/static/04714a2951005c3181459480d4a11035/12f09/mcp_inspector.png 148w,\n/static/04714a2951005c3181459480d4a11035/e4a3f/mcp_inspector.png 295w,\n/static/04714a2951005c3181459480d4a11035/fcda8/mcp_inspector.png 590w,\n/static/04714a2951005c3181459480d4a11035/efc66/mcp_inspector.png 885w,\n/static/04714a2951005c3181459480d4a11035/c83ae/mcp_inspector.png 1180w,\n/static/04714a2951005c3181459480d4a11035/05d4a/mcp_inspector.png 1861w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n        decoding=\"async\"\n      />\n    </span></p>\n<p>To connect to your SCM-Manager, you have to</p>\n<ul>\n<li>Set \"Transport Type\" in the MCP Inspector to \"Streamable HTTP\".</li>\n<li>Set the URL to your SCM-Manager URL and add <code class=\"language-text\">/api/mcp</code> (for example \"<a href=\"https://your.scm-manager.org/scm/api/mcp\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https://your.scm-manager.org/scm/api/mcp</a>\").</li>\n<li>Create an API key in SCM-Manager for the user you want to use for connection.</li>\n<li>Open the \"Authentication\" settings and enter your API key as a custom header named \"Authorization\". Use the prefix\n<code class=\"language-text\">Bearer</code> for the token (so your token <code class=\"language-text\">eyJhcGl...</code> will become <code class=\"language-text\">Bearer eyJhcGl...</code>).</li>\n<li>Maybe the \"Proxy Session Token\" in the \"Configuration\" settings has to be set to the value shown in the log directly\nafter the start of the MCP inspector as \"Session token\".</li>\n<li>Click the \"Connect\" button.</li>\n<li>If the connection is successful, you will find the tools by selecting \"Tools\" on the top of the page and clicking \"List Tools\".</li>\n</ul>\n<p>If you have a working connection to an AI, you can also ask this one about the capabilities:</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 91.21621621621621%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAACXBIWXMAAAsTAAALEwEAmpwYAAACTElEQVQ4y31UyY7TQBD1J3FDwBw480+ICzDixJ8AYjIc5h9gBjTAJI7ttrM53vcsXh6qstvK4sHS0yu3u19XvapEwcDTNA1zsSvx6uMNnr69wsXlNZ69G+HF+xHHF5cjPO/ilx++4cmbL3j96TsUOlzX9QkaUkVZ1bi5n+PrrYmrO5OZ4w4Uj+4sXP+08PmHwK3pQUmSBI7jYO04cFwXK9uGLgQ03cBiuUQW+dimIfLIRxH7wK4AUAHNHkB9Vp0SxTHmiyULzRcLzOYL0CVZljHiNEWcnKBby/IcVd2grGsGVaa4nodf978ZmiGwXNlI0xR5nrMgxVL8FJvNpvdc+q74vo+HiYo/D2MI0+IyrdkMhjCZyQrK3l6vmZerVQ+69EwwCEMYpsnlCsti7wwhMNV0vkB6m2VtxjLzRzP0fJ8Pq5qOqa7DdT0EQQBaJ5AlxHEcI46TI35U8O94zCWzoOdx11f2us3Ocblc214flUsoimJA0PMwVlWoUw26IWBaM86AmiGRdEwZkcimKFoebEoQQNU0bgL5R76RKDXEms05Jo+pWYf+/ddDylCYJg80HdYNA5rRitN3siAIwl5Q8qAgLcpZ4/KS5IiLPOfyTrOTFgx4SE2ZYDLV2EfKaNt5xchzFss7YQl6HxSMoog91IUJmskwilqEEZcZhhJR+z0Mex4UpPTl8NLIJF25Cf1maeY4bhHxDMY9b7fbc8Hdboc0zViIbtzv9wxaPwStVVWFsixRlSUz4UyQ/v9oo9x8CBbvmIW6fRJ09lTwH68ETvVBIuNUAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"Screenshot of an AI answer to the question, what functionality is available\"\n        title=\"Screenshot of an AI answer to the question, what functionality is available\"\n        src=\"/static/c9e3b2c957637f810eea7675718a345b/fcda8/ai_overview.png\"\n        srcset=\"/static/c9e3b2c957637f810eea7675718a345b/12f09/ai_overview.png 148w,\n/static/c9e3b2c957637f810eea7675718a345b/e4a3f/ai_overview.png 295w,\n/static/c9e3b2c957637f810eea7675718a345b/fcda8/ai_overview.png 590w,\n/static/c9e3b2c957637f810eea7675718a345b/30c92/ai_overview.png 874w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n        decoding=\"async\"\n      />\n    </span></p>","description":"This documentation describes the usage of the scm-mcp-plugin.\nIt is available in different languages and versions, which can be selected in the menu on the…","tableOfContents":"","frontmatter":{"title":"Documentation","subtitle":"MCP Plugin Documentation","description":null,"keywords":null,"displayToc":null,"image":null}}},"pageContext":{"name":"scm-mcp-plugin","slug":"/plugins/scm-mcp-plugin/docs/1.3.x/en/","version":"1.3.x","latestVersion":"1.3.x","latestPageVersion":"1.3.x","language":"en","canonicalPath":"/plugins/scm-mcp-plugin/docs/latest/en/","latestRootPath":"/plugins/scm-mcp-plugin/docs/1.3.x/en/"}},
    "staticQueryHashes": ["1973669194","2742214048","2956773653","2957019495","698804963"]}