MCP Server and AI Chat application for ReportServer

MCP Server and AI Chat application for ReportServer

rs-mcp-agent•bydiplinfmarkodrews

A .NET 9 solution combining an AI chat application with a Model Context Protocol server that provides backend integration with the ReportServer BI platform.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes ReportServer backend operations to AI agents through an RPC client using direct Java RPC communication and GWT protocol support with session management.
  • •Supports HTTP & SSE transport protocols and integrates tools for AI agent functionality, including terminal operations for ReportServer CLI.
  • •Combines frontend Playwright browser automation with backend RPC via the MCP server to enable hybrid AI workflows.

BEST FOR

  • •Automating bulk operations and system configuration on ReportServer through AI agents.
  • •Building AI chat interfaces that integrate with legacy enterprise BI software.
  • •Combining visual UI automation with backend API access for comprehensive ReportServer automation.

ABOUT RS-MCP-AGENT

MCP Server and AI Chat application for ReportServer is cataloged as an MCP server attributed to diplinfmarkodrews. A .NET 9 solution combining an AI chat application with a Model Context Protocol server that provides backend integration with the ReportServer BI platform. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Server and AI Chat application for ReportServer are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transport protocols does the MCP server support?

It supports HTTP and SSE transport protocols.

How does the chat app integrate with legacy ReportServer software?

It uses a Playwright browser tool for frontend visual UI automation while the MCP server provides backend RPC integration, and agents can combine both approaches.

Upstream README

View this exact version on GitHub

README.md · 13941c5c063f · Fetched 2026-11-13 13:41:49 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP Server and AI Chat application for ReportServer

--Experimental--

An AI Chat application plus a sophisticated Model Context Protocol (MCP) Server for enterprise ReportServer (Java-based BI platform). Built on .NET 9, the solution leverages Microsoft’s latest AI application development stack — Microsoft.Extensions.AI (Extensions.AI) and Semantic Kernel — to deliver tool-based automation, semantic search (RAG), and end-to-end integration across ReportServer’s UI and backend.

🏗️ Architecture Overview

RSChatApp Architecture

📖 Architecture Description

The RSChatApp operates as a browser-based workspace that provides an intelligent chat interface powered by AI and enhanced with semantic search capabilities and Mcp server for front and backend functionalities of the Reportserver:

🌐 Browser-Based Workspace (RSChatApp.Web)

RSChatApp example

  • Session Management: Currently maintains conversation context in browser memory & cache for immediate responsiveness
  • Interactive Chat Interface: Real-time Blazor UI for seamless user interaction with AI models
  • Future Evolution: Plans for persistent sessions with topic-based conversation history and cross-session context retention

🧠 Knowledge Base Integration The system ingests diverse content types into Qdrant vector database for intelligent retrieval:

  • 📚 Documentation: PDFs, Markdown files, API documentation, and user manuals
  • 🔧 Groovy Scripts: Build scripts, automation scripts, and custom .groovy files
  • 💻 Terminal Commands: CLI usage examples, command syntax references, and shell scripts

🤖 Multi-Provider AI Intelligence

  • Flexible LLM Provider Layer: Support for multiple AI providers, in future with intelligent routing and fallback

  • Ollama: Local deployment for privacy-sensitive workloads and offline operation

  • Anthropic Claude: High-quality reasoning and code analysis with Claude-3.5 Sonnet

  • OpenAI GPT: Versatile models including GPT-4o and o1-mini for different use cases

  • Azure OpenAI: Enterprise-grade hosted OpenAI models with additional security

  • Ollama/Qdrant: Powerful local embedding Model, provides vector search, embeddings, and semantic RAG capabilities for context-aware responses

🤖 AI Chat Application with Legacy Software Integration (RSChatApp.Web) The chat application provides an innovative AI interface for legacy software integration:

  • 🌐 Frontend Integration via Playwright Browser Tool:
    • Visual UI Automation: AI-powered browser automation for legacy applications like ReportServer
    • Screenshot Analysis: AI can capture and analyze visual interfaces to understand application state
    • User Workflow Simulation: Automate complex user interactions through natural language commands
    • Cross-Browser Compatibility: Support for Chrome, MS Edge, Firefox, and WebKit browsers
    • Element Inspection: AI can identify and interact with web elements dynamically

🔧 MCP Server Backend Integration (RsMcpServer.Web) The MCP server provides backend integration capabilities for ReportServer:

  • ⚙️ Backend Integration (RPC Client):

    • Direct Java RPC Communication: Low-level API access for programmatic operations
    • GWT Protocol Support: Native communication with ReportServer's GWT backend
    • Session Management: Efficient authentication and session handling
    • High-Performance Operations: Bulk data operations, direct script execution and system administration
  • 🔄 Dual Integration Strategy: AI agents can leverage both frontend and backend approaches:

    • Frontend Tasks: Use Playwright in the chat app for visual verification and user workflow testing
    • Backend Tasks: Use RPC via MCP server for bulk operations and system configuration
    • Hybrid Workflows: Combine both approaches for comprehensive automation scenarios

🔐 Dual Authentication Support The system supports both modern and legacy authentication methods:

  • 🆕 Modern Keycloak OIDC: Enterprise-grade authentication with SSO, JWT tokens, and role management - (not working yet)
  • 🔧 Legacy ReportServer Authentication: Direct username/password authentication with GWT RPC session bridging
  • 🔄 Flexible Authentication Mode: User can authenticate using the most appropriate method based on deployment configuration

🚀 Key Features

Enterprise Authentication & Security

  • ✅ Dual Authentication Support: Both modern Keycloak OIDC and legacy ReportServer authentication
  • ✅ Centralized Keycloak OIDC Authentication with PKCE support
  • ✅ Legacy GWT RPC Authentication for existing ReportServer deployments
  • ✅ Seamless ReportServer Integration through session bridging
  • ✅ JWT Token Management with automatic refresh
  • ✅ Cross-System Session Synchronization
  • ✅ Role-Based Access Control (RBAC)

Multi-Provider AI Chat Interface

  • ✅ Modern Blazor Web UI with real-time chat capabilities
  • ✅ Multiple LLM Provider Support:
    • Ollama Integration for local LLM inference (Mistral, Llama, Qwen)
    • Anthropic Claude for advanced reasoning (Claude-3.5 Sonnet, Claude-3, Haiku)
    • OpenAI GPT for versatile AI capabilities (GPT-4o, GPT-4, o1-mini)
    • Azure OpenAI for enterprise-grade hosted models
  • ✅ Qdrant Vector Database for semantic search and RAG
  • ✅ Document Ingestion Pipeline with PDF support
  • ✅ Semantic Search across ingested documents

AI-Powered Legacy Software Integration

  • ✅ Frontend Integration via Chat App Playwright Tool:
    • Visual UI Automation integrated directly into the AI chat interface
    • Natural Language Interface for legacy application interaction
    • Screenshot Analysis and visual feedback within chat
    • Cross-Browser Support (Chromium, Firefox, WebKit)
    • Element Inspection and dynamic interaction capabilities
  • ✅ Backend Integration via MCP Server RPC Client:
    • Direct Java RPC Communication for programmatic operations
    • GWT Protocol Support for native ReportServer API access
    • High-Performance Bulk Operations and system administration
    • Session Management with authentication bridging
  • ✅ Hybrid AI Workflows combining both approaches for comprehensive automation

MCP Server Integration

  • ✅ Microsoft Extensions AI Framework for MCP protocol
  • ✅ Direct ReportServer RPC Client for Java interoperability
  • ✅ Playwright Browser Automation for UI testing and interaction
  • ✅ Tool Integration for AI agent functionality
  • ✅ Terminal Operations support for ReportServer CLI
  • ✅ HTTP & SSE Transport protocols

Cloud-Native Deployment

  • ✅ .NET Aspire Orchestration for microservices
  • ✅ Docker Containerization with persistent volumes
  • ✅ Health Checks & Monitoring with OpenTelemetry
  • ✅ Service Discovery and load balancing
  • ✅ Configuration Management with environment-specific settings

🚀 Quick Start

Start the entire application stack with one command:

# Navigate to the Aspire host directory
cd src/RSChatApp.AppHost/RSChatApp.AppHost

# Start all services (Ollama with auto-downloaded models, Qdrant, MCP Server, Web App)
dotnet run

💡 Windows Users Note: If you're using Windows with Docker Desktop, you may need to set up a PowerShell alias for Docker Compose. The Aspire orchestration API uses the legacy docker-compose syntax. Run this command in PowerShell as Administrator:

Set-Alias -Name docker-compose -Value 'docker compose'

This will automatically:

  • ✅ Start Ollama in Docker with GPU support (if available) as the default local LLM provider
  • ✅ Pull and configure required AI models automatically (configurable in appsettings.json)
  • ✅ Set up multiple LLM provider support (configure Anthropic, OpenAI, Azure OpenAI in appsettings.json)
  • ✅ Start Qdrant vector database in Docker with persistent storage
  • ✅ Launch the MCP Server with authentication
  • ✅ Start the Blazor Web Application with intelligent LLM provider selection
  • ✅ Open the Aspire Dashboard for monitoring

Access Points:

  • 📱 Chat Application: http://localhost:5123 (or as shown in Aspire dashboard)
  • 🔧 Aspire Dashboard: http://localhost:15986 (or as shown on console)
  • 🤖 MCP Server API: http://localhost:5002
  • 📊 Qdrant Dashboard: http://localhost:6333/dashboard

Note: The first run may take a few minutes as Docker images are downloaded and AI models are pulled automatically. To use commercial LLM providers (Anthropic, OpenAI, Azure), configure your API keys as Env variables and configure its name in appsettings.json file.

Core Components

🚀 AI ChatApp & MCP Server with ReportServer Integration

  • RsMcpServerSDK.Web/: Modern MCP server using Microsoft Extensions AI framework
  • RSChatApp.Web/: Interactive Blazor web client with chat UI
  • ReportServerRPCClient/: Direct RPC client for Java ReportServer integration
  • RSChatApp.AppHost/: .NET Aspire orchestration for cloud-native deployment

Key Features

  • ✅ Uses official Microsoft Extensions AI, Playwright SDKs
  • ✅ Full .NET 9.0 integration with Aspire orchestration
  • ✅ Direct ReportServer RPC integration
  • ✅ Comprehensive logging and error handling

Project Structure

Modern MCP Server Implementation with .NET Aspire

  • RSChatApp.AppHost/: .NET Aspire app host that orchestrates all components

    • Program.cs: Configures and links Ollama, Qdrant, MCP Server, and Web App
    • appsettings.json: Configuration settings
  • RsMcpServerSDK.Web/: Modern MCP server implementation

    • Program.cs: Entry point with Microsoft.Extensions.AI MCP server configuration
    • Services/McpReportServer.cs: MCP server with decorated functions
    • Models/: Data models for MCP responses
  • RSChatApp.Web/: Interactive chat web application

    • Program.cs: Web app configuration with AI client setup
    • Components/: Blazor UI components
    • Services/: AI chat services, vector search, and data ingestion
  • ReportServerRPCClient/: Direct RPC client for Java ReportServer

    • Services/: Implementation of RPC client
    • DTOs/: Data transfer objects for RPC communication
  • ReportServer.Abstraction/: Interface definitions for Report Server communication

    • IReportServerClient.cs: Main interface for communicating with ReportServer
    • Contracts/: Data contracts for the ReportServer API

Prerequisites

  • ReportServer
  • .NET 9.0 SDK or later
  • Docker Desktop (for all containerized services)
  • Playwright (install with provided scripts)
  • (Optional) Keycloak 22+ (for authentication - can be run via Docker)

Note: Ollama, Qdrant, and AI models are automatically managed by the .NET Aspire AppHost via Docker containers - no manual installation required!

Getting Started

Starting the Application with Aspire

  1. Ensure you have Docker running on your system

  2. Navigate to the RSChatApp.AppHost directory:

cd src/RSChatApp.AppHost/RSChatApp.AppHost
  1. Run the application:
dotnet run

This will start all required services in the correct order:

  • Ollama (with specified models)
  • Qdrant vector database
  • RsMcpServerSDK.Web MCP server
  • RSChatApp.Web Blazor web application
  1. Open the Aspire dashboard at the provided URL (typically http://localhost:15986) to monitor all services

  2. Access the chat web interface at the URL shown in the dashboard (typically http://localhost:5123)

⚙️ Configuration

Its important to set Reportserver url in AI Chatapp and RsMcpServer. The LLM provider in RSChatApp.Web needs to be configured or if you want to use a local LLM. Wheter you want to use local or a providers model, provide only the model you want to use

RSChatApp.AppHost Configuration

Configures infrastructure, mainly ollama warning: if ollama doesnt support your GPU, it will crash the apphost Configure the ollama hosted models here

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning"
    }
  },
  "Ollama": {
    "Gpu": true,    
    "Model": "",
    "EmbeddingModel": "snowflake-arctic-embed2:latest"
  }
}



RSChatApp.Web Configuration

Prompts (System + Suggestions)

The chat app loads prompts from plain text/Markdown files (so prompts can be multi-line and nicely formatted without JSON escaping).

Startup behavior:

  • A hosted startup validator checks that both prompts exist and are non-empty.
  • If a required prompt is missing/empty, the app logs a critical message and fails fast.

