Cara menambahkan MCP server ke Devin
Devin CLI is Cognition's coding agent for the terminal. It reads MCP servers from project, local and user mcp_config.json files and manages them with devin mcp commands.
Tambahkan MCP server ke Devin
- 1Run the
devin mcp addcommand from the server page in your terminal. - 2Local servers take
--and the command; remote servers take the URL. - 3In the Devin web app, add servers under Customize → MCPs → Add MCP → Add custom MCP instead.
Contoh: Codebase Memory
devin mcp add codebase-memory-mcp -- npx -y codebase-memory-mcpPermissions and team policy
- Permission rules match tools by pattern:
mcp__server__tool,mcp__server__*ormcp__*. disabledToolshides tools from the agent without removing the server.- OAuth fields accept
${env:VAR}and${file:/path}, so client secrets stay out of the file. - Teams can enforce an allowlist and an MCP registry for everyone.
Lokasi MCP server di Devin
~/.config/devin/mcp_config.jsonuser.devin/mcp_config.jsonproject.devin/mcp_config.local.jsonlocal, gitignored
Cek apakah sudah dimuat: devin mcp list
Batasan dan pengaturan
- Remote servers default to Streamable HTTP and fall back to SSE.
disabledToolshides tools you do not want the agent to see.- Permission rules use patterns such as
mcp__server__toolormcp__server__*. - Teams can enforce an allowlist and an MCP registry.
Saat server tidak berjalan di Devin
- "Auth required": run
devin mcp login <name>. - Server will not start: run its command by hand and check the environment variables.
- Tools missing: run
devin mcp listanddevin mcp get <name>. - Permission denied: add an allow rule for the tool.
Pertanyaan seputar MCP di Devin
How do I add an MCP server to Devin CLI?
Run devin mcp add <name> -- <command> for a local server or devin mcp add <name> <URL> for a remote one. Add -s project or -s user to choose where it is saved.
Where is the Devin MCP config?
.devin/mcp_config.json (project), .devin/mcp_config.local.json (local, the default for devin mcp add), and ~/.config/devin/mcp_config.json or %APPDATA%\devin\mcp_config.json on Windows (user).
Does Devin support OAuth servers?
Yes, with dynamic client registration or a pre-registered client ID. Sign in with devin mcp login <name>.
Can I turn a server off without deleting it?
Yes: devin mcp disable <name>, and devin mcp enable <name> to bring it back.
MCP server populer untuk Devin
- 1
Provides a local knowledge graph that connects source code, documentation, and infrastructure to give AI agents structural context.
Konfigurasi untuk Devin
terminaldevin mcp add codebase-memory-mcp -- npx -y codebase-memory-mcp - 2
Securely execute LLM-generated code in isolated containers or local Linux and Windows sandboxes across multiple programming languages.
Konfigurasi untuk Devin
terminaldevin mcp add llm-sandbox -- uvx llm-sandbox - 3
Lets an AI client create, inspect, validate, and save editable 3D building scenes, including walls, rooms, doors, and furnishings.
Konfigurasi untuk Devin
terminaldevin mcp add editor -- npx -y @pascal-app/mcp - 4
Lets AI agents search, run, and read results from thousands of web scraping and automation Actors on Apify Store.
Konfigurasi untuk Devin
terminaldevin mcp add apify-mcp-server https://mcp.apify.com/ - 5
Provides AST-based semantic code search for local repositories using incremental re-indexing and natural language queries.
Konfigurasi untuk Devin
terminaldevin mcp add cocoindex-code -- uvx cocoindex-code - 6
Lets an AI client read and change Google Ads, Reddit Ads and GA4 campaigns, with a preview shown before every change.
Konfigurasi untuk Devin
terminaldevin mcp add adloop -- uvx adloop - 7
An agent meta-harness that provides Claude Code and Codex with specialized agent swarms, self-learning memory, and enterprise security guardrails.
Konfigurasi untuk Devin
terminaldevin mcp add claude-flow -- npx -y claude-flow - 8
Enables LLMs to interact with web pages through structured accessibility snapshots using Playwright browser automation.
Konfigurasi untuk Devin
terminaldevin mcp add playwright-mcp -- npx -y @playwright/mcp - 9
Allows an AI client to interact with Bitbucket Data Center repositories and code through the Model Context Protocol.
Konfigurasi untuk Devin
terminaldevin mcp add atlassian-dc-mcp -- npx -y @atlassian-dc-mcp/bitbucket - 10
Lets an AI agent draw and edit draw.io diagrams on a live browser canvas that you can also edit by hand.
Konfigurasi untuk Devin
terminaldevin mcp add next-ai-drawio -- npx -y @next-ai-drawio/mcp-server - 11
Packs a local or remote codebase into a single AI-friendly file with token counts so LLMs and coding agents can read or search it.
Konfigurasi untuk Devin
terminaldevin mcp add repomix -- npx -y repomix - 12
Connects AI agents and IDEs to enterprise databases using prebuilt tools or a custom framework for secure, structured queries.
Konfigurasi untuk Devin
terminaldevin mcp add mcp-toolbox -- docker run -i --rm us-central1-docker.pkg.dev/database-toolbox/toolbox/toolbox:1.17.0