CoreLayer Docs
Getting Started

Connect Your First MCP Server

Connect your first MCP (Model Context Protocol) server to CoreLayer.

The Model Context Protocol (MCP) is how CoreLayer connects to external tools and data sources. This guide walks you through connecting your first MCP server.

What is MCP?

MCP is an open protocol that lets AI applications connect to external tools and data sources through a standardized interface. An MCP server exposes tools that Jarvis can discover and call.

Adding an MCP Server

Via the Control Center

  1. Open Settings → MCP
  2. Click Add Server
  3. Enter the server configuration:
{
  "name": "my-server",
  "command": "npx",
  "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/workspace"]
}

Via the Config File

Add to your CoreLayer config:

{
  "mcp": {
    "servers": [
      {
        "name": "filesystem",
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/workspace"]
      }
    ]
  }
}
ServerPurposeCommand
@modelcontextprotocol/server-filesystemFile system accessnpx -y @modelcontextprotocol/server-filesystem /path
@modelcontextprotocol/server-githubGitHub APInpx -y @modelcontextprotocol/server-github
@modelcontextprotocol/server-brave-searchWeb searchnpx -y @modelcontextprotocol/server-brave-search
@modelcontextprotocol/server-memoryKnowledge graphnpx -y @modelcontextprotocol/server-memory

Verifying the Connection

After adding a server:

  1. Go to Control Center → MCP to see connected servers
  2. Check that the server status shows Connected
  3. Try a command that uses the server's tools
Read the README.md file in my workspace

If the MCP server is connected, Jarvis will use the filesystem tool to read the file.

Troubleshooting MCP

Server won't connect:

  • Check that the command and args are correct
  • Verify the server package is installed (npx -y auto-installs)
  • Check the daemon logs for connection errors

Tools not appearing:

  • Some servers require authentication — check the server's documentation
  • Restart the MCP connection from the Control Center

Permission denied:

  • The Permission Guard may block certain tool calls — check the approval queue
  • See Permissions for details

Next Steps

On this page