ものしりAI
Getting Started

Connect Claude, Gemini, and Codex to Monoshiri AI -- MCP Integration Guide [2026 Edition]

April 20, 2026Monoshiri AI Editorial

Connect Claude, Gemini, and Codex to Monoshiri AI -- MCP Integration Guide

Wouldn't it be great if you could ask questions about your company's internal knowledge directly from the AI tools you already use?

Monoshiri AI supports MCP (Model Context Protocol), allowing you to connect directly to Monoshiri AI's knowledge base from any MCP-compatible AI client -- including Claude Desktop, Claude.ai, Gemini CLI, Codex, Dify, and Cursor.

This guide walks you through how to connect each tool to Monoshiri AI.


What You'll Learn

  • What MCP (Model Context Protocol) is
  • The four MCP tools provided by Monoshiri AI
  • How to connect from Claude Desktop / Claude.ai / Claude Code / Gemini CLI / Codex / Dify / Cursor
  • Security and access control

What Is MCP?

MCP (Model Context Protocol) is an open standard protocol that allows AI assistants to connect to external data sources and tools. Proposed by Anthropic, MCP is now supported by major AI tools including Claude, Gemini CLI, and Codex as of 2026.

With MCP, you can simply ask something like "Look up our PTO policy" in your regular AI chat, and it will retrieve the relevant information from Monoshiri AI's knowledge base to generate an answer. No need to switch between AI tools -- your workflow stays uninterrupted.


Four MCP Tools Provided by Monoshiri AI

Monoshiri AI's MCP server provides the following four tools (operations):

Tool Name What It Does
list_folders Retrieve a list of folders you have access to
list_documents Retrieve a list of documents in a specified folder
search Search across your knowledge base using natural language (vector search)
get_document Retrieve detailed information and content of a document

The search tool is the most important one. When you submit a natural language query like "How do I submit an expense report?", it performs a vector search (semantic search) across your uploaded documents and generates an AI-powered answer from the relevant results.


Prerequisites

  • You have a Monoshiri AI account
  • Your team admin has enabled the MCP integration
  • MCP connections are read-only (mcp:read scope). You cannot add or delete documents through MCP

Connection Setup

The Monoshiri AI MCP server URL is:

https://api.monoshiri.ai/mcp

Authentication is done via OAuth 2.1 (recommended) or API key. When you connect using OAuth from any client, your browser will open to the Monoshiri AI login screen -- simply authorize the connection and you're all set.


1. Claude Desktop (Anthropic)

Claude Desktop is Anthropic's desktop application.

