# python-mcp-as400 MCP server

> Connects AI assistants to IBM i (AS/400) systems to query Db2, read source code, compile programs, and analyze spooled files securely.

- Repository: https://github.com/LorenteFacundo/python-mcp-as400
- Page: https://hostedmcp.org/servers/lorentefacundo/python-mcp-as400
- Transport: —
- Stars: 2
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DB_HOST` | no | no |  |
| `DB_PASS` | no | no |  |
| `DB_USER` | no | no |  |

## Tools (5)

- `execute_sql`
- `execute_cl_command`
- `read_source_member`
- `compile_program`
- `read_spoolfile`

## FAQ

### Can the AI assistant modify data in my IBM i system?

No, the server is designed for analysis and compilation only. It uses read-only SQL and a strict allow-list for CL commands to prevent data destruction.
