Status: Planning Phase Created: January 2025 Target Timeline: 6-12 months Priority: Medium (No immediate action required)
The mcp_server directory name predates the now-standard “Model Context Protocol” (MCP) term in the AI industry. To prevent confusion and improve discoverability, this document outlines a gradual migration strategy to rename the directory to agent_core while maintaining complete backward compatibility and preserving all existing links, documentation, and integrations.
The SIM-ONE Framework uses mcp_server to refer to:
The term “MCP” now commonly refers to:
Status: ✅ In Progress (Phase 22)
Actions:
code/mcp_server/README.md with detailed explanationMIGRATION_PLAN.md documentcode/mcp_server/FUTURE_NAMING.md for internal referenceGoal: Ensure all users understand current naming context
Actions:
mcp_serverDeliverables:
Actions:
code/agent_core/ directory structuremcp_server and agent_core imports)Deliverables:
agent_core/ directory alongside mcp_server/Compatibility Layer Example:
# code/agent_core/__init__.py
"""
SIM-ONE Agent Core (formerly mcp_server)
Provides backward compatibility imports for mcp_server namespace
"""
import warnings
from pathlib import Path
# Re-export everything from agent_core as if it were mcp_server
from .protocols import *
from .orchestration_engine import *
from .cognitive_governance_engine import *
def _emit_deprecation_warning():
"""Optionally warn about legacy mcp_server imports"""
if os.getenv("SIMONE_WARN_LEGACY_IMPORTS", "false").lower() == "true":
warnings.warn(
"Importing from 'mcp_server' is deprecated. "
"Please update imports to 'agent_core'. "
"See MIGRATION_PLAN.md for details.",
DeprecationWarning,
stacklevel=3
)
Actions:
agent_core importsagent_core exclusivelymcp_server as a compatibility aliasagent_coreagent_core terminologyMigration Priority:
agent_corePrinciple: No breaking changes - both imports work simultaneously
Actions:
agent_core referencesDeliverables:
Actions:
mcp_server imports (telemetry if available)mcp_server and agent_core referencesLong-term Strategy:
agent_core (RECOMMENDED)Pros:
Cons:
Verdict: ✅ Recommended
cognitive_orchestratorPros:
Cons:
Verdict: ⚠️ Alternative option
simone_corePros:
Cons:
Verdict: ⚠️ Fallback option
Decision: Proceed with agent_core unless stakeholder feedback suggests otherwise.
Current:
github.com/yourorg/SIM-ONE/tree/main/code/mcp_server/code/mcp_server/Strategy:
../agent_core/)Action Items:
from mcp_server.protocols.rep import REP
from mcp_server.orchestration_engine import OrchestrationEngine
from agent_core.protocols.rep import REP
from agent_core.orchestration_engine import OrchestrationEngine
Approach: Create import aliasing at package level
# code/mcp_server/__init__.py (becomes compatibility shim)
"""
LEGACY COMPATIBILITY LAYER
This module provides backward compatibility for code importing from 'mcp_server'.
New code should import from 'agent_core' instead.
See MIGRATION_PLAN.md for migration guide.
"""
import warnings
import os
# Re-export everything from agent_core
from agent_core import *
from agent_core.protocols import *
from agent_core.orchestration_engine import *
from agent_core.cognitive_governance_engine import *
# Optional deprecation warning
if os.getenv("SIMONE_WARN_LEGACY_IMPORTS", "false").lower() == "true":
warnings.warn(
"Importing from 'mcp_server' is deprecated. Update imports to 'agent_core'.",
DeprecationWarning,
stacklevel=2
)
Result: Both import paths work identically, allowing gradual migration.
The mcp_server directory has accumulated:
Action Items:
mcp_server work correctly (baseline)mcp_server and agent_core imports workagent_core imports work correctlymcp_server imports still work (compatibility)If migration encounters critical issues:
mcp_server terminologyNote: Due to compatibility layer, rollback is low-risk and can happen at any time.
agent_coreMigration is considered successful when:
agent_core directory exists and is primaryagent_core importsmcp_server and agent_core imports work (compatibility layer)agent_core as primary (with compatibility notes)mcp_server compatibility indefinitely or plan eventual removal?simone.agent_core)?This migration plan requires approval from:
| Phase | Months | Status | Key Deliverable |
|---|---|---|---|
| Phase 1: Documentation | 1-2 | ✅ In Progress | Naming clarifications added |
| Phase 2: Planning | 3-4 | ⏳ Pending | Reference audit complete |
| Phase 3: Infrastructure | 5-6 | ⏳ Pending | Compatibility layer working |
| Phase 4: Code Migration | 7-9 | ⏳ Pending | Internal code migrated |
| Phase 5: External Comms | 10-11 | ⏳ Pending | Public announcement made |
| Phase 6: Long-term Support | 12+ | ⏳ Pending | Compatibility maintained |
Total Timeline: 12+ months Current Phase: Phase 1 (Documentation & Clarification)
| Date | Version | Changes | Author |
|---|---|---|---|
| 2025-01-10 | 1.0 | Initial migration plan created | SIM-ONE Team |
This is a living document and will be updated as the migration progresses.