Setup steps:

  1. Open the following config file (create it if it doesn't exist):

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the following:

{
  "mcpServers": {
    "monoshiri": {
      "url": "https://api.monoshiri.ai/mcp",
      "transport": "streamable-http"
    }
  }
}
  1. Restart Claude Desktop. Your browser will automatically open to the Monoshiri AI OAuth authorization screen
  2. Click "Allow" to complete the connection

Once connected, simply ask Claude something like "Tell me about our company's [topic]" and it will generate answers from Monoshiri AI's knowledge base.


2. Claude.ai (Web)

You can also connect from the web version of Claude.ai as a custom connector.

Setup steps:

  1. Log in to Claude.ai
  2. Go to Settings > Connectors > Add custom connector
  3. Enter https://api.monoshiri.ai/mcp as the Server URL
  4. Click Connect -- the OAuth authorization screen will open
  5. Click "Allow" to complete the connection

Since everything runs in the browser, no app installation is required.


3. Claude Code (CLI)

Claude Code is a terminal-based AI coding agent.

Setup steps:

Add the following to your Claude Code config file (~/.claude/settings.json or .claude/settings.json in your project root):

{
  "mcpServers": {
    "monoshiri": {
      "url": "https://api.monoshiri.ai/mcp",
      "transport": "streamable-http"
    }
  }
}

Or add it directly from the CLI:

claude mcp add monoshiri --transport streamable-http --url https://api.monoshiri.ai/mcp

During development, you can ask questions like "Check the spec for this feature" or "Search for past incident reports" directly from your terminal.


4. Gemini CLI (Google)

Gemini CLI is Google's terminal-based AI agent, which supports MCP servers.

Setup steps:

Add the following to your Gemini CLI config file (~/.gemini/settings.json):

{
  "mcpServers": {
    "monoshiri": {
      "url": "https://api.monoshiri.ai/mcp",
      "transport": "streamable-http"
    }
  }
}

Reference: Gemini CLI MCP documentation


5. Codex CLI (OpenAI)

Codex CLI is OpenAI's terminal-based AI agent. It supports MCP and can connect to Streamable HTTP servers.

Setup steps:

Add it from the CLI:

codex mcp add monoshiri --transport streamable-http --url https://api.monoshiri.ai/mcp

Or add it to your config file (~/.codex/config.toml or .codex/config.toml in your project root):

[mcp_servers.monoshiri]
type = "url"
url = "https://api.monoshiri.ai/mcp"
transport = "streamable-http"

Reference: Codex MCP documentation


6. Dify

Dify is an open-source AI application development platform. It natively supports MCP since v1.6.0, allowing you to use MCP servers as tools.

Setup steps:

  1. In the Dify dashboard, go to Tools > MCP
  2. Click Add Server
  3. Enter https://api.monoshiri.ai/mcp as the Server URL
  4. Configure authentication (use an API key)
  5. Once saved, Monoshiri AI's search tools will be available in your Dify workflows and agents

By connecting Monoshiri AI through Dify, you can build custom AI agents powered by your internal knowledge -- all without writing code.


7. Cursor (IDE)

Cursor is an AI-powered code editor that supports MCP servers.

Setup steps:

Create .cursor/mcp.json in your project root, or add the following to your user-level config at ~/.cursor/mcp.json:

{
  "mcpServers": {
    "monoshiri": {
      "url": "https://api.monoshiri.ai/mcp",
      "transport": "streamable-http"
    }
  }
}

While coding in Cursor, you can ask questions like "Check the requirements in this spec document" or "Search our internal API design guidelines" directly within the editor.


Verifying Your Connection: MCP Inspector

If your connection isn't working, you can troubleshoot using MCP Inspector.

npx @modelcontextprotocol/inspector

After launching:

  1. Transport: Select "Streamable HTTP"
  2. URL: Enter https://api.monoshiri.ai/mcp
  3. Click the Connect button to start the OAuth flow

Once connected successfully, you'll see the four tools: list_folders, list_documents, search, and get_document.


Security and Access Control

Authentication

Method Use Case Expiration
OAuth 2.1 (recommended) Claude Desktop / Claude.ai / Cursor, etc. Access token: 15 min, Refresh token: up to 60 days
API Key CI/scripts / Dify, etc. Valid until revoked by an admin

Access Scope

  • MCP is read-only (mcp:read scope)
  • Only folders the user has access to are included in search results
  • Folder-level access controls remain enforced through MCP
  • You cannot add, delete, or modify documents via MCP

Admin Controls

  • Team admins can enable or disable the MCP integration at any time
  • Disabling it immediately terminates all member MCP connections
  • Only admins can issue or revoke API keys

Use Cases

Scenario How to Use
Check specs during development Ask Claude Code / Cursor / Codex: "Check the spec for this feature"
Look up info during meetings Ask Claude.ai: "What was decided in the last meeting notes?"
Build custom AI agents Create a Dify workflow that incorporates Monoshiri AI search
Everyday work questions Ask Claude Desktop: "How do I submit an expense report?"
Code review Ask Cursor: "Does this code follow our internal coding guidelines?"

Summary

With Monoshiri AI's MCP integration, you can ask questions about your internal knowledge directly from the AI tools you already use.

  • Claude Desktop / Claude.ai / Claude Code: Just add three lines to a JSON config file to connect
  • Gemini CLI: Connect from Google's terminal-based AI
  • Codex CLI: Connect from OpenAI's coding agent
  • Dify: Build custom AI agents without writing code
  • Cursor: Look up specs while coding in an AI-powered editor
  • Security: OAuth 2.1 compliant, read-only access, folder-level access control

Access your internal knowledge without ever leaving your current workflow. That's the real value of MCP integration.

You can also find MCP connection instructions on the account settings page in the Monoshiri AI dashboard.

Related Articles

Try Monoshiri AI for free

Just upload your documents and start asking AI. Try our free plan with unlimited users.

Get Started Free

No credit card required / Start in 1 minute

More in This Category

Getting Started