File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -145,10 +145,11 @@ Below are examples of how MCP-compatible clients (such as Claude Desktop or othe
145145```
146146---
147147
148- ## Integrate in MCP host config:
149- ``` json
148+ ## Integrate in MCP host config
149+ ``` python
150150@mcp.tool ()
151151async def query_connx (query : str ) -> Dict[str , Any]:
152+ ```
152153
153154# Testing
154155This project uses pytest for unit testing. Tests mock database interactions to run without a real CONNX setup.
@@ -158,16 +159,16 @@ This project uses pytest for unit testing. Tests mock database interactions to r
158159
159160Coverage includes connection handling, query/update execution, sanitization, and MCP tools/resources.
160161
161- # Integrate in MCP host config:
162- ```json
163- {
164- "mcpServers" : {
165- "connx-database-server" : {
166- "command" : " python" ,
167- "args" : [" connx_server.py" ]
168- }
169- }
162+ ## Integrate in MCP host config
163+ ``` json
164+ {
165+ "mcpServers" : {
166+ "connx-database-server" : {
167+ "command" : " python" ,
168+ "args" : [" connx_server.py" ]
170169 }
170+ }
171+ }
171172```
172173
173174## Summary
You can’t perform that action at this time.
0 commit comments