Reload behavior:

  • Prompts are cached in memory.
  • When a .md file changes, prompts are automatically reloaded.

Customization notes:

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning",
      "Microsoft.Extensions.AI": "Information",        
    }
  },
  "DetailedErrors": true,
  "OpenAISettings": {   // LLM connection settings, any provider can be used
    "Model": "claude-3-7-sonnet-20250219",
    "Url": "https://api.anthropic.com/v1/",
    "ApiKey": "ANTHROPIC_KEY" // this is the name of env variable, which holds API key
    // Store your providers API Key in a local Env variable and insert its name here!!
  },
  "OpenAIPromptExecutionSettings": { // LLM Prompt execution setting
    "MaxTokens": 4096,
    "Temperature": 0.7,
    "TopP": 1.0,
    "FrequencyPenalty": 0.0,
    "PresencePenalty": 0.0,
    "AllowMultipleToolCalls": true
  },
  "ReportServer": {   // Url for reportserver
    "Url": "http://localhost:8080/reportserver",
    "SessionTimeout": "01:00:00",
    "CookieDomain": "localhost",
    "EnableSessionBridge": false
  },
  "RsMcpServer": {      // Url of RsMcpServer, will be filled by aspire
    "Url": "http://localhost:5002"
  },
  "McpClientSettings": { // disabled for now, can be used to integrate various Mcp Servers
    "Clients": [
    ]
  },
  "AllowedCorsOrigins": [
    "http://localhost:5008",
    "https://localhost:5008",
    "http://localhost:8090",
    "https://reportserver.net"
  ],
  "Keycloak": { // can be ignored for now
    "Authority": "http://localhost:8090/realms/reportserver",
    "ClientId": "rs-chat-app",
    "ClientSecret": "",
    "Realm": "reportserver",
    "Scopes": [
      "openid",
      "profile",
      "email",
      "roles",
      "offline_access"
    ],
    "RequireHttpsMetadata": false,
    "TokenRefreshThreshold": "00:05:00",
    "UsePkce": true,
    "UsePar": false
  }
}

RsMcpServer.Web Configuration

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information",
      "RSChatApp.ServiceDefaults.Authentication": "Information"
    }
  },
  "Keycloak": {
    "Authority": "http://localhost:8081/realms/reportserver",
    "Audience": "",
    "RequireHttpsMetadata": false
  },
  "ReportServer": {
    "Url": "http://localhost:8080/reportserver/"
  }
}

Keycloak:Authority is the realm URL used to validate JWT bearer tokens; Audience is optional (empty = audience is not validated); RequireHttpsMetadata must be false for plain-http Keycloak. Legacy ReportServer sessions (Bearer GUID from /api/auth/v1/login or cookie) need no Keycloak settings.

Configuration Parameters Explained

Keycloak Settings:

  • Authority: Keycloak realm URL
  • ClientId: Client identifier in Keycloak
  • ClientSecret: Client secret (get from Keycloak admin console)
  • Realm: Keycloak realm name
  • Scopes: OpenID Connect scopes to request
  • RequireHttpsMetadata: Set to false for development, true for production
  • TokenRefreshThreshold: Time before token expiry to refresh

ReportServer Settings:

  • Url: ReportServer base URL
  • SessionTimeout: Session timeout duration
  • CookieDomain: Domain for session cookies
  • EnableSessionBridge: Enable session bridging between Keycloak and ReportServer

Ollama Settings:

  • Url: Ollama server URL, coan be configured, but uses its own instance
  • Model: Chat completion model (e.g., "mistral-nemo:12b", "llama3.2:3b")
  • EmbeddingModel: Text embedding model
  • Enabled: Whether this provider is available

OpenAI Settings:

  • Url: Url of LLM provider
  • ApiKey: Name of env variable holdings providers ApiKey
  • Model: GPT model variant ("gpt-4o", "gpt-4", "o1-mini")

Qdrant Settings:

  • Url: Qdrant vector database URL

Environment-Specific Configuration

Development Environment:

{
  "Keycloak": {
    "RequireHttpsMetadata": false,
    "Authority": "http://localhost:8080/realms/reportserver"
  },
  "ReportServer": {
    "Url": "http://localhost:8081"
  }
}

6. Start Chat Application

cd src/RSChatApp.Web/RSChatApp.Web
dotnet run

Note: Manual setup requires you to configure all the networking and dependencies yourself. The Aspire approach handles all of this automatically with proper service discovery and health checks.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Server and AI Chat application for ReportServer from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/rs-mcp-agent)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools