BluestoneApps React Native Standards MCP server

Provides access to BluestoneApps React Native coding standards and examples via FastAPI, enabling developers to retrieve development guidelines and implementation patterns through HTTP endpoints.
Back to servers
Provider
BluestoneApps
Release date
Mar 07, 2025
Language
Python
Stats
1 star

The MCP Remote Server (Node.js) provides access to React Native coding standards and code examples through the Model Context Protocol. It serves as a reference for developers using MCP clients like Windsurf IDE, offering coding standards and example implementations for components, hooks, screens, services, and themes.

Installation

To install the MCP Remote Server:

  1. Clone the repository from GitHub
  2. Install the required dependencies:
    npm install
    
  3. Build the project:
    npm run build
    

Starting the Server

To start the MCP server:

npm start

Connecting with MCP Clients

Windsurf IDE Configuration

To configure Windsurf IDE to connect to this server, update the mcp_config.json file with:

{
  "servers": {
    "bluestoneapps": {
      "command": "node",
      "args": ["/path/to/build/index.js"],
      "description": "BluestoneApps Coding Standards and Examples",
      "displayName": "BluestoneApps MCP Server",
      "timeout": 30000
    }
  }
}

Make sure to replace /path/to/build/index.js with the actual path to the built server.

Available Tools

The MCP server provides access to the following tools:

Coding Standards

  • get_project_structure: Retrieve project structure standards
  • get_api_communication: Retrieve API communication standards
  • get_component_design: Retrieve component design standards
  • get_state_management: Retrieve state management standards

Code Examples

  • get_component_example: Get a specific component example
  • get_hook_example: Get a specific hook example
  • get_service_example: Get a specific service example
  • get_screen_example: Get a specific screen example
  • get_theme_example: Get a specific theme example

Utility Functions

  • list_available_examples: List all available code examples

The server includes fuzzy matching capabilities for finding examples by name, making it easier to locate the code examples you need.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later