RIB iTWO 4.0 MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RIB iTWO 4.0 MCP ServerList all tables in the dbo schema"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RIB iTWO 4.0 MCP Server
Read-only MCP server for accessing the SQL Server database of a RIB iTWO 4.0 instance.
Tools
list_schemas– list all schemaslist_tables(schema)– tables/views of a schemasearch_tables(keyword)– search tables across all schemas by namedescribe_table(schema, table)– columns, types, nullabilityrun_query(sql)– any SELECT statement (read-only enforced)
Related MCP server: mcp-sqlserver-readonly
Setup
Install ODBC driver: Install Microsoft ODBC Driver 18 for SQL Server for Windows.
Create DB user: Create a login on the SQL Server with the
db_datareaderrole (read-only) for the iTWO database. Server-side permissions are the actual safeguard – the query filtering in the server is only an additional layer of protection.Install dependencies:
cd "C:\Users\schol\Desktop\MCP Datenbank" python -m venv .venv .venv\Scripts\Activate.ps1 pip install -e .Configuration: Copy
.env.exampleto.envand enter your credentials.Copy-Item .env.example .envTest locally:
python -m rib_itwo_mcp.server
Deployment on Coolify
The server runs as an HTTP service (transport streamable-http) so that Claude can connect remotely. The ODBC driver is bundled in the Dockerfile; a DB client does not need to be installed on the Coolify host itself.
Push the repo to Git (GitHub/GitLab etc.).
In Coolify, create a new Application from this repo, build pack: Dockerfile.
Set environment variables in Coolify (from
.env.example):DB_SERVER,DB_NAME,DB_USER,DB_PASSWORDDB_DRIVER=ODBC Driver 18 for SQL ServerDB_TRUST_SERVER_CERTIFICATE=yes(orno, if a valid certificate is available)DB_ALLOWED_SCHEMAS,DB_MAX_ROWSoptionalMCP_AUTH_TOKEN— required, a long random secret (openssl rand -hex 32), since otherwise the endpoint is openly accessible on the network
Expose port
8000or map the Coolify proxy/domain to it. The health check path is/health.Deploy. The SQL Server must be reachable from the Coolify host over the network (adjust firewall/security group if necessary, port 1433).
Add as a connector in Claude (remote/HTTP)
Once the app is reachable at e.g. https://rib-itwo-mcp.deine-domain.de:
claude mcp add --transport http rib-itwo https://rib-itwo-mcp.deine-domain.de/mcp --header "Authorization: Bearer <dein-MCP_AUTH_TOKEN>"(In the Claude Desktop/web interface, enter it accordingly as a "Custom Connector" with URL + bearer token.)
Locally as a stdio connector (alternative without Coolify)
For purely local use without HTTP, MCP_TRANSPORT=stdio can be set:
claude mcp add rib-itwo -e MCP_TRANSPORT=stdio -- "C:\Users\schol\Desktop\MCP Datenbank\.venv\Scripts\python.exe" -m rib_itwo_mcp.serverSecurity
run_queryallows only singleSELECT/WITHstatements, blocks multiple statements as well as write/administrative keywords.Additionally, the DB user itself should only have read permissions (
db_datareader), so that the protection does not rely solely on query filtering.Optionally, access can be restricted to specific schemas via
DB_ALLOWED_SCHEMAS.DB_MAX_ROWSlimits the result set per query.For HTTP deployment (Coolify),
MCP_AUTH_TOKENis the only access barrier in front of the endpoint — if no token is set, the server is open to anyone with network access. Additionally, ensure TLS via the Coolify proxy/a domain so that the token is not transmitted in plain text.
This server cannot be deployed
Maintenance
Related MCP Connectors
Paid remote MCP for governed database query review, SQL simulation, approvals, and audits.
Draxlr's remote MCP server connects AI assistants to your SQL databases and dashboards. Explore schemas, run read-only queries, manage saved queries and dashboards, and export results, all with row-level security so each user sees only their own data.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Read-only MCP server for interior design studios: projects, overviews, weekly activity. No writes.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables SQL query execution and database structure browsing via MCP tools and resources.MIT
- AlicenseNot gradedqualityDmaintenanceRead-only SQL Server MCP server enabling safe database queries, table listing, and schema inspection with built-in security protections.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying multiple SQL Server, Azure SQL, or Synapse databases through a single MCP interface, with support for read-only targets and various authentication methods.MIT
- FlicenseNot gradedqualityDmaintenanceEnables read-only SQL querying and schema inspection across MSSQL, PostgreSQL, and MySQL databases via MCP tools.-