What is Model Context Protocol (MCP) and how to use it —…
    Neura Market
    Neura Market
    /Cursor
    Marketplace
    Directories
    Resources
    Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeekCoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorBlogWhat is Model Context Protocol (MCP) and how to use it
    Back to Blog
    What is Model Context Protocol (MCP) and how to use it
    ai

    What is Model Context Protocol (MCP) and how to use it

    WaterShow November 7, 2026
    0 views

    Learn how the Model Context Protocol standardizes AI integrations, with a look at connecting Claude and Cursor to custom environments.

    AI assistants previously required custom integrations for every tool or data source you wanted them to access. If you wanted an assistant to interact with a specific software environment, you had to maintain separate connection logic for each host application.

    The Model Context Protocol defines a single open standard for connecting AI apps to external tools. A server declares what it can do, the host application shows those capabilities to the model, and the model requests actions when needed. You build the server once, and any compatible assistant can use it.

    How the protocol works

    The architecture relies on three distinct parts. The host is the AI application you use, like Claude Desktop or Cursor. The server is a program that exposes specific tools, data or prompts. The model decides what to use based on the user request.

    The model never talks to a server directly. According to MCP Explained, the host acts as the middleman. When the model needs something, the host application calls the server and hands the result back to the model.

    Communication does not use standard REST APIs. Instead, the protocol relies on JSON-RPC. This JSON-RPC envelope travels over stdin and stdout, or through HTTP endpoints. The specification defines the methods, capability negotiation, transports, and authentication that go inside this envelope. Servers also have the ability to send messages back to the host.

    Real-world example: Roblox Studio

    The HerdBuilderEstimate/roblox-studio-mcp project is an open-source server that bridges Roblox Studio and AI coding assistants.

    It is a Node.js and TypeScript server. It communicates via WebSockets and standard input/output. A Lua plugin handles the operations inside the Roblox Studio API.

    The server allows language models to understand the architecture of a game, generate Lua scripts, and automate developer tasks. Because it follows the standard protocol, it is compatible with Claude Desktop, Cursor, Cline, and ChatGPT through adapters.

    The server exposes specific tools to the AI agent. The model can call get_object_tree to return the full hierarchy of the current place. It can use get_instance to fetch details of a specific object by its path. For editing, the model can trigger create_script to make a new Lua script or update_script to replace the source code of an existing script.

    The model can also inspect and modify properties using get_properties and set_property. The tools run_playtest and stop_playtest allow the agent to start and stop playtest sessions.

    Connecting the server to an AI host

    To use an existing server, add it to the configuration file of your AI assistant.

    1. Open the configuration file for your client, such as claude_desktop_config.json.
    2. Add the server details inside the mcpServers object.
    3. Restart your AI assistant so it reads the new configuration.

    Here is the exact configuration block needed to connect the Roblox Studio server:

    {
      "mcpServers": {
        "roblox-studio": {
          "command": "npx",
          "args": ["-y", "roblox-studio-mcp"]
        }
      }
    }
    

    Once restarted, the host discovers the tools and the server automatically finds open Studio sessions.

    You can adjust the server settings using environment variables. The variable RBX_MCP_PORT changes the WebSocket port from the default 44755. You can control logging with RBX_MCP_LOG_LEVEL and change the request timeout length with RBX_MCP_TIMEOUT.

    The catch

    The server implementation defines the security boundaries, not the protocol itself. If the server exposes destructive tools, the AI host can use them.

    For the Roblox Studio integration, you must have edit access to the place for the tools to work. The server includes a delete_instance tool that removes objects from your project. To prevent the AI from making unwanted changes, you run the server in safe mode. Setting the environment variable RBX_MCP_SAFE_MODE to true disables destructive actions and prevents object deletion. The server sandboxes all operations within the Studio plugin, meaning it cannot execute untrusted code outside of that environment or manipulate memory directly.

    FAQ

    What is the Model Context Protocol?

    It is an open standard that uses JSON-RPC over stdin/stdout or HTTP to connect AI applications to external data and tools. A server exposes tools, the host application shows them to the model, and the host calls the server when the model requests an action.

    Does the AI model talk directly to my tools?

    No. The model never talks directly to a server. The host application acts as a middleman, calling the server and passing the results back to the model.

    How do I stop an AI agent from breaking my Roblox game?

    You can set the environment variable RBX_MCP_SAFE_MODE to true. This enables a read-only mode that disables destructive actions like the tool that deletes instances.


    Originally published at watershowdigital.com/blog/what-is-model-context-protocol-mcp. Need a hand with your app or automation? WaterShow Digital fixes and builds it, fixed quote first.

    Tags

    aimcpcursorarchitecture

    Comments

    More Blog

    View all
    How I stop AI coding agents breaking my projectai

    How I stop AI coding agents breaking my project

    I like AI coding agents. I do not like when they rewrite a file that was already fine, hard-code a...

    T
    Theodore Creates Co.
    1
    2026 MCP Gateway Benchmark: Cutting Cursor and Claude Token Bloat by 85% with Zero-Trust AST Securitymcp

    2026 MCP Gateway Benchmark: Cutting Cursor and Claude Token Bloat by 85% with Zero-Trust AST Security

    Connecting 3 to 5 Model Context Protocol (MCP) servers (GitHub, Postgres, Linear, Slack, Notion) into...

    N
    Neon Innovation Lab
    2
    Too many agent skills? What they cost in context and how to pruneai

    Too many agent skills? What they cost in context and how to prune

    How Claude Code, Codex and Cursor load skills, what really costs context, and how to audit, prune and scope installed skills.

    E
    Eliran Kotzero
    1
    How I Use Cursor and AI Coding Agents to Ship Features That Actually Last in Productionai

    How I Use Cursor and AI Coding Agents to Ship Features That Actually Last in Production

    I use Cursor almost every day. The hard part is not generating code. It is giving the agent enough context, constraints, and a plan so the feature still makes sense after it reaches production.

    A
    Aqib
    2
    Talk to Your Coding Agent: What Cursor's Realtime Voice Chat Actually Changescursor

    Talk to Your Coding Agent: What Cursor's Realtime Voice Chat Actually Changes

    Cursor's November 6 changelog entry is short — "Voice Chat with Agents" — but it changes the shape of...

    野
    野鹤
    1
    AGENTS.md, skills or MCP: where should agent instructions go?ai

    AGENTS.md, skills or MCP: where should agent instructions go?

    Where you put an instruction decides when the agent sees it and what it costs every turn. Here is a...

    C
    Clogmeter

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Games
    • Blog
    • Videos
    • Guides
    • Courses
    • Community
    • Extensions

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Learn n8n Expressions with an Interactive Step-by-Step Tutorial for Beginnersn8n · $14.99 · Related topic
    • Generate Images with OpenAI's New GP-Image-1 Model via a User-Friendly Formn8n · $4.99 · Related topic
    • Automate YouTube Video Creation and Posting with AI and Platform Integrationsn8n · $19.99 · Related topic
    • Auto-Publish Content to 9 Social Platforms with Blotato & Airtablen8n · $24.99 · Related topic
    Browse all workflows