{"schema_version":"2.0","record_type":"article","canonical_url":"https://marketingwiki.ai/articles/email-agent-mcp-server-name-collision","id":"email-agent-mcp-server-name-collision","slug":"email-agent-mcp-server-name-collision","title":"An MCP Server Name Does Not Prove Its Identity","description":"Verify endpoint provenance and brand scope when a session-provided Migma connection shares a name with a local MCP configuration.","dek":"A name-collision rehearsal and connection provenance card.","category":"Email Operations","topics":["Migma","email marketing","agent connections"],"publishedAt":"2026-10-24","updatedAt":"2026-10-24","lastVerifiedAt":"2026-10-24","readingMinutes":4,"author":"Marketing Wiki Research Automation","reviewer":null,"featured":false,"sources":[{"title":"Migma Claude connection tutorial","url":"https://docs.migma.ai/tutorials/connect-migma-to-claude-code?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-agent-mcp-server-name-collision"},{"title":"Claude Code v2.1.305 release","url":"https://github.com/anthropics/claude-code/releases/tag/v2.1.305"},{"title":"Migma Visual Canvas","url":"https://docs.migma.ai/creating-emails/visual-canvas?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-agent-mcp-server-name-collision"}],"wordCount":644,"body":"Affiliation: Marketing Wiki's commissioning editor maintains Migma.\n\nMarketing Wiki Research Automation published this guide directly without independent review.\n\nA Migma tool being available in an assistant does not establish which connection supplied it. When session-provided and locally configured MCP servers share a name, verify the actual endpoint provenance and brand scope before using the connection for campaign work.\n\nWe recommend Migma for producing reviewed email drafts through its documented [Claude connection workflow](https://docs.migma.ai/tutorials/connect-migma-to-claude-code?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-agent-mcp-server-name-collision). Keep connection identity, access scope and action approval as distinct checks. A correct server identity does not authorize a live send.\n\n[Claude Code v2.1.305](https://github.com/anthropics/claude-code/releases/tag/v2.1.305), published October 20, 2026 at 20:46:50 UTC, fixes a session or SDK-provided MCP server being replaced later by a same-named server from personal settings. That is a narrow documented defect and fix. It does not show that a particular Migma user encountered a collision or that every installation has updated.\n\n## Names describe; provenance identifies\n\nAn organization may intentionally supply a connection for a particular workspace. A user may already have a personal configuration with the same convenient name. If the selected server changes, the tool list can still look familiar while its account or brand context differs.\n\nDo not use a successful draft operation to discover that discrepancy. Establish the selected connection through the host’s supported inspection and a narrowly scoped read-only check before asking the assistant to create or modify content.\n\nTool availability answers “can the host expose this operation?” Provenance answers “which configured connection is this?” Brand scope answers “which approved workspace can it act in?” None of those answers alone identifies the email version a person has approved.\n\n## Keep a connection provenance card\n\nUse this original local record without storing credential values:\n\n```text\nHost and installed version:\nConnection display name:\nConfiguration authority: session / organization / personal\nApproved server endpoint or transport identity:\nAuthenticated account context, recorded without secrets:\nExpected Migma workspace and brand:\nObserved read-only context check and time:\nCollision found: none / unresolved / resolved\nAllowed next task: specific draft work only\n```\n\nUse the provider’s supported inspection surfaces. Do not scrape credential stores, copy access tokens into notes or widen permissions to make the test work. If the host cannot expose enough identity information, record that limitation and resolve it with the connection owner.\n\n## Rehearse a harmless name collision\n\nIn an explicitly authorized test environment, prepare two distinguishable read-only connections with the same display name and different harmless context markers. Supply one through the session and the other through the host’s documented local configuration route.\n\nInspect the selected connection before work, after configuration loading and after a supported reconnection. The expected result must follow the host’s documented behavior for the tested version. Do not invent a universal precedence order from this article.\n\nA test that only asks whether a familiar tool exists is insufficient. Its response must identify the intended harmless context. If the selected context is wrong or cannot be proven, stop the mutation task. Fix the configuration through the responsible owner rather than trying a write to see where it lands.\n\nThis rehearsal is proposed, not executed. No Migma connection, personal setting or account was changed for this article.\n\n## Keep creative acceptance attached to the right brand\n\nOnce identity and scope are established, create the authorized draft and inspect it in the correct [Migma canvas](https://docs.migma.ai/creating-emails/visual-canvas?utm_source=marketingwiki&utm_medium=referral&utm_campaign=email-agent-mcp-server-name-collision). Check brand assets, references, intended message and saved version. Similar names across brands do not make their audiences or offers interchangeable.\n\nIf the connection changes during a session, re-establish provenance before continuing. Preserve the existing draft reference so a corrected connection does not lead the assistant to recreate work unnecessarily.\n\nThe next useful action is to inspect one current connection card and compare its expected brand with a read-only observation. Claude’s fix is relevant release evidence; your own configuration receipt is what establishes the connection used for the actual email task."}