MCP -for-MAS-Developments
MCP Server including Clients and Agents
claude mcp add --transport stdio fujitsu-ai-mcp-server-for-mas-developments node API-Server-with-TCP-Support/server.js \ --env TLS_ENABLED="true" \ --env PGPT_API_KEY="your-pgpt-api-key" \ --env PGPT_API_URL="https://api.pgpt.example"
How to use
This MCP server suite provides three specialized gateways to access the PGPT API in different environments. The API-Server-with-TCP-Support acts as a legacy-friendly gateway, exposing TCP-based access for applications that rely on socket communication. The MCP-Server-with-STDIO-Support enables ultra-fast, local integration via standard input/output, ideal for direct workspace integrations with tools like Claude Desktop, VS Code, or IDE plugins. The MCP-Server-with-Streamable-HTTP-Support uses Server-Sent Events (SSE) over HTTP to support remote and web-based dashboards, with built-in Stream-Fix and Auto-Session-Recovery for unstable networks. Each server provides access to the full PGPT API surface (Chat, RAG sources, scenarios, and user management) and is configurable via pgpt.env.json. To start using a particular server, run its entrypoint (server.js) in the corresponding directory, ensuring you have a valid PGPT API key and a configured pgpt.env.json in place. TLS and RSA-based key management are supported for secure communications, and the STDIO server can operate without opening network ports for added local security.
How to install
Prerequisites:
- Node.js 20+ and npm/yarn installed
- Git installed
- Access to a PGPT Instance (version 1.5 for STDIO and SSE servers)
Installation steps:
-
Clone the repository git clone https://github.com/Fujitsu-AI/MCP-Server-for-MAS-Developments.git cd MCP-Server-for-MAS-Developments
-
Install dependencies for all server variants (example via npm in each directory) cd API-Server-with-TCP-Support npm install cd ../MCP-Server-with-STDIO-Support npm install cd ../MCP-Server-with-Streamable-HTTP-Support npm install
-
Prepare configuration
- Create pgpt.env.json in the directory of the server you plan to run, containing your PGPT credentials and any required options.
- Ensure TLS and key files are in place if you plan to enable TLS.
-
Run a server
- For the TCP API gateway: node API-Server-with-TCP-Support/server.js
- For the STDIO local integration gateway: node MCP-Server-with-STDIO-Support/server.js
- For the SSE web gateway: node MCP-Server-with-Streamable-HTTP-Support/server.js
Optional: If a setup script is provided, you can use it to install and configure the server ./Install-MPC-Server.sh
Additional notes
Environment and configuration tips:
- Keep pgpt.env.json updated to reflect your PGPT credentials and API endpoints.
- For STDIO and SSE servers, a running PGPT Instance Version 1.5 is required for full API compatibility.
- TLS can be enabled to protect data in transit; configure TLS certificates and set TLS_ENABLED to true.
- RSA-based password encryption is supported for secure authentication; ensure you have id_rsa_public.pem and id_rsa keys configured.
- If you encounter network instability, prefer the STDIO server for local workflows or the SSE server with Stream-Fix and Auto-Session-Recovery features for remote usage.
- When using the TCP gateway, verify firewall rules allow the desired port ranges and consider TLS termination at a reverse proxy if exposed publicly.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.