Skip to content

yasanglass/openrouter-mcp-server

Repository files navigation

OpenRouter MCP Server

CI

An MCP server for OpenRouter.

Tools

  • user-chat-completion: Returns chat completion responses of given models from OpenRouter for the user message

Build

Run the command below to build the server:

./gradlew installDist

The executable files will be located in build/install/openrouter-mcp-server/bin.

Usage

{
  "mcpServers": {
    "openrouter": {
      "command": "<absolute path to the openrouter-mcp-server executable>",
      "args": [],
      "env": {
        "OPENROUTER_API_KEY": "<openrouter api key>"
      }
    }
  }
}

About

An MCP server for OpenRouter.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages