[{"data":1,"prerenderedAt":281},["ShallowReactive",2],{"doc-features\u002Fpragma-mcp":3,"content-query-9Sjokt03le":4},null,{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"body":11,"_type":275,"_id":276,"_source":277,"_file":278,"_stem":279,"_extension":280},"\u002Fdocs\u002Ffeatures\u002Fpragma-mcp","features",false,"","Pragma MCP Servers","Learn what MCP servers are in Pragma, how to enable them, and what to know before connecting tools.",{"type":12,"children":13,"toc":267},"root",[14,22,39,45,58,65,70,75,81,112,124,130,183,189,194,212,217,223],{"type":15,"tag":16,"props":17,"children":19},"element","h1",{"id":18},"pragma-mcp-servers",[20],{"type":21,"value":9},"text",{"type":15,"tag":23,"props":24,"children":29},"div",{"className":25,"ariaHidden":28},[26,27],"docs-page-hero","docs-page-hero--sage","true",[30,32],{"type":21,"value":31},"\n  ",{"type":15,"tag":33,"props":34,"children":38},"img",{"src":35,"alt":8,"width":36,"height":37},"\u002Fimages\u002Fdocs-illustrations\u002Fpragma-mcp.svg",128,72,[],{"type":15,"tag":40,"props":41,"children":42},"p",{},[43],{"type":21,"value":44},"MCP (Model Context Protocol) lets Pragma connect the AI agent to external tools and data sources in a controlled way.",{"type":15,"tag":40,"props":46,"children":47},{},[48,50,56],{"type":21,"value":49},"Users manage MCP from ",{"type":15,"tag":51,"props":52,"children":53},"strong",{},[54],{"type":21,"value":55},"Settings → MCP Servers",{"type":21,"value":57}," (and related AI settings).",{"type":15,"tag":59,"props":60,"children":62},"h2",{"id":61},"what-mcp-means-for-you",[63],{"type":21,"value":64},"What MCP Means For You",{"type":15,"tag":40,"props":66,"children":67},{},[68],{"type":21,"value":69},"An MCP server is a tool bridge. Once connected, Comp \u002F the Pragma agent can call that tool during a task — for example to read a service, query an API, or use a specialized workflow helper.",{"type":15,"tag":40,"props":71,"children":72},{},[73],{"type":21,"value":74},"MCP is powerful. Treat each server like an integration with permissions.",{"type":15,"tag":59,"props":76,"children":78},{"id":77},"how-to-add-or-enable-mcp",[79],{"type":21,"value":80},"How To Add Or Enable MCP",{"type":15,"tag":82,"props":83,"children":84},"ol",{},[85,97,102,107],{"type":15,"tag":86,"props":87,"children":88},"li",{},[89,91,95],{"type":21,"value":90},"Open ",{"type":15,"tag":51,"props":92,"children":93},{},[94],{"type":21,"value":55},{"type":21,"value":96},".",{"type":15,"tag":86,"props":98,"children":99},{},[100],{"type":21,"value":101},"Browse available servers or add a configured server.",{"type":15,"tag":86,"props":103,"children":104},{},[105],{"type":21,"value":106},"Enable only the servers you need for the current project.",{"type":15,"tag":86,"props":108,"children":109},{},[110],{"type":21,"value":111},"Restart or reconnect if the UI asks you to after changing server config.",{"type":15,"tag":40,"props":113,"children":114},{},[115,117,122],{"type":21,"value":116},"Some setups support ",{"type":15,"tag":51,"props":118,"children":119},{},[120],{"type":21,"value":121},"file-based MCP servers",{"type":21,"value":123}," (config living with your project or machine). Prefer project-local config when the tools are project-specific.",{"type":15,"tag":59,"props":125,"children":127},{"id":126},"what-you-should-know-before-enabling-a-server",[128],{"type":21,"value":129},"What You Should Know Before Enabling A Server",{"type":15,"tag":131,"props":132,"children":133},"ul",{},[134,144,163,173],{"type":15,"tag":86,"props":135,"children":136},{},[137,142],{"type":15,"tag":51,"props":138,"children":139},{},[140],{"type":21,"value":141},"Scope:",{"type":21,"value":143}," Only enable tools you trust with the current workspace.",{"type":15,"tag":86,"props":145,"children":146},{},[147,152,154,161],{"type":15,"tag":51,"props":148,"children":149},{},[150],{"type":21,"value":151},"Secrets:",{"type":21,"value":153}," Do not hard-code API keys in prompts. Use ",{"type":15,"tag":155,"props":156,"children":158},"a",{"href":157},"\u002Fdocs\u002Ffeatures\u002Fpragma-secrets",[159],{"type":21,"value":160},"Pragma Secrets",{"type":21,"value":162}," or environment variables.",{"type":15,"tag":86,"props":164,"children":165},{},[166,171],{"type":15,"tag":51,"props":167,"children":168},{},[169],{"type":21,"value":170},"Autonomy:",{"type":21,"value":172}," Higher agent autonomy + powerful MCP tools can make larger changes. Start with ask-first mode until you trust the setup.",{"type":15,"tag":86,"props":174,"children":175},{},[176,181],{"type":15,"tag":51,"props":177,"children":178},{},[179],{"type":21,"value":180},"Audit:",{"type":21,"value":182}," If something unexpected happens, disable the server and review recent agent actions.",{"type":15,"tag":59,"props":184,"children":186},{"id":185},"file-based-mcp-servers",[187],{"type":21,"value":188},"File-Based MCP Servers",{"type":15,"tag":40,"props":190,"children":191},{},[192],{"type":21,"value":193},"File-based MCP configuration is useful when:",{"type":15,"tag":131,"props":195,"children":196},{},[197,202,207],{"type":15,"tag":86,"props":198,"children":199},{},[200],{"type":21,"value":201},"A team shares the same tool wiring through repo config",{"type":15,"tag":86,"props":203,"children":204},{},[205],{"type":21,"value":206},"You want different tools per project",{"type":15,"tag":86,"props":208,"children":209},{},[210],{"type":21,"value":211},"You need reproducible agent setups across machines",{"type":15,"tag":40,"props":213,"children":214},{},[215],{"type":21,"value":216},"Keep MCP config out of public forks if it contains private endpoints or credentials.",{"type":15,"tag":59,"props":218,"children":220},{"id":219},"related-pages",[221],{"type":21,"value":222},"Related Pages",{"type":15,"tag":131,"props":224,"children":225},{},[226,235,244,253,258],{"type":15,"tag":86,"props":227,"children":228},{},[229],{"type":15,"tag":155,"props":230,"children":232},{"href":231},"\u002Fdocs\u002Ffeatures\u002Fpragma-ai-agent",[233],{"type":21,"value":234},"Pragma AI Agent",{"type":15,"tag":86,"props":236,"children":237},{},[238],{"type":15,"tag":155,"props":239,"children":241},{"href":240},"\u002Fdocs\u002Ffeatures\u002Fpragma-rules",[242],{"type":21,"value":243},"Agent Rules",{"type":15,"tag":86,"props":245,"children":246},{},[247],{"type":15,"tag":155,"props":248,"children":250},{"href":249},"\u002Fdocs\u002Ffeatures\u002Fpragma-codebase-context",[251],{"type":21,"value":252},"Codebase Context",{"type":15,"tag":86,"props":254,"children":255},{},[256],{"type":21,"value":257},"Omnigent (open from the CredVault dashboard sidebar)",{"type":15,"tag":86,"props":259,"children":260},{},[261],{"type":15,"tag":155,"props":262,"children":264},{"href":263},"\u002Fdocs\u002Ffeatures\u002Fpragma-settings",[265],{"type":21,"value":266},"Pragma Settings",{"title":8,"searchDepth":268,"depth":268,"links":269},2,[270,271,272,273,274],{"id":61,"depth":268,"text":64},{"id":77,"depth":268,"text":80},{"id":126,"depth":268,"text":129},{"id":185,"depth":268,"text":188},{"id":219,"depth":268,"text":222},"markdown","content:docs:features:pragma-mcp.md","content","docs\u002Ffeatures\u002Fpragma-mcp.md","docs\u002Ffeatures\u002Fpragma-mcp","md",1791370284104]