MCP ExplorerExplorer

Matrix Mcp Server

@mjknowleson a month ago
1 MIT
FreeCommunity
AI Systems
matrix-mcp-server is a TypeScript MCP server for interacting with Matrix homeservers.

Overview

What is Matrix Mcp Server

matrix-mcp-server is an MCP server developed in TypeScript that facilitates interaction with a Matrix homeserver, enabling functionalities such as connecting to a Matrix server, listing joined rooms, and fetching room messages.

Use cases

Use cases include developing chatbots, integrating Matrix functionalities into existing applications, and creating tools for managing Matrix rooms and messages.

How to use

To use matrix-mcp-server, clone the repository, install the dependencies using npm, build the server, and run it in development mode. Ensure you have an access token via the connect-matrix tool for testing.

Key features

Key features include seamless connection to Matrix servers, the ability to list joined rooms, fetch messages from rooms, and additional configuration options available in the source code.

Where to use

matrix-mcp-server can be used in various fields such as software development, chat applications, and any environment that requires interaction with Matrix homeservers.

Content

matrix-mcp-server

Overview

matrix-mcp is an MCP server implemented in TypeScript that provides tools for interacting with a Matrix homeserver. It includes features such as connecting to a Matrix server, listing joined rooms, fetching room messages, and more.

Prerequisites

  • Node.js 20 or higher
  • npm (Node package manager)

Setup Instructions

  1. Clone the Repository

    git clone <repository-url>
    cd matrix-mcp-server
    
  2. Install Dependencies

    npm install
    
  3. Build the Server

    npm run build
    
  4. Test the Server

Run Inspector to test the server. Make sure you get an access token via the connect-matrix tool first.

npm run dev
npx @modelcontextprotocol/inspector

Add to VSCode

In mcp.json:

{
  "servers": {
    "matrix-mcp": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

Notes

  • This project is for development purposes. For production use, ensure proper session management and security measures are implemented.
  • Refer to the src/server.ts file for additional configuration options.

License

This project is licensed under the MIT License.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers