MCP Servers
An MCP server lets Claude read a Jira ticket, query a test database, or drive a browser without copy and paste. This page shows where to find servers, how to add them for yourself or your team, four servers for testing work, and how to keep that access safe.
8 min read8 মিনিটে পড়া যায় · 8 sections8টি সেকশন · 17 sources17টি সোর্স · updated Nov 2026আপডেট: Nov 2026
MCP: one plug, many toolsMCP: একটা প্লাগ, অনেক টুল
Add a server, call a Jira tool and a database tool, and see why tool search keeps the context small.একটা সার্ভার যোগ করুন, Jira আর ডেটাবেসের টুল চালান, আর দেখুন টুল সার্চ কীভাবে কনটেক্সট ছোট রাখে।
You’ll learnআপনি শিখবেন
- How to sign in to a remote serverরিমোট সার্ভারে কীভাবে সাইন-ইন করবেন
- What a server adds: its toolsসার্ভার কী যোগ করে: তার টুল
- Why tool search keeps context smallটুল সার্চ কেন কনটেক্সট ছোট রাখে
- Why to ask for small resultsকেন ছোট ফলাফল চাইবেন
- How to keep server access safeসার্ভারের অ্যাক্সেস কীভাবে নিরাপদ রাখবেন
What MCP is
MCP (Model Context Protocol) is an open-source standard for connecting AI applications to external systems. Source 1সোর্স 1 The MCP project compares it to a USB-C port for AI applications. Source 1সোর্স 1
Claude Code connects to external tools and data through MCP. MCP servers give Claude Code access to your tools, databases, and APIs. Source 2সোর্স 2 Two prompts from the docs show the idea: Source 2সোর্স 2
Add the feature described in JIRA issue ENG-4521 and create a PR on GitHub.
Find emails of 10 random users who used feature ENG-4521, based on our PostgreSQL database.For QA, the same pattern reads the acceptance criteria from a ticket and checks the data behind a bug.
সহজ English
MCP means Model Context Protocol. It is an open-source standard that connects AI applications to external systems. Source 1সোর্স 1 The MCP project compares it to a USB-C port for AI applications. Source 1সোর্স 1
Claude Code uses MCP to connect to external tools and data. MCP servers give Claude Code access to your tools, databases, and APIs. Source 2সোর্স 2 The docs show two example prompts. One asks Claude to add the feature from JIRA issue ENG-4521 and create a PR on GitHub. The other asks Claude to find the emails of 10 random users who used feature ENG-4521, from a PostgreSQL database. Source 2সোর্স 2
For QA, you can use the same method to read the acceptance criteria from a ticket. You can also use it to check the data behind a bug.
বাংলা ব্যাখ্যা
MCP (Model Context Protocol) হলো AI application-কে external system-এর সাথে যুক্ত করার একটি open-source standard। Source 1সোর্স 1 MCP project এটিকে AI application-এর জন্য একটি USB-C port-এর সাথে তুলনা করে। Source 1সোর্স 1
Claude Code MCP-এর মাধ্যমে external tool এবং data-র সাথে যুক্ত হয়। MCP server-গুলো Claude Code-কে আপনার tool, database এবং API ব্যবহারের সুযোগ দেয়। Source 2সোর্স 2 Docs-এর দুটি উদাহরণ prompt ধারণাটি দেখায়। প্রথমটি Claude-কে JIRA issue ENG-4521-এর feature যোগ করে GitHub-এ একটি PR তৈরি করতে বলে। দ্বিতীয়টি PostgreSQL database দেখে feature ENG-4521 ব্যবহার করা 10 জন random user-এর email খুঁজে বের করতে বলে। Source 2সোর্স 2
QA-র কাজে একই পদ্ধতিতে আপনি একটি ticket থেকে acceptance criteria পড়তে পারেন এবং একটি bug-এর পেছনের data যাচাই করতে পারেন।
Find servers you can trust
| Where | What it is |
|---|---|
| Anthropic Directory | Reviewed connectors. You can add any remote server listed there with claude mcp add. Source 2সোর্স 2 |
| MCP Registry | The official centralized metadata repository for public MCP servers. It is in preview. Source 3সোর্স 3 |
| modelcontextprotocol/servers | Reference implementations, not production-ready servers. To find servers, the repository points to the MCP Registry. Source 4সোর্স 4 |
- The MCP Registry stores metadata that points to packages. It does not host the server code. Source 3সোর্স 3
- The current reference servers are Everything, Fetch, Filesystem, Git, Memory, Sequential Thinking, and Time. Source 4সোর্স 4
- The old GitHub, PostgreSQL, Slack, Puppeteer, Brave Search, and other reference servers are archived in
modelcontextprotocol/servers-archived. Source 4সোর্স 4 Do not use the archived GitHub and PostgreSQL servers in new setups.
A listing is not a security review
Anthropic reviews connectors against its listing criteria before it adds them to the Anthropic Directory, but it does not security-audit or manage any MCP server. Source 5সোর্স 5 A third-party list of MCP servers has no official standing. Use servers that you trust, or write your own.
সহজ English
You can look for MCP servers in three places:
- The Anthropic Directory has reviewed connectors. You can add any remote server from it with
claude mcp add. Source 2সোর্স 2 - The MCP Registry is the official central store of metadata for public MCP servers. It is in preview. It keeps metadata that points to packages. It does not keep the server code. Source 3সোর্স 3
- The
modelcontextprotocol/serversrepository has reference implementations. They are not ready for production. To find servers, the repository sends you to the MCP Registry. Source 4সোর্স 4
The current reference servers are Everything, Fetch, Filesystem, Git, Memory, Sequential Thinking, and Time. The old GitHub, PostgreSQL, Slack, Puppeteer, Brave Search, and other reference servers are archived. Source 4সোর্স 4 Do not use the archived GitHub and PostgreSQL servers in new setups.
Anthropic reviews connectors against its listing criteria before it adds them to its directory. But it does not do a security audit of any MCP server, and it does not manage them. Source 5সোর্স 5 A list of MCP servers from a third party has no official standing. Use servers that you trust, or write your own.
বাংলা ব্যাখ্যা
MCP server খোঁজার জন্য তিনটি জায়গা আছে:
- Anthropic Directory-তে reviewed connector-গুলো আছে। সেখানে থাকা যেকোনো remote server আপনি
claude mcp addদিয়ে যোগ করতে পারেন। Source 2সোর্স 2 - MCP Registry হলো public MCP server-গুলোর official centralized metadata repository। এটি এখনো preview-তে আছে। এটি শুধু package-এর দিকে নির্দেশ করা metadata রাখে, server-এর code host করে না। Source 3সোর্স 3
modelcontextprotocol/serversrepository-তে reference implementation আছে, এগুলো production-ready server নয়। Server খুঁজতে এই repository আপনাকে MCP Registry-তে যেতে বলে। Source 4সোর্স 4
বর্তমান reference server-গুলো হলো Everything, Fetch, Filesystem, Git, Memory, Sequential Thinking এবং Time। পুরোনো GitHub, PostgreSQL, Slack, Puppeteer, Brave Search এবং আরও কিছু reference server archive করা হয়েছে। Source 4সোর্স 4 নতুন setup-এ archive করা GitHub এবং PostgreSQL server ব্যবহার করবেন না।
Anthropic Directory-তে যোগ করার আগে Anthropic connector-গুলো তার listing criteria অনুযায়ী review করে, কিন্তু কোনো MCP server-এর security audit করে না এবং কোনো server manage-ও করে না। Source 5সোর্স 5 Third-party-র তৈরি MCP server-এর তালিকার কোনো official মর্যাদা নেই। যে server-কে আপনি বিশ্বাস করেন সেটি ব্যবহার করুন, অথবা নিজেই একটি লিখুন।
Add a server
Remote HTTP server
HTTP is the recommended transport for remote servers. Source 2সোর্স 2
claude mcp add --transport http <name> <url>To send a header, add --header. An example from the docs: Source 2সোর্স 2
claude mcp add --transport http secure-api https://api.example.com/mcp --header "Authorization: Bearer your-token"The SSE transport is deprecated. Use HTTP where the server supports it. Source 2সোর্স 2
Local stdio server
The syntax for a local stdio server is: Source 2সোর্স 2
claude mcp add [options] <name> -- <command> [args...]The -- separates Claude's own options from the command and the arguments that run the server. Examples of Claude's own options are --transport, --env, and --scope. Source 2সোর্স 2 An example from the docs with an environment variable: Source 2সোর্স 2
claude mcp add --env AIRTABLE_API_KEY=YOUR_KEY --transport stdio airtable -- npx -y airtable-mcp-serverPut at least one other option, such as --transport stdio, between --env and the server name. If not, the CLI reads the name as one more variable. Source 2সোর্স 2 Server names can contain only letters, numbers, hyphens, and underscores. Source 2সোর্স 2
Scopes and .mcp.json
| Scope | Flag | Stored in | Who gets it |
|---|---|---|---|
| Local (default) | --scope local | ~/.claude.json | You, in the current project only Source 2সোর্স 2 |
| Project | --scope project | .mcp.json in the project root | Everyone, through version control Source 2সোর্স 2 |
| User | --scope user | ~/.claude.json | You, in all your projects Source 2সোর্স 2 |
Name conflicts. If the same server name is defined in more than one place, Claude Code uses this order: local, project, user, plugin-provided servers, then claude.ai connectors. It uses the whole entry from the winner. Source 2সোর্স 2
Variables in .mcp.json. .mcp.json supports ${VAR} and ${VAR:-default} in command, args, env, url, and headers. Source 2সোর্স 2 For example, a QA team commits this .mcp.json, and each tester sets QA_DB_DSN in the shell.
{
"mcpServers": {
"atlassian": {
"type": "http",
"url": "https://mcp.atlassian.com/v2/mcp"
},
"db": {
"command": "npx",
"args": ["-y", "@bytebase/dbhub", "--dsn", "${QA_DB_DSN}"]
}
}
}- A JSON entry with a
urlbut notypeis an error. Write"type": "http","sse", or"ws". Source 2সোর্স 2 - In a remote server's
urlandheaders, Claude Code reads credential variables such asANTHROPIC_API_KEYas empty. Source 2সোর্স 2 Use your own variable names. - In an interactive session, Claude Code asks for approval before it uses a server from
.mcp.json.claude mcp reset-project-choicesresets your choices. Source 2সোর্স 2
The Settings & the .claude Folder page shows where .mcp.json sits among the other files.
সহজ English
You add a server with the claude mcp add command. Source 2সোর্স 2
- For a remote server, use HTTP. It is the recommended transport. The SSE transport is deprecated. To send a header, such as a token, add
--header. Source 2সোর্স 2 - For a local stdio server, put
--before the command that runs the server. The--keeps Claude's own options, such as--transport,--env, and--scope, apart from that command. Put one more option, such as--transport stdio, between--envand the server name. If you do not, the CLI reads the name as one more variable. Source 2সোর্স 2
The scope sets who gets the server. Local (the default) is for you, in the current project only. Project puts the server in .mcp.json in the project root, so everyone gets it through version control. User is for you, in all your projects. Source 2সোর্স 2 In an interactive session, Claude Code asks for your approval before it uses a server from .mcp.json. Source 2সোর্স 2
বাংলা ব্যাখ্যা
একটি server যোগ করতে claude mcp add command ব্যবহার করুন। Source 2সোর্স 2
- Remote server-এর জন্য HTTP ব্যবহার করুন, এটিই recommended transport। SSE transport deprecated। একটি header (যেমন একটি token) পাঠাতে
--headerযোগ করুন। Source 2সোর্স 2 - Local stdio server-এর জন্য server চালানোর command-এর আগে
--দিন।--Claude-এর নিজের option-গুলো (যেমন--transport,--envএবং--scope) server-এর command ও argument থেকে আলাদা রাখে।--envএবং server-এর নামের মাঝে অন্তত আরেকটি option দিন, যেমন--transport stdio। তা না হলে CLI নামটিকে আরেকটি variable হিসেবে পড়ে। Server-এর নামে শুধু অক্ষর, সংখ্যা, hyphen এবং underscore থাকতে পারে। Source 2সোর্স 2
Scope ঠিক করে কে server-টি পাবে। Local (default) শুধু আপনার জন্য, শুধু বর্তমান project-এ। Project scope server-টিকে project root-এর .mcp.json-এ রাখে, তাই version control-এর মাধ্যমে সবাই এটি পায়। User scope আপনার জন্য, আপনার সব project-এ। Source 2সোর্স 2 Interactive session-এ .mcp.json-এর কোনো server ব্যবহারের আগে Claude Code আপনার approval চায়। Source 2সোর্স 2
Check and manage servers
Manage servers with claude mcp list, claude mcp get <name>, and claude mcp remove <name>, or with /mcp in a session. Source 2সোর্স 2
claude mcp list
claude mcp get atlassianclaude mcp listshows the health of each server, for example✔ Connected,! Needs authentication, or✘ Failed to connect. A.mcp.jsonserver that you have not approved shows⏸ Pending approval. Source 2সোর্স 2/mcpmanages server connections and OAuth sign-in. It also takesreconnect,enable, anddisable. Source 6সোর্স 6
Sign in with OAuth
Claude Code supports OAuth 2.0 for remote servers. Run /mcp and follow the steps in your browser. Claude Code stores the tokens and refreshes them automatically. Source 2সোর্স 2
claude mcp login <name>runs the sign-in from your shell.claude mcp logout <name>clears the tokens. Source 2সোর্স 2- If you set an
Authorizationheader and the server rejects it, Claude Code reports a failed connection. It does not fall back to OAuth. Source 2সোর্স 2 - In a
claude -prun, a server that needs sign-in is not available. Sign in first from an interactive session. Source 2সোর্স 2
claude mcp add-from-claude-desktop copies servers from Claude Desktop. It works only on macOS and WSL. Source 2সোর্স 2
সহজ English
claude mcp list shows the health of each server. Source 2সোর্স 2 In a session, /mcp manages the connections and the OAuth sign-in. Source 6সোর্স 6
বাংলা ব্যাখ্যা
claude mcp list প্রতিটি server-এর health দেখায়। Source 2সোর্স 2 Session-এর ভেতরে /mcp server connection এবং OAuth sign-in manage করে। Source 6সোর্স 6 Claude Code OAuth token-গুলো সংরক্ষণ করে এবং নিজে থেকেই refresh করে। Source 2সোর্স 2 claude -p run-এ যে server-এ sign-in লাগে, সেটি পাওয়া যায় না, তাই আগে একটি interactive session থেকে sign in করুন। Source 2সোর্স 2
Servers for testing work
Jira (Atlassian)
The official Atlassian MCP server is a cloud service. It covers Jira, Confluence, Jira Service Management, Bitbucket, and Compass, and it signs in with OAuth 2.1 or an API token. Source 7সোর্স 7
claude mcp add --transport http atlassian https://mcp.atlassian.com/v2/mcpThen run /mcp in a session to sign in. Source 7সোর্স 7 Source 8সোর্স 8
- v2 is the recommended endpoint. The old SSE endpoint
https://mcp.atlassian.com/v1/sseis not supported after 30 June 2026. Source 7সোর্স 7 Replace it in old configurations. - The server gives access only to data that the user can already see in Atlassian Cloud. Source 7সোর্স 7 Use least privilege, and review high-impact changes before you confirm them. Source 7সোর্স 7 Source 8সোর্স 8
- An API token needs an organization admin to enable API token sign-in. Source 7সোর্স 7
Example prompt: Read PROJ-421 and list the acceptance criteria, the open questions, and three edge cases.
The /mcp panel shows the tool count next to each connected server. Source 2সোর্স 2 To see the tool names, ask Claude to list the tools of the atlassian server. For a subagent, allow the whole server with mcp__atlassian__*. Source 9সোর্স 9 See Subagents.
Test database (DBHub)
DBHub (@bytebase/dbhub) connects Claude to a relational database. Source 2সোর্স 2 It supports PostgreSQL, MySQL, SQL Server, MariaDB, Oracle, ClickHouse, and SQLite. Its default tools are execute_sql and search_objects. Source 10সোর্স 10
Example for a test team, in the form that the docs show: Source 2সোর্স 2 point DBHub at a staging database and a read-only user.
claude mcp add --transport stdio db -- npx -y @bytebase/dbhub --dsn "postgresql://qa_readonly:PASSWORD@staging-db.example.com:5432/payments"Use a read-only database user
Use a read-only database user in the connection string, so the queries that Claude runs cannot change data. Source 2সোর্স 2 DBHub also has a read-only mode for its execute_sql tool, but that mode cannot stop everything a privileged database role can do. For agent-driven work, always connect DBHub with a least-privilege, read-only database user. Source 11সোর্স 11 Do not point it at production.
GitHub
GitHub hosts a remote MCP server. Source 12সোর্স 12 The docs add it with a personal access token: Source 2সোর্স 2
claude mcp add --transport http github https://api.githubcopilot.com/mcp/ --header "Authorization: Bearer YOUR_GITHUB_PAT"- Create a fine-grained token with access only to the repositories that Claude needs. Source 2সোর্স 2
- GitHub also has a local server that runs in Docker. Its
--read-onlyflag offers only read-only tools. Source 12সোর্স 12
Playwright
Playwright MCP drives a browser through Playwright's accessibility tree, not through pixel-based input. Source 13সোর্স 13 Playwright MCP needs Node.js 20 or newer. Source 13সোর্স 13 Source 14সোর্স 14
claude mcp add playwright npx @playwright/mcp@latest- The README says that coding agents may prefer the Playwright CLI with skills, because it uses fewer tokens. MCP suits specialized agentic loops, such as exploratory automation and self-healing tests. Source 13সোর্স 13
- Playwright MCP is not a security boundary. Source 13সোর্স 13
- Playwright is also a plugin in the official plugin marketplace, in the
testingcategory. Source 15সোর্স 15
The Browser Testing with Playwright page covers browser tests in detail.
Library docs (Context7)
Context7 puts up-to-date, version-specific library documentation and code examples into your prompt. Source 16সোর্স 16 Use it when Claude writes tests against a library version that it does not know well.
সহজ English
These servers help with testing work. Each one connects Claude to a tool you may already use.
Jira (Atlassian)
- This is the official Atlassian server. It runs in the cloud. Source 7সোর্স 7
- It works with Jira, Confluence, Jira Service Management, Bitbucket, and Compass. Source 7সোর্স 7
- To set it up, add the v2 endpoint. An endpoint is the web address the server uses. Source 7সোর্স 7
- Then run
/mcpin a session to sign in. Source 7সোর্স 7 Source 8সোর্স 8 - The old SSE endpoint is not supported after 30 June 2026. Source 7সোর্স 7
- Replace the old endpoint in old setups. Source 7সোর্স 7
- The server gives access only to data that the user can already see. Source 7সোর্স 7
Test database (DBHub)
- DBHub lets Claude talk to a database. Source 2সোর্স 2
- It works with PostgreSQL or MySQL, for example.
- Connect with a read-only database user. Then the queries that Claude runs cannot change data. Source 2সোর্স 2 Source 11সোর্স 11
- Do not point it at production.
GitHub
- GitHub hosts a remote server. Source 12সোর্স 12
- Give it a fine-grained token. This is a key that you limit to certain things. Source 2সোর্স 2
- The token should reach only the repositories that Claude needs. Source 2সোর্স 2
Playwright
- Playwright MCP controls a browser. Source 13সোর্স 13
- It reads the structure of the page, not the pixels on the screen. Source 13সোর্স 13
- Use Node.js 20 or newer. Source 14সোর্স 14
- It is not a security boundary. Do not rely on it to keep things safe. Source 13সোর্স 13
Context7
- It puts up-to-date library docs and code examples into your prompt. Source 16সোর্স 16
- They match the version of the library. Source 16সোর্স 16
বাংলা ব্যাখ্যা
Testing-এর কাজে এই server-গুলো কাজে লাগে:
- Jira (Atlassian)। Official Atlassian MCP server একটি cloud service। এটি Jira, Confluence, Jira Service Management, Bitbucket এবং Compass cover করে, আর OAuth 2.1 অথবা একটি API token দিয়ে sign in করে। v2 endpoint যোগ করুন, তারপর sign in করতে session-এ
/mcpচালান। Source 7সোর্স 7 পুরোনো SSE endpointhttps://mcp.atlassian.com/v1/sse30 June 2026-এর পরে আর supported নয়। Server-টি শুধু সেই data দেখায়, যা user আগে থেকেই Atlassian Cloud-এ দেখতে পারেন। Source 7সোর্স 7 - Test database (DBHub)। DBHub (
@bytebase/dbhub) Claude-কে একটি relational database-এর সাথে যুক্ত করে। Source 2সোর্স 2 এটি PostgreSQL, MySQL, SQL Server, MariaDB, Oracle, ClickHouse এবং SQLite support করে। Source 10সোর্স 10 Connection string-এ একটি read-only database user দিন, যাতে Claude-এর চালানো query data বদলাতে না পারে। Source 2সোর্স 2 Source 11সোর্স 11 এটিকে production-এর দিকে point করবেন না। - GitHub। GitHub একটি remote MCP server host করে। Source 12সোর্স 12 একটি fine-grained token তৈরি করুন, যার access শুধু সেই repository-গুলোতে, যা Claude-এর দরকার। Source 2সোর্স 2
- Playwright। Playwright MCP pixel-based input দিয়ে নয়, Playwright-এর accessibility tree দিয়ে browser চালায়। Source 13সোর্স 13 Node.js 20 বা তার নতুন version ব্যবহার করুন। Source 14সোর্স 14 Playwright MCP কোনো security boundary নয়। Source 13সোর্স 13
- Context7। এটি up-to-date, version-specific library documentation এবং code example আপনার prompt-এ যোগ করে। Source 16সোর্স 16
MCP in subagents and hooks
- MCP tool names have the form
mcp__<server>__<tool>. Source 17সোর্স 17 - A subagent whose
toolslist has only built-in tools cannot use any MCP tools. Add the server, for examplemcp__atlassian__*, or define the server inline in the subagent'smcpServers. Source 9সোর্স 9 See Subagents. - A hook matcher for every tool of one server is
mcp__atlassian__.*. Source 17সোর্স 17 See Hooks. - MCP prompts appear as commands in the form
/mcp__servername__promptname. Source 2সোর্স 2
সহজ English
- An MCP tool name has the form
mcp__<server>__<tool>. Source 17সোর্স 17 - If the
toolslist of a subagent has only built-in tools, the subagent cannot use MCP tools. To give it access, add the server, for examplemcp__atlassian__*. Or define the server inline in themcpServersof the subagent. Source 9সোর্স 9 - To match every tool of one server in a hook, use
mcp__atlassian__.*. Source 17সোর্স 17 - MCP prompts show as commands, in the form
/mcp__servername__promptname. Source 2সোর্স 2
বাংলা ব্যাখ্যা
- MCP tool-এর নাম
mcp__<server>__<tool>আকারে হয়। Source 17সোর্স 17 - কোনো subagent-এর
toolslist-এ শুধু built-in tool থাকলে সেই subagent কোনো MCP tool ব্যবহার করতে পারে না। Access দিতে server-টি যোগ করুন, যেমনmcp__atlassian__*, অথবা subagent-এরmcpServers-এ server-টি inline define করুন। Source 9সোর্স 9 - একটি server-এর সব tool-এর জন্য hook matcher হলো
mcp__atlassian__.*। Source 17সোর্স 17 - MCP prompt-গুলো
/mcp__servername__promptnameআকারে command হিসেবে দেখা যায়। Source 2সোর্স 2
Keep it safe
Prompt injection
Verify that you trust each server before you connect it. A server that fetches external content can expose you to prompt injection. Source 2সোর্স 2 A Jira ticket, a web page, or a database row is data, not instructions. Review what Claude proposes after it reads such content.
- Reviewing
.mcp.jsondoes not show every server that a session can load. Other scopes, connectors, and plugins add servers too. Source 5সোর্স 5 - In
claude -p, Agent SDK, and cloud sessions, Claude Code loads project-scoped servers without asking. To keep a server out, usedisabledMcpjsonServers,--setting-sources, or--strict-mcp-config. Source 2সোর্স 2 - Give each server the least access that works: a least-privilege, read-only database user Source 11সোর্স 11, a fine-grained GitHub token Source 2সোর্স 2, and least privilege in Atlassian. Source 7সোর্স 7
See it in practice
What to Fix in the Setup shows MCP mistakes from a real QA workspace: wrong tool names and a database server with write access.
সহজ English
Before you connect a server, make sure that you trust it. A server that gets external content can expose you to prompt injection. Source 2সোর্স 2 Text in a Jira ticket, a web page, or a database row is data. It is not an instruction. Check what Claude proposes after it reads such content.
- A review of
.mcp.jsondoes not show all the servers that a session can load. Other scopes, connectors, and plugins add servers too. Source 5সোর্স 5 - In
claude -p, Agent SDK, and cloud sessions, Claude Code loads project-scoped servers and does not ask you first. To keep a server out, usedisabledMcpjsonServers,--setting-sources, or--strict-mcp-config. Source 2সোর্স 2 - Give each server the least access that works: a read-only database user with least privilege Source 11সোর্স 11, a fine-grained GitHub token Source 2সোর্স 2, and least privilege in Atlassian. Source 7সোর্স 7
বাংলা ব্যাখ্যা
কোনো server যুক্ত করার আগে নিশ্চিত হোন যে আপনি সেটিকে বিশ্বাস করেন। যে server বাইরের content আনে, সেটি আপনাকে prompt injection-এর ঝুঁকিতে ফেলতে পারে। Source 2সোর্স 2 একটি Jira ticket, একটি web page অথবা একটি database row হলো data, instruction নয়। এমন content পড়ার পরে Claude যা প্রস্তাব করে, তা review করুন।
- শুধু
.mcp.jsonreview করলে একটি session যত server load করতে পারে, তার সবগুলো দেখা যায় না। অন্য scope, connector এবং plugin-ও server যোগ করে। Source 5সোর্স 5 claude -p, Agent SDK এবং cloud session-এ Claude Code কিছু না জিজ্ঞেস করেই project-scoped server load করে। কোনো server বাদ রাখতেdisabledMcpjsonServers,--setting-sourcesঅথবা--strict-mcp-configব্যবহার করুন। Source 2সোর্স 2- প্রতিটি server-কে কাজ চলার মতো সবচেয়ে কম access দিন: least-privilege, read-only database user Source 11সোর্স 11, fine-grained GitHub token Source 2সোর্স 2 এবং Atlassian-এ least privilege। Source 7সোর্স 7
Context cost
- Tool search is on by default. It keeps MCP context usage low because Claude Code loads tool definitions only when Claude needs them. Source 2সোর্স 2
- Claude Code shows a warning when an MCP tool output is larger than 10,000 tokens. The default maximum is 25,000 tokens.
MAX_MCP_OUTPUT_TOKENSchanges it. Source 2সোর্স 2
Ask for small results, for example SELECT ... LIMIT 20, when you query a test database.
সহজ English
Tool search is on by default. Claude Code loads tool definitions only when Claude needs them, so MCP uses little context. Source 2সোর্স 2
If an MCP tool output is larger than 10,000 tokens, Claude Code shows a warning. The default maximum is 25,000 tokens. To change it, set MAX_MCP_OUTPUT_TOKENS. Source 2সোর্স 2
When you query a test database, ask for small results, for example SELECT ... LIMIT 20.
বাংলা ব্যাখ্যা
Tool search default হিসেবে চালু থাকে। Claude-এর দরকার হলেই কেবল Claude Code tool definition load করে, তাই MCP context কম খরচ করে। Source 2সোর্স 2
কোনো MCP tool-এর output 10,000 token-এর বেশি হলে Claude Code একটি warning দেখায়। Default সর্বোচ্চ সীমা 25,000 token। MAX_MCP_OUTPUT_TOKENS দিয়ে এটি বদলানো যায়। Source 2সোর্স 2
Test database-এ query করার সময় ছোট result চান, যেমন SELECT ... LIMIT 20।