Install SharePoint MCP Server in Bob Shell
What you need first
- Bob Shell, installed.
- uv, which
gives the
uvxcommand the server starts with. - Your own values for
YOUR_SHP_ID_APP,YOUR_SHP_ID_APP_SECRET,YOUR_SHP_TENANT_ID,YOUR_SHP_SITE_URL.
Steps
- Open
~/.codex/config.toml, or create it. The Codex CLI, its IDE extension and the ChatGPT desktop app share this file. - Add this table at the end of the file.
{
"mcpServers": {
"sharepoint-mcp": {
"command": "uvx",
"args": ["sharepoint-mcp==1.1.1"],
"env": { "SHP_ID_APP": "YOUR_SHP_ID_APP", "SHP_ID_APP_SECRET": "YOUR_SHP_ID_APP_SECRET", "SHP_TENANT_ID": "YOUR_SHP_TENANT_ID", "SHP_SITE_URL": "YOUR_SHP_SITE_URL" }
}
}
} - Replace
YOUR_SHP_ID_APP,YOUR_SHP_ID_APP_SECRET,YOUR_SHP_TENANT_ID,YOUR_SHP_SITE_URLwith your own values. - Save the file and restart Bob Shell.
Check it worked
Ask Bob Shell: List the tools of sharepoint-mcp.
If it does not start
- spawn uvx ENOENT
- uv is not on the PATH that Bob Shell sees. Install it, or write the
full path of
uvxin the config. - The server starts, but its tools fail
- A
YOUR_…placeholder is still in the config, or its value is wrong. - Nothing changes after a restart
- The file is not valid JSON any more. Look for a missing comma where the block was added.