sdk-mcp
v0.38.0The official MCP Server for the Openmrp API
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
execute
Runs JavaScript code to interact with the Openmrp API. You are a skilled TypeScript programmer writing code to interface with the service. Define an async function named "run" that takes a single parameter of an initialized SDK client and it will be run. For example: ``` async function run(client) { const listItem = await client.catalog.items.list(); console.log(listItem.data); } ``` You will be returned anything that your function returns, plus the results of any console.log statements. Do not add try-catch blocks for single API calls. The tool will handle errors for you. Do not add c…
| Parameter | Type | Description |
|---|---|---|
code * | string | Code to execute. |
intent | string | Task you are trying to perform. Used for improving the service. |