# api-bridge MCP server

> Wraps REST APIs as MCP tools with Pydantic validation and error handling for use in AI clients like Claude and Cursor.

- Repository: https://github.com/BryceEWatson/mcp-api-bridge
- Page: https://hostedmcp.org/servers/bryceewatson/mcp-api-bridge
- Transport: —
- Stars: 0
- License: MIT

## Tools (4)

- `api_list_posts`
- `api_get_post`
- `api_create_post`
- `api_update_post`

## FAQ

### How do I use this with Claude Desktop?

Add the server configuration to your claude_desktop_config.json file using the uv command to run the api-bridge script.

### Can I use my own API instead of JSONPlaceholder?

Yes, you can adapt the server for your own API by replacing the API client in the source code and registering your own tools.

### Does the server validate input before making HTTP requests?

Yes, input is validated at the protocol boundary using JSON schemas and FastMCP, rejecting bad input before any HTTP request is sent.

### What are the security features regarding request forgery?

The server prevents server-side request forgery because the base URL is hardcoded and tools only build paths from validated integer IDs